Represents a serializer that handles assets and various configuration objects. More...
Public Member Functions | |
AssetObject[] | DeserializeAssets (Stream stream) |
Deserializes an array of asset objects from the specified stream. More... | |
IRuntimeConfig | DeserializeConfig (Stream stream) |
Deserializes the runtime configuration from the specified stream. More... | |
IRuntimePlayer | DeserializePlayer (Stream stream) |
Deserializes the runtime player from the specified stream. More... | |
IGameResult | DeserializeResult (Stream stream) |
Deserializes the game result from the specified stream. More... | |
string | PrintObject (object obj) |
Prints the string representation of an object. More... | |
void | SerializeAssets (Stream stream, AssetObject[] assets) |
Serializes an array of asset objects to the specified stream. More... | |
void | SerializeConfig (Stream stream, IRuntimeConfig config) |
Serializes the runtime configuration to the specified stream. More... | |
void | SerializePlayer (Stream stream, IRuntimePlayer player) |
Serializes the runtime player to the specified stream. More... | |
void | SerializeResult (Stream stream, IGameResult result) |
Serializes the game result to the specified stream. More... | |
Represents a serializer that handles assets and various configuration objects.
void Quantum.IAssetSerializer.SerializeConfig | ( | Stream | stream, |
IRuntimeConfig | config | ||
) |
Serializes the runtime configuration to the specified stream.
stream | The stream to serialize to. |
config | The runtime configuration to serialize. |
Implemented in Quantum.QuantumUnityJsonSerializer.
void Quantum.IAssetSerializer.SerializePlayer | ( | Stream | stream, |
IRuntimePlayer | player | ||
) |
Serializes the runtime player to the specified stream.
stream | The stream to serialize to. |
player | The runtime player to serialize. |
Implemented in Quantum.QuantumUnityJsonSerializer.
void Quantum.IAssetSerializer.SerializeAssets | ( | Stream | stream, |
AssetObject[] | assets | ||
) |
Serializes an array of asset objects to the specified stream.
stream | The stream to serialize to. |
assets | The array of asset objects to serialize. |
Implemented in Quantum.QuantumUnityJsonSerializer.
void Quantum.IAssetSerializer.SerializeResult | ( | Stream | stream, |
IGameResult | result | ||
) |
Serializes the game result to the specified stream.
stream | The stream to serialize to. |
result | The game result to serialize. |
Implemented in Quantum.QuantumUnityJsonSerializer.
IRuntimeConfig Quantum.IAssetSerializer.DeserializeConfig | ( | Stream | stream | ) |
Deserializes the runtime configuration from the specified stream.
stream | The stream to deserialize from. |
Implemented in Quantum.QuantumUnityJsonSerializer.
IRuntimePlayer Quantum.IAssetSerializer.DeserializePlayer | ( | Stream | stream | ) |
Deserializes the runtime player from the specified stream.
stream | The stream to deserialize from. |
Implemented in Quantum.QuantumUnityJsonSerializer.
AssetObject [] Quantum.IAssetSerializer.DeserializeAssets | ( | Stream | stream | ) |
Deserializes an array of asset objects from the specified stream.
stream | The stream to deserialize from. |
Implemented in Quantum.QuantumUnityJsonSerializer.
IGameResult Quantum.IAssetSerializer.DeserializeResult | ( | Stream | stream | ) |
Deserializes the game result from the specified stream.
stream | The stream to deserialize from. |
Implemented in Quantum.QuantumUnityJsonSerializer.
string Quantum.IAssetSerializer.PrintObject | ( | object | obj | ) |
Prints the string representation of an object.
obj | The object to print. |
Implemented in Quantum.QuantumUnityJsonSerializer.