public override int GetHashCode() { int hash = 1; hash ^= AgentActions.GetHashCode(); if (Command != 0) { hash ^= Command.GetHashCode(); } if (SideChannel.Length != 0) { hash ^= SideChannel.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; hash ^= AgentActions.GetHashCode(); if (Command != global::MLAgents.CommunicatorObjects.CommandProto.Step) { hash ^= Command.GetHashCode(); } if (SideChannel.Length != 0) { hash ^= SideChannel.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
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); }