public ReceivablePacket<L2GameClient> handlePacket(ByteBuffer buf, L2GameClient client)
{
int opcode = buf.get() & 0xFF;
ReceivablePacket<L2GameClient> msg = null;
GameClientState state = client.getState();
switch (state)
{
case CONNECTED:
if (opcode == 0x00)