예제 #1
0
 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();
 }
예제 #2
0
 /// <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();
 }