44 unsigned char direction;
47 msg.readInt32(
"tick");
48 msg.readCoordinates(
x,
y, direction,
"position");
49 msg.readInt16(
"unknown?");
50 logger->
log(
"Protocol: Player start position: (%d, %d),"
51 " Direction: %d",
x,
y, direction);
56 if (network !=
nullptr)
void setState(const StateT state)
void setTileCoords(const int x, const int y)
void log(const char *const log_text,...)
static Network * mInstance
LocalPlayer * localPlayer
bool msg(InputEvent &event)
void processMapLogin(Net::MessageIn &msg)