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

            if (Nickname.Length != 0)
            {
                num ^= Nickname.GetHashCode();
            }
            if (God != 0)
            {
                num ^= God.GetHashCode();
            }
            if (WeaponId != 0)
            {
                num ^= WeaponId.GetHashCode();
            }
            if (Skin != 0)
            {
                num ^= Skin.GetHashCode();
            }
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int num = 1;

            if (WeaponId != 0)
            {
                num ^= WeaponId.GetHashCode();
            }
            if (deckId_.HasValue)
            {
                num ^= DeckId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }
Exemplo n.º 3
0
                public override int GetHashCode()
                {
                    int num = 1;

                    if (EntityId != 0)
                    {
                        num ^= EntityId.GetHashCode();
                    }
                    if (EntityType != 0)
                    {
                        num ^= EntityType.GetHashCode();
                    }
                    if (name_ != null)
                    {
                        num ^= Name.GetHashCode();
                    }
                    if (defId_.HasValue)
                    {
                        num ^= DefId.GetHashCode();
                    }
                    if (weaponId_.HasValue)
                    {
                        num ^= WeaponId.GetHashCode();
                    }
                    if (genderId_.HasValue)
                    {
                        num ^= GenderId.GetHashCode();
                    }
                    if (playerIndexInFight_.HasValue)
                    {
                        num ^= PlayerIndexInFight.GetHashCode();
                    }
                    if (ownerId_.HasValue)
                    {
                        num ^= OwnerId.GetHashCode();
                    }
                    if (teamId_.HasValue)
                    {
                        num ^= TeamId.GetHashCode();
                    }
                    if (level_.HasValue)
                    {
                        num ^= Level.GetHashCode();
                    }
                    num ^= ((object)properties_).GetHashCode();
                    if (position_ != null)
                    {
                        num ^= Position.GetHashCode();
                    }
                    if (direction_.HasValue)
                    {
                        num ^= Direction.GetHashCode();
                    }
                    num ^= ((object)Caracs).GetHashCode();
                    if (customSkin_ != null)
                    {
                        num ^= CustomSkin.GetHashCode();
                    }
                    if (actionDoneThisTurn_.HasValue)
                    {
                        num ^= ActionDoneThisTurn.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        num ^= ((object)_unknownFields).GetHashCode();
                    }
                    return(num);
                }