public SignonProcessor(Client client, Connection connection) { this.client = client; this.connection = connection; this.entityUpdater = new EntityUpdater(client); this.sendTableFlattener = new SendTableFlattener(); this.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(); }