Struct FSharedEnvironmentDefinition
- struct FSharedEnvironmentDefinition
-
Struct containing the properties that define an environment.
Shared between the GymConnector and the Environment Objects.
Public Functions
- inline void ToProtobuf(Schola::EnvironmentDefinition *Msg) const
-
Fill a protobuf message (Schola::EnvironmentDefinition) with the contents of this object.
- Parameters:
-
Msg – [out] The protobuf message to fill
- inline void AddSharedAgentDefn(int Key, FTrainerDefinition *SharedDefnPointer)
-
Add a shared agent definition to the shared environment definition.
- Parameters:
-
-
Key – [in] The key to add the agent definition under
-
SharedDefnPointer – [in] The shared agent definition to add
-
Public Members
- TSortedMap<int, FTrainerDefinition*> AgentDefinitions
-
Map from Environment Name,Agent Name to Agent Definitions.