public CfgInfo _zoneConfig; //The zone-specific configuration file public GameClient(Windows.Game wGame, string alias, string ticketid) { _wGame = wGame; _conn = new ClientConn <GameClient>(new S2CPacketFactory <GameClient>(), this); _syncStart = new ManualResetEvent(false); _player = new Player(true); _player._gameclient = this; _player._ticketid = ticketid; _player._alias = alias; //Log packets for now.. _conn._bLogPackets = true; _logger = InfServer.Log.createClient("Client"); _conn._logger = _logger; Client.connectionTimeout = 2000; //Initialize our command registrar _commandRegistrar = new FreeInfantryClient.Game.Commands.Registrar(); _commandRegistrar.register(); }
// assume /// Takes over a thread in the name of a specified logging client /////////////////////////////////////////////////// public static void assume(LogClient client) { //Redirect assume(client, Thread.CurrentThread, true, -1); }