public void StartGame(int roomId, ProxyGame game) { BaseRoom room = FindRoom(roomId); if (room != null) { RoomMgr.StartProxyGame(room, game); } }
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); }
public static void StartProxyGame(BaseRoom room, ProxyGame game) { AddAction(new StartProxyGameAction(room, game)); }
public StartProxyGameAction(BaseRoom room,ProxyGame game) { m_room = room; m_game = game; }
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); }