Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
            }
        }
Esempio n. 4
0
        public static ServerClient GetServerClient(int playerId)
        {
            Player player = LoginMgr.GetPlayer(playerId);

            if (player != null)
            {
                return(player.CurrentServer);
            }
            return(null);
        }
Esempio 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);
            }
        }