Esempio n. 1
0
 /// <summary>
 /// Existing GameAccount
 /// </summary>
 /// <param name="persistentId"></param>
 /// <param name="accountId"></param>
 public GameAccount(ulong persistentId, ulong accountId)
     : base(persistentId)
 {
     //
     this.Owner = AccountManager.GetAccountByPersistentID(accountId);
     this.OwnerIdField.Value = Owner.BnetEntityId;
     this.SetField();
 }
Esempio n. 2
0
 /// <summary>
 /// Existing GameAccount
 /// </summary>
 /// <param name="persistentId"></param>
 /// <param name="accountId"></param>
 public GameAccount(ulong persistentId, ulong accountId)
     : base(persistentId)
 {
     this.SetField(AccountManager.GetAccountByPersistentID(accountId));
 }