コード例 #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);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int num = 1;

            if (FightDefId != 0)
            {
                num ^= FightDefId.GetHashCode();
            }
            if (Result != 0)
            {
                num ^= Result.GetHashCode();
            }
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int num = 1;

            if (fightInfo_ != null)
            {
                num ^= FightInfo.GetHashCode();
            }
            if (FightDefId != 0)
            {
                num ^= FightDefId.GetHashCode();
            }
            if (FightType != 0)
            {
                num ^= FightType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }