Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TimestampMs != 0L)
            {
                hash ^= TimestampMs.GetHashCode();
            }
            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Type.Length != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (SkuId.Length != 0)
            {
                hash ^= SkuId.GetHashCode();
            }
            if (CurrencyUsed.Length != 0)
            {
                hash ^= CurrencyUsed.GetHashCode();
            }
            if (PricePaidE6 != 0L)
            {
                hash ^= PricePaidE6.GetHashCode();
            }
            if (VendorCode.Length != 0)
            {
                hash ^= VendorCode.GetHashCode();
            }
            hash ^= initialBalance_.GetHashCode();
            hash ^= finalBalance_.GetHashCode();
            hash ^= itemId_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(VendorCode.GetHashCode());
 }