refactor: move events and service locator into core project
This commit is contained in:
15
L2BotCore/Domain/DTO/ChatMessageData.h
Normal file
15
L2BotCore/Domain/DTO/ChatMessageData.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace L2Bot::Domain::DTO
|
||||
{
|
||||
struct ChatMessageData
|
||||
{
|
||||
const uint32_t objectId = 0;
|
||||
const uint8_t channel = 0;
|
||||
const std::wstring name = L"";
|
||||
const std::wstring text = L"";
|
||||
};
|
||||
}
|
18
L2BotCore/Domain/DTO/ItemData.h
Normal file
18
L2BotCore/Domain/DTO/ItemData.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace L2Bot::Domain::DTO
|
||||
{
|
||||
struct ItemData
|
||||
{
|
||||
const uint32_t objectId = 0;
|
||||
const uint32_t itemId = 0;
|
||||
const uint32_t amount = 0;
|
||||
const uint16_t isEquipped = 0;
|
||||
const uint16_t enchantLevel = 0;
|
||||
const int32_t mana = -1;
|
||||
const bool isQuest = false;
|
||||
const bool isTwoHanded = false;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user