Exemplo n.º 1
0
 /// <summary>
 /// Initialization of a Account object.
 /// </summary>
 /// <param name="id">The unique persistent account GUID.</param>
 /// <param name="name">The unique account name with numerical suffix. It is possible that the name change. Do not rely on the name, use id instead.</param>
 /// <param name="world">The home world the account is assigned to.</param>
 /// <param name="guilds">A list of guilds assigned to the given account.</param>
 /// <param name="created">Timestamp of when the account was created.</param>
 /// <param name="access">Accesslevel of the account.</param>
 /// <param name="fractal_level">The account's personal fractal reward level. Requires the additional progression scope.</param>
 public Account(Guid id, string name, int world, IEnumerable <string> guilds, DateTime created, AccountType access, int fractal_level)
 {
     Id           = id;
     Name         = name;
     World        = new WorldWrapper().GetById(world);
     Guilds       = guilds;
     Created      = created;
     Access       = access;
     FractalLevel = fractal_level;
 }
Exemplo n.º 2
0
 void Start()
 {
     wrapper = FindObjectOfType <WorldWrapper>();
     my      = transform;
 }