Esempio n. 1
0
 public static void Relog(MapleClient c, InPacket p)
 {
     //if (c.Account.IsLogged)
     //    c.Send(LoginPacket.ReLogResponse());
 }
Esempio n. 2
0
 public static void PLAYER_UPDATE(MapleClient c, InPacket p)
 {
     c?.Player?.Save();
 }
Esempio n. 3
0
 public static void PONG(MapleClient c, InPacket p)
 {
     c.LastPongTime = DateTime.Now;
 }
Esempio n. 4
0
 public static void ERROR_LOG(MapleClient c, InPacket p)
 {
     Console.WriteLine($"错误信息:{p.ReadMapleString()}");
 }
Esempio n. 5
0
 protected override void OnNewClientConnected(MapleClient client)
 {
     client.SendRaw(PacketCreator.Handshake(client.SendIv, client.RecvIv));
     client.HasHandShaked = true;
 }