protected override PacketHandler DispatchPacket(byte type)
{
switch (type)
{
// Cases in order that they should be received
case 0x01:
return LoginRealm;
case 0x19:
return CharacterList;
case 0x07:
return LoginResult;
case 0x03:
return GameCreate;
case 0x04:
return GameJoin;
case 0x12:
default:
return VoidRequest;
}
}