public void SetIdentity(bnet.protocol.Identity val)
 {
     this.Identity = val;
 }
Esempio n. 2
0
 public static Identity Deserialize(Stream stream, Identity instance)
 {
     return(Identity.Deserialize(stream, instance, -1L));
 }
Esempio n. 3
0
        public override bool Equals(object obj)
        {
            Identity identity = obj as Identity;

            return(identity != null && this.HasAccountId == identity.HasAccountId && (!this.HasAccountId || this.AccountId.Equals(identity.AccountId)) && this.HasGameAccountId == identity.HasGameAccountId && (!this.HasGameAccountId || this.GameAccountId.Equals(identity.GameAccountId)));
        }
Esempio n. 4
0
 public void Deserialize(Stream stream)
 {
     Identity.Deserialize(stream, this);
 }
Esempio n. 5
0
 public void Serialize(Stream stream)
 {
     Identity.Serialize(stream, this);
 }