33 static const uint16_t _messages[] = {
53 int id = (x << 16) | y;
ActorSpriteManager * actorSpriteManager
FloorItem * findItem(int id) const
Returns a specific FloorItem, by id.
void destroyActor(ActorSprite *actor)
Immediately destroys the given actor.
FloorItem * createItem(int id, int itemId, const Vector &position)
Create a FloorItem and add it to the list of ActorSprites.
An item lying on the floor.
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