35 static const uint16_t _messages[] = {
64 map->getTileCenter(x, 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.
The main class responsible for running the game.
Map * getCurrentMap()
Returns the currently active map.
static Game * instance()
Provides access to the game instance.
const uint16_t * handledMessages
void handleMessage(MessageIn &msg) override
Used for parsing an incoming message from eAthena.
void skip(unsigned int length)
Skips a given number of bytes.
uint16_t readInt16()
Reads an unsigned 16-bit integer from the message.
uint8_t readInt8()
Reads an unsigned 8-bit integer from the message.
uint16_t getId() const
Returns the message ID.
uint32_t readInt32()
Reads an unsigned 32-bit integer from the message.
Warning: buffers and other variables are shared, so there can be only one connection active at a time...