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

            if (FightDefId != 0)
            {
                num ^= FightDefId.GetHashCode();
            }
            if (FightMapId != 0)
            {
                num ^= FightMapId.GetHashCode();
            }
            if (FightType != 0)
            {
                num ^= FightType.GetHashCode();
            }
            if (ConcurrentFightsCount != 0)
            {
                num ^= ConcurrentFightsCount.GetHashCode();
            }
            if (OwnFightId != 0)
            {
                num ^= OwnFightId.GetHashCode();
            }
            if (OwnTeamIndex != 0)
            {
                num ^= OwnTeamIndex.GetHashCode();
            }
            num ^= ((object)teams_).GetHashCode();
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int num = 1;

            num ^= ((object)fightsSnapshots_).GetHashCode();
            if (OwnFightId != 0)
            {
                num ^= OwnFightId.GetHashCode();
            }
            if (OwnPlayerId != 0)
            {
                num ^= OwnPlayerId.GetHashCode();
            }
            num ^= ((object)ownSpellsIds_).GetHashCode();
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }