Пример #1
0
        public void StartGame(int roomId, ProxyGame game)
        {
            BaseRoom room = FindRoom(roomId);

            if (room != null)
            {
                RoomMgr.StartProxyGame(room, game);
            }
        }
Пример #2
0
 protected void HandleStartGame(GSPacketIn pkg)
 {
     ProxyGame game = new ProxyGame(pkg.Parameter2, this, (eRoomType)pkg.ReadInt(), (eGameType)pkg.ReadInt(), pkg.ReadInt());
     m_server.StartGame(pkg.Parameter1, game);
 }
Пример #3
0
 public static void StartProxyGame(BaseRoom room, ProxyGame game)
 {
     AddAction(new StartProxyGameAction(room, game));
 }
Пример #4
0
 public StartProxyGameAction(BaseRoom room,ProxyGame game)
 {
     m_room = room;
     m_game = game;
 }
Пример #5
0
        public void StartGame(int roomId, ProxyGame game)
        {
            BaseRoom room = FindRoom(roomId);

            if (room != null)
            {
                RoomMgr.StartProxyGame(room, game);
            }
        }
Пример #6
0
        protected void HandleStartGame(GSPacketIn pkg)
        {
            ProxyGame game = new ProxyGame(pkg.Parameter2, this, (eRoomType)pkg.ReadInt(), (eGameType)pkg.ReadInt(), pkg.ReadInt());

            this.m_server.StartGame(pkg.Parameter1, game);
        }