Class for sending RPC over network.
More...
Class for sending RPC over network.
void Send()
{
}
{
}
void OnRPC(ParamsReadContext ctx)
Serialization general interface. Serializer API works with:
Definition at line 49 of file gameplay.c.
◆ JsonSerializer()
void JsonSerializer::JsonSerializer |
( |
| ) |
|
|
inlineprivate |
◆ ~JsonSerializer()
void JsonSerializer::~JsonSerializer |
( |
| ) |
|
|
inlineprivate |
◆ ReadFromString()
Json string deserialization to script variable.
- Parameters
-
variable_in | script variable to be deserialized from string |
jsonString | the input string |
error | from the deserialization. Is used only if the return value of the function is false |
- Returns
- if the deserialization was successful
◆ WriteToString()
Script variable serialization to json string.
- Parameters
-
variable_out | script variable to be serialized to string |
nice | if the string should be formated for human readability |
result | from the serialization, output or error depending on the return value |
- Returns
- if the serialization was successful
Class for sending RPC over network.
The documentation for this class was generated from the following file: