refactor: move events and service locator into core project

This commit is contained in:
k0t9i
2023-10-17 14:16:58 +04:00
parent 9836ef3a17
commit 03e61a9b9a
55 changed files with 825 additions and 760 deletions

View 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"";
};
}

View 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;
};
}