public Channel(string name, ushort maxPlayers, byte id, uint flag) { Name = name; MaxPlayers = maxPlayers; Id = id; Flag = flag; Games = new GameList(this); Players = new GenericDisposableCollection <GPlayer>(); }
public Channel(string name, ushort maxPlayers, ChannelTypeEnum typechannel, byte id) { Name = name; MaxPlayers = maxPlayers; Id = id; Flag = typechannel; //Games = new GameCollection(this); Players = new GenericDisposableCollection <Player>(); Lobby = new LobbyManager(this); }
public LobbyManager(Channel channel) { _channel = channel; Players = new GenericDisposableCollection <Player>(); GameManager = new GameManager(this); }