public static void HandleGameAction(ClientMessage message, Session session) { // TODO: verify sequence uint sequence = message.Payload.ReadUInt32(); uint opcode = message.Payload.ReadUInt32(); InboundMessageManager.HandleGameAction((GameActionType)opcode, message, session); }
public static void HandleGameAction(ClientPacketFragment fragement, Session session) { // TODO: verify sequence uint sequence = fragement.Payload.ReadUInt32(); uint opcode = fragement.Payload.ReadUInt32(); InboundMessageManager.HandleGameAction((GameActionType)opcode, fragement, session); }