示例#1
0
        public override int GetHashCode()
        {
            int num = 1;

            if (FightId != 0)
            {
                num ^= FightId.GetHashCode();
            }
            num ^= ((object)entities_).GetHashCode();
            if (TurnIndex != 0)
            {
                num ^= TurnIndex.GetHashCode();
            }
            if (TurnRemainingTimeSec != 0)
            {
                num ^= TurnRemainingTimeSec.GetHashCode();
            }
            num ^= ((object)PlayersCompanions).GetHashCode();
            num ^= ((object)PlayersCardsCount).GetHashCode();
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }
        public override int GetHashCode()
        {
            int num = 1;

            if (FightId != 0)
            {
                num ^= FightId.GetHashCode();
            }
            if (PlayerId != 0)
            {
                num ^= PlayerId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                num ^= ((object)_unknownFields).GetHashCode();
            }
            return(num);
        }