@@ -25,17 +25,18 @@ static CapabilitiesReflection() {
2525 byte [ ] descriptorData = global ::System . Convert . FromBase64String (
2626 string . Concat (
2727 "CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp" ,
28- "dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMi0gEKGFVuaXR5UkxD " ,
28+ "dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMi7AEKGFVuaXR5UkxD " ,
2929 "YXBhYmlsaXRpZXNQcm90bxIaChJiYXNlUkxDYXBhYmlsaXRpZXMYASABKAgS" ,
3030 "IwobY29uY2F0ZW5hdGVkUG5nT2JzZXJ2YXRpb25zGAIgASgIEiAKGGNvbXBy" ,
3131 "ZXNzZWRDaGFubmVsTWFwcGluZxgDIAEoCBIVCg1oeWJyaWRBY3Rpb25zGAQg" ,
3232 "ASgIEhkKEXRyYWluaW5nQW5hbHl0aWNzGAUgASgIEiEKGXZhcmlhYmxlTGVu" ,
33- "Z3RoT2JzZXJ2YXRpb24YBiABKAhCJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11" ,
34- "bmljYXRvck9iamVjdHNiBnByb3RvMw==" ) ) ;
33+ "Z3RoT2JzZXJ2YXRpb24YBiABKAgSGAoQbXVsdGlBZ2VudEdyb3VwcxgHIAEo" ,
34+ "CEIlqgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJv" ,
35+ "dG8z" ) ) ;
3536 descriptor = pbr ::FileDescriptor . FromGeneratedCode ( descriptorData ,
3637 new pbr ::FileDescriptor [ ] { } ,
3738 new pbr ::GeneratedClrTypeInfo ( null , new pbr ::GeneratedClrTypeInfo [ ] {
38- new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Unity . MLAgents . CommunicatorObjects . UnityRLCapabilitiesProto ) , global ::Unity . MLAgents . CommunicatorObjects . UnityRLCapabilitiesProto . Parser , new [ ] { "BaseRLCapabilities" , "ConcatenatedPngObservations" , "CompressedChannelMapping" , "HybridActions" , "TrainingAnalytics" , "VariableLengthObservation" } , null , null , null )
39+ new pbr ::GeneratedClrTypeInfo ( typeof ( global ::Unity . MLAgents . CommunicatorObjects . UnityRLCapabilitiesProto ) , global ::Unity . MLAgents . CommunicatorObjects . UnityRLCapabilitiesProto . Parser , new [ ] { "BaseRLCapabilities" , "ConcatenatedPngObservations" , "CompressedChannelMapping" , "HybridActions" , "TrainingAnalytics" , "VariableLengthObservation" , "MultiAgentGroups" } , null , null , null )
3940 } ) ) ;
4041 }
4142 #endregion
@@ -78,6 +79,7 @@ public UnityRLCapabilitiesProto(UnityRLCapabilitiesProto other) : this() {
7879 hybridActions_ = other . hybridActions_ ;
7980 trainingAnalytics_ = other . trainingAnalytics_ ;
8081 variableLengthObservation_ = other . variableLengthObservation_ ;
82+ multiAgentGroups_ = other . multiAgentGroups_ ;
8183 _unknownFields = pb ::UnknownFieldSet . Clone ( other . _unknownFields ) ;
8284 }
8385
@@ -170,6 +172,20 @@ public bool VariableLengthObservation {
170172 }
171173 }
172174
175+ /// <summary>Field number for the "multiAgentGroups" field.</summary>
176+ public const int MultiAgentGroupsFieldNumber = 7 ;
177+ private bool multiAgentGroups_ ;
178+ /// <summary>
179+ /// Support for multi agent groups and group rewards
180+ /// </summary>
181+ [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
182+ public bool MultiAgentGroups {
183+ get { return multiAgentGroups_ ; }
184+ set {
185+ multiAgentGroups_ = value ;
186+ }
187+ }
188+
173189 [ global ::System . Diagnostics . DebuggerNonUserCodeAttribute ]
174190 public override bool Equals ( object other ) {
175191 return Equals ( other as UnityRLCapabilitiesProto ) ;
@@ -189,6 +205,7 @@ public bool Equals(UnityRLCapabilitiesProto other) {
189205 if ( HybridActions != other . HybridActions ) return false ;
190206 if ( TrainingAnalytics != other . TrainingAnalytics ) return false ;
191207 if ( VariableLengthObservation != other . VariableLengthObservation ) return false ;
208+ if ( MultiAgentGroups != other . MultiAgentGroups ) return false ;
192209 return Equals ( _unknownFields , other . _unknownFields ) ;
193210 }
194211
@@ -201,6 +218,7 @@ public override int GetHashCode() {
201218 if ( HybridActions != false ) hash ^= HybridActions . GetHashCode ( ) ;
202219 if ( TrainingAnalytics != false ) hash ^= TrainingAnalytics . GetHashCode ( ) ;
203220 if ( VariableLengthObservation != false ) hash ^= VariableLengthObservation . GetHashCode ( ) ;
221+ if ( MultiAgentGroups != false ) hash ^= MultiAgentGroups . GetHashCode ( ) ;
204222 if ( _unknownFields != null ) {
205223 hash ^= _unknownFields . GetHashCode ( ) ;
206224 }
@@ -238,6 +256,10 @@ public void WriteTo(pb::CodedOutputStream output) {
238256 output . WriteRawTag ( 48 ) ;
239257 output . WriteBool ( VariableLengthObservation ) ;
240258 }
259+ if ( MultiAgentGroups != false ) {
260+ output . WriteRawTag ( 56 ) ;
261+ output . WriteBool ( MultiAgentGroups ) ;
262+ }
241263 if ( _unknownFields != null ) {
242264 _unknownFields . WriteTo ( output ) ;
243265 }
@@ -264,6 +286,9 @@ public int CalculateSize() {
264286 if ( VariableLengthObservation != false ) {
265287 size += 1 + 1 ;
266288 }
289+ if ( MultiAgentGroups != false ) {
290+ size += 1 + 1 ;
291+ }
267292 if ( _unknownFields != null ) {
268293 size += _unknownFields . CalculateSize ( ) ;
269294 }
@@ -293,6 +318,9 @@ public void MergeFrom(UnityRLCapabilitiesProto other) {
293318 if ( other . VariableLengthObservation != false ) {
294319 VariableLengthObservation = other . VariableLengthObservation ;
295320 }
321+ if ( other . MultiAgentGroups != false ) {
322+ MultiAgentGroups = other . MultiAgentGroups ;
323+ }
296324 _unknownFields = pb ::UnknownFieldSet . MergeFrom ( _unknownFields , other . _unknownFields ) ;
297325 }
298326
@@ -328,6 +356,10 @@ public void MergeFrom(pb::CodedInputStream input) {
328356 VariableLengthObservation = input . ReadBool ( ) ;
329357 break ;
330358 }
359+ case 56 : {
360+ MultiAgentGroups = input . ReadBool ( ) ;
361+ break ;
362+ }
331363 }
332364 }
333365 }
0 commit comments