feat: add autouse of items

This commit is contained in:
k0t9i
2023-01-25 00:17:35 +04:00
parent 4cfb986ce0
commit a2bcb25f0e
8 changed files with 100 additions and 2 deletions

View File

@@ -14,6 +14,10 @@ namespace L2Bot::Domain::Entities
{
return m_ObjectId;
}
const uint32_t GetItemId() const
{
return m_ItemId;
}
virtual void Update(const EntityInterface* other) override
{
const BaseItem* casted = static_cast<const BaseItem*>(other);