You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
530 B
38 lines
530 B
#include "protocolgame.h"
|
|
|
|
void ProtocolGame::sendPing()
|
|
{
|
|
OutputMessage oMsg;
|
|
oMsg.addU8(0x1E);
|
|
send(oMsg);
|
|
}
|
|
|
|
void ProtocolGame::sendWalkNorth()
|
|
{
|
|
OutputMessage oMsg;
|
|
oMsg.addU8(0x65);
|
|
send(oMsg);
|
|
}
|
|
|
|
void ProtocolGame::sendWalkEast()
|
|
{
|
|
OutputMessage oMsg;
|
|
oMsg.addU8(0x66);
|
|
send(oMsg);
|
|
}
|
|
|
|
void ProtocolGame::sendWalkSouth()
|
|
{
|
|
OutputMessage oMsg;
|
|
oMsg.addU8(0x67);
|
|
send(oMsg);
|
|
}
|
|
|
|
void ProtocolGame::sendWalkWest()
|
|
{
|
|
OutputMessage oMsg;
|
|
oMsg.addU8(0x68);
|
|
send(oMsg);
|
|
}
|
|
|