Exemplo n.º 1
0
        public void HandleMarryRoomInfoToPlayer(GSPacketIn pkg)
        {
            Player player = LoginMgr.GetPlayer(pkg.ReadInt());

            if (player == null || player.CurrentServer == null)
            {
                return;
            }
            player.CurrentServer.SendTCP(pkg);
        }
Exemplo n.º 2
0
        public void HandleUpdatePlayerState(GSPacketIn pkg)
        {
            Player player = LoginMgr.GetPlayer(pkg.ReadInt());

            if (player == null || player.CurrentServer == null)
            {
                return;
            }
            player.CurrentServer.SendTCP(pkg);
        }
Exemplo n.º 3
0
        public void HandleMarryRoomInfoToPlayer(GSPacketIn pkg)
        {
            int    playerId = pkg.ReadInt();
            Player player   = LoginMgr.GetPlayer(playerId);

            if (player != null && player.CurrentServer != null)
            {
                player.CurrentServer.SendTCP(pkg);
            }
        }
Exemplo n.º 4
0
        public static ServerClient GetServerClient(int playerId)
        {
            Player player = LoginMgr.GetPlayer(playerId);

            if (player != null)
            {
                return(player.CurrentServer);
            }
            return(null);
        }
Exemplo n.º 5
0
        public void HandleUpdatePlayerState(GSPacketIn pkg)
        {
            int    playerId = pkg.ReadInt();
            Player player   = LoginMgr.GetPlayer(playerId);

            if (player != null && player.CurrentServer != null)
            {
                player.CurrentServer.SendTCP(pkg);
            }
        }