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

            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (PlayerName.Length != 0)
            {
                hash ^= PlayerName.GetHashCode();
            }
            if (IsHouseOwner != false)
            {
                hash ^= IsHouseOwner.GetHashCode();
            }
            if (position_ != null)
            {
                hash ^= Position.GetHashCode();
            }
            if (rotation_ != null)
            {
                hash ^= Rotation.GetHashCode();
            }
            if (ExtraContent.Length != 0)
            {
                hash ^= ExtraContent.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Action != 0)
            {
                hash ^= Action.GetHashCode();
            }
            if (Param != 0)
            {
                hash ^= Param.GetHashCode();
            }
            if (Param2 != 0)
            {
                hash ^= Param2.GetHashCode();
            }
            if (MapCardId != 0)
            {
                hash ^= MapCardId.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0L)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (NickName.Length != 0)
            {
                hash ^= NickName.GetHashCode();
            }
            if (Avatar.Length != 0)
            {
                hash ^= Avatar.GetHashCode();
            }
            if (Coin != 0L)
            {
                hash ^= Coin.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 4
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (PlayerId != 0)
        {
            hash ^= PlayerId.GetHashCode();
        }
        if (UserName.Length != 0)
        {
            hash ^= UserName.GetHashCode();
        }
        if (Role != 0)
        {
            hash ^= Role.GetHashCode();
        }
        if (IsReady != false)
        {
            hash ^= IsReady.GetHashCode();
        }
        if (Runes != 0)
        {
            hash ^= Runes.GetHashCode();
        }
        if (Faction != 0)
        {
            hash ^= Faction.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Adjustment != 0)
            {
                hash ^= Adjustment.GetHashCode();
            }
            if (CurrencyType.Length != 0)
            {
                hash ^= CurrencyType.GetHashCode();
            }
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Email.Length != 0)
            {
                hash ^= Email.GetHashCode();
            }
            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (AppId.Length != 0)
            {
                hash ^= AppId.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (SkuId.Length != 0)
            {
                hash ^= SkuId.GetHashCode();
            }
            if (Reason.Length != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (Quantity != 0)
            {
                hash ^= Quantity.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId.Length != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Codename.Length != 0)
            {
                hash ^= Codename.GetHashCode();
            }
            if (PublicData.Length != 0)
            {
                hash ^= PublicData.GetHashCode();
            }
            if (Team.Length != 0)
            {
                hash ^= Team.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (KeyFrame != 0)
            {
                hash ^= KeyFrame.GetHashCode();
            }
            if (MsgIndex != 0)
            {
                hash ^= MsgIndex.GetHashCode();
            }
            if (PlayerId != 0)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (X != 0F)
            {
                hash ^= X.GetHashCode();
            }
            if (Y != 0F)
            {
                hash ^= Y.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 10
0
        public override int GetHashCode()
        {
            var hashCode = -962533896;

            hashCode = hashCode * -1521134295 + ProjectId.GetHashCode();
            hashCode = hashCode * -1521134295 + PlayerId.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 11
0
        public override int GetHashCode()
        {
            var hashCode = 2004332272;

            hashCode = hashCode * -1521134295 + ItemId.GetHashCode();
            hashCode = hashCode * -1521134295 + PlayerId.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 12
0
        public override int GetHashCode()
        {
            var hashCode = -857101207;

            hashCode = hashCode * -1521134295 + TitleId.GetHashCode();
            hashCode = hashCode * -1521134295 + PlayerId.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 13
0
        public virtual int hashCode()
        {
            int result = owner.GetHashCode();

            result = 31 * result + id.GetHashCode();
            result = 31 * result + position.GetHashCode();
            return(result);
        }
Exemplo n.º 14
0
        public override int GetHashCode()
        {
            var hashCode = -1709723354;

            hashCode = hashCode * -1521134295 + TeamId.GetHashCode();
            hashCode = hashCode * -1521134295 + PlayerId.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 15
0
        public override int GetHashCode()
        {
            var hashCode = 1524720837;

            hashCode = hashCode * -1521134295 + PokedexId.GetHashCode();
            hashCode = hashCode * -1521134295 + PlayerId.GetHashCode();
            return(hashCode);
        }
Exemplo n.º 16
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = PlayerId?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ SpartanRank;
         hashCode = (hashCode * 397) ^ Xp;
         return(hashCode);
     }
 }
Exemplo n.º 17
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = GetType().GetHashCode();
         hash = (hash * 31) ^ PlayerId.GetHashCode();
         hash = (hash * 31) ^ BowlerTypeId.GetHashCode();
         return(hash);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ PlayerId.GetHashCode();
         hashCode = (hashCode * 397) ^ GamingGroupId.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (AccountId != 0UL)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Diamonds != 0)
            {
                hash ^= Diamonds.GetHashCode();
            }
            if (OldLevel != 0)
            {
                hash ^= OldLevel.GetHashCode();
            }
            if (OldExp != 0)
            {
                hash ^= OldExp.GetHashCode();
            }
            if (AddedExp != 0)
            {
                hash ^= AddedExp.GetHashCode();
            }
            if (Hp != 0)
            {
                hash ^= Hp.GetHashCode();
            }
            if (Mp != 0)
            {
                hash ^= Mp.GetHashCode();
            }
            if (Food != 0)
            {
                hash ^= Food.GetHashCode();
            }
            if (Gold != 0)
            {
                hash ^= Gold.GetHashCode();
            }
            hash ^= cards_.GetHashCode();
            hash ^= cardTemps_.GetHashCode();
            hash ^= items_.GetHashCode();
            hash ^= itemTemps_.GetHashCode();
            hash ^= buffs_.GetHashCode();
            hash ^= buffTemps_.GetHashCode();
            hash ^= equips_.GetHashCode();
            hash ^= equipTemps_.GetHashCode();
            return(hash);
        }
Exemplo n.º 20
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = UserId != null?UserId.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (Game != null ? Game.GetHashCode() : 0);

                hashCode = (hashCode * 397) ^ (PlayerId != null ? PlayerId.GetHashCode() : 0);

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

            if (AccountId != 0UL)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Reason != 0)
            {
                hash ^= Reason.GetHashCode();
            }
            if (Diamonds != 0)
            {
                hash ^= Diamonds.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            if (Exp != 0)
            {
                hash ^= Exp.GetHashCode();
            }
            if (Hp != 0)
            {
                hash ^= Hp.GetHashCode();
            }
            if (Mp != 0)
            {
                hash ^= Mp.GetHashCode();
            }
            if (Food != 0)
            {
                hash ^= Food.GetHashCode();
            }
            if (Gold != 0)
            {
                hash ^= Gold.GetHashCode();
            }
            hash ^= cards_.GetHashCode();
            hash ^= items_.GetHashCode();
            hash ^= buffs_.GetHashCode();
            hash ^= equips_.GetHashCode();
            return(hash);
        }
Exemplo n.º 22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (mapPlayerData_ != null)
            {
                hash ^= MapPlayerData.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasPlayerId)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (deck_ != null)
            {
                hash ^= Deck.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 26
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TurnId != 0)
            {
                hash ^= TurnId.GetHashCode();
            }
            if (PlayerId != 0L)
            {
                hash ^= PlayerId.GetHashCode();
            }
            hash ^= commands_.GetHashCode();
            return(hash);
        }
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.playerId)
            {
                hashcode = (hashcode * 397) + PlayerId.GetHashCode();
            }
            if (__isset.position)
            {
                hashcode = (hashcode * 397) + Position.GetHashCode();
            }
        }
        return(hashcode);
    }
Exemplo n.º 28
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Funcode != 0)
            {
                hash ^= Funcode.GetHashCode();
            }
            if (Opcode != 0)
            {
                hash ^= Opcode.GetHashCode();
            }
            if (Data.Length != 0)
            {
                hash ^= Data.GetHashCode();
            }
            if (HamalNode.Length != 0)
            {
                hash ^= HamalNode.GetHashCode();
            }
            if (ClientPid.Length != 0)
            {
                hash ^= ClientPid.GetHashCode();
            }
            if (PlayerId != 0L)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (Timestamp != 0L)
            {
                hash ^= Timestamp.GetHashCode();
            }
            hash ^= batchPackets_.GetHashCode();
            hash ^= castDataIds_.GetHashCode();
            hash ^= castReceiverIds_.GetHashCode();
            if (ClientIp.Length != 0)
            {
                hash ^= ClientIp.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 29
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.º 30
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerId != 0UL)
            {
                hash ^= PlayerId.GetHashCode();
            }
            if (ShopId != 0)
            {
                hash ^= ShopId.GetHashCode();
            }
            if (ItemId != 0)
            {
                hash ^= ItemId.GetHashCode();
            }
            return(hash);
        }