public DotaGame(DotaGameState state, DotaGameConnection connection) { this.state = state; this.connection = connection; entityUpdater = new EntityUpdater(state); stringTableUpdater = new StringTableUpdater(); }
/// <summary> /// Initialize the signon handler. /// </summary> /// <param name="state"></param> /// <param name="connection"></param> public DotaSignon(DotaGameState state, DotaGameConnection connection, DOTAConnectDetails details) { this.state = state; this.details = details; this.connection = connection; entityUpdater = new EntityUpdater(state); sendTableFlattener = new SendTableFlattener(); stringTableUpdater = new StringTableUpdater(); }