Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= vectorActionSizeDeprecated_.GetHashCode();
            hash ^= vectorActionDescriptionsDeprecated_.GetHashCode();
            if (VectorActionSpaceTypeDeprecated != 0)
            {
                hash ^= VectorActionSpaceTypeDeprecated.GetHashCode();
            }
            if (BrainName.Length != 0)
            {
                hash ^= BrainName.GetHashCode();
            }
            if (IsTraining != false)
            {
                hash ^= IsTraining.GetHashCode();
            }
            if (actionSpec_ != null)
            {
                hash ^= ActionSpec.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= AgentActions.GetHashCode();
            if (IsTraining != false)
            {
                hash ^= IsTraining.GetHashCode();
            }
            if (Command != 0)
            {
                hash ^= Command.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }