38 static const Uint16 _messages[] = {
54 int npcId = being->
getId();
70 dialog->addItem(itemId, amount, value);
87 dialog->addItem(
new Item(itemId, amount,
false), value);
ActorSpriteManager * actorSpriteManager
Being * findBeing(int id) const
Returns a specific Being, by id;.
Type getType() const final
Returns the type of the ActorSprite.
Represents one or more instances of a certain item type.
void handleMessage(MessageIn &msg) override
Used for parsing an incoming message from manaserv.
uint16_t readInt16()
Reads an unsigned 16-bit integer from the message.
unsigned int getUnreadLength() const
Returns the length of unread data.
uint16_t getId() const
Returns the message ID.
const uint16_t * handledMessages
int getAttribute(int id)
Returns the value of the given attribute.