public void HandleMarryRoomInfoToPlayer(GSPacketIn pkg) { Player player = LoginMgr.GetPlayer(pkg.ReadInt()); if (player == null || player.CurrentServer == null) { return; } player.CurrentServer.SendTCP(pkg); }
public void HandleUpdatePlayerState(GSPacketIn pkg) { Player player = LoginMgr.GetPlayer(pkg.ReadInt()); if (player == null || player.CurrentServer == null) { return; } player.CurrentServer.SendTCP(pkg); }
public void HandleMarryRoomInfoToPlayer(GSPacketIn pkg) { int playerId = pkg.ReadInt(); Player player = LoginMgr.GetPlayer(playerId); if (player != null && player.CurrentServer != null) { player.CurrentServer.SendTCP(pkg); } }
public static ServerClient GetServerClient(int playerId) { Player player = LoginMgr.GetPlayer(playerId); if (player != null) { return(player.CurrentServer); } return(null); }
public void HandleUpdatePlayerState(GSPacketIn pkg) { int playerId = pkg.ReadInt(); Player player = LoginMgr.GetPlayer(playerId); if (player != null && player.CurrentServer != null) { player.CurrentServer.SendTCP(pkg); } }