Skip to content

ProtobufDeserializer

ProtobufDeserializer

A namespace containing functions to deserialize protobuf messages into Unreal Engine types.

Functions

Deserialize

void Deserialize(const Schola::FundamentalPoint &ProtoMsg, TPoint &OutPoint)

Deserialize a protobuf message (Schola::FundamentalPoint) into a new object of type TPoint.

Parameters:

  • ProtoMsg (const Schola::FundamentalPoint &) – [in] The protobuf message to deserialize
  • OutPoint (TPoint &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 24, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 7-22)

Deserialize

void Deserialize(const Schola::DictPoint &ProtoMsg, FDictPoint &OutPoint)

Deserialize a protobuf message (Schola::DictPoint) into a new object of type FDictPoint.

Parameters:

  • ProtoMsg (const Schola::DictPoint &) – [in] The protobuf message to deserialize
  • OutPoint (FDictPoint &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 31, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 24-43)

Deserialize

void Deserialize(const Schola::EnvironmentStep &ProtoMsg, FEnvStep &OutEnvStep)

Deserialize a protobuf message (Schola::EnvironmentStep) into a new object of type FBinaryPoint.

Parameters:

  • ProtoMsg (const Schola::EnvironmentStep &) – [in] The protobuf message to deserialize
  • OutEnvStep (FEnvStep &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 38, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 45-53)

Deserialize

void Deserialize(const Schola::EnvironmentReset &ProtoMsg, FEnvReset &OutEnvReset)

Deserialize a protobuf message (Schola::EnvironmentReset) into a new object of type FEnvReset.

Parameters:

  • ProtoMsg (const Schola::EnvironmentReset &) – [in] The protobuf message to deserialize
  • OutEnvReset (FEnvReset &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 45, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 55-68)

Deserialize

void Deserialize(const Schola::EnvironmentStateUpdate &ProtoMsg, FEnvUpdate &OutEnvUpdate)

Deserialize a protobuf message (Schola::EnvironmentStateUpdate) into a new object of type FEnvUpdate.

Parameters:

  • ProtoMsg (const Schola::EnvironmentStateUpdate &) – [in] The protobuf message to deserialize
  • OutEnvUpdate (FEnvUpdate &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 52, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 70-86)

Deserialize

void Deserialize(const Schola::TrainingStateUpdate &ProtoMsg, FTrainingStateUpdate &OutTrainingStateUpdate)

Deserialize a protobuf message (Schola::TrainingStateUpdate) into a new object of type FTrainingStateUpdate.

Parameters:

  • ProtoMsg (const Schola::TrainingStateUpdate &) – [in] The protobuf message to deserialize
  • OutTrainingStateUpdate (FTrainingStateUpdate &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 59, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 88-95)

Deserialize

void Deserialize(const Schola::AgentStateUpdate &ProtoMsg, FAction &OutAction)

Deserialize a protobuf message (Schola::AgentStateUpdate) into a new object of type FAction.

Parameters:

  • ProtoMsg (const Schola::AgentStateUpdate &) – [in] The protobuf message to deserialize
  • OutAction (FAction &) – [out] The type of the Unreal object to deserialize into

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 66, column 6)

Implementation: Schola/Source/Schola/Private/Communicator/ProtobufDeserializer.cpp (lines 97-100)

Deserialize

UnrealType * Deserialize(const ProtoType &ProtoMsg)

Deserialize a protobuf message into a new object of type UnrealType.

Returns: A new object of type UnrealType

Parameters:

  • ProtoMsg (const ProtoType &) – The protobuf message to deserialize

Returns: UnrealType *

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 76, column 12)

Source: Schola/Source/Schola/Public/Communicator/ProtobufDeserializer.h (line 17, column 1)