Exemplo n.º 1
0
 /// <summary>
 /// Used as an initializer for the LoginManager both on Server and Client side.
 /// </summary>
 public void UpdateApiAddress(string address, NetworkConnection connection, Action <NetworkConnection, CharacterResponse> spawnPlayerAction)
 {
     loginServerClient      = new LoginServerClient(address, this);
     apiAddress             = address;
     this.spawnPlayerAction = spawnPlayerAction;
     this.connection        = connection;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Used as an initializer for the LoginManager both on Server and Client side.
 /// </summary>
 public void UpdateApiAddress(string address, Action <CharacterResponse> spawnPlayerAction)
 {
     LoginServerClient      = new LoginServerClient(address, this);
     apiAddress             = address;
     this.spawnPlayerAction = spawnPlayerAction;
 }
Exemplo n.º 3
0
 private void Start()
 {
     LoginServerClient = new LoginServerClient(apiAddress, this);
 }