public void SetIdentity(bnet.protocol.Identity val)
 {
     this.Identity = val;
 }
Exemplo n.º 2
0
 public static Identity Deserialize(Stream stream, Identity instance)
 {
     return(Identity.Deserialize(stream, instance, -1L));
 }
Exemplo 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)));
        }
Exemplo n.º 4
0
 public void Deserialize(Stream stream)
 {
     Identity.Deserialize(stream, this);
 }
Exemplo n.º 5
0
 public void Serialize(Stream stream)
 {
     Identity.Serialize(stream, this);
 }