Esempio n. 1
0
 public override void RemoveMessage()
 {
     PacketHandlerManagerHF.Unregister((ushort)emPacket_Login.EM_SC_LoginRst);
     PacketHandlerManagerHF.Unregister((ushort)emPacket_Login.EM_SC_LoginGateWayRst);
     PacketHandlerManagerHF.Unregister((ushort)emPacket_Login.em_SC_PlayerInfo);
 }
Esempio n. 2
0
 public override void AddMessage()
 {
     PacketHandlerManagerHF.Register((ushort)emPacket_Login.EM_SC_LoginRst, SC_LoginRst);
     PacketHandlerManagerHF.Register((ushort)emPacket_Login.EM_SC_LoginGateWayRst, OnLoginGameResult);
     PacketHandlerManagerHF.Register((ushort)emPacket_Login.em_SC_PlayerInfo, OnPlayerInfo);
 }