Represents a session for storing tracker messages.
More...
|
|
void | CreateSessionFile () |
| | Creates a session file for storing tracker messages.
|
| |
| void | AddMessage (TrackerMessage message) |
| | Adds a tracker message to the session.
|
| |
| void | AddMessage (TrackerMessage message, bool closeJson) |
| | Adds a tracker message to the session.
|
| |
|
void | Save () |
| | Saves the session file.
|
| |
| string | JSONString () |
| | Serialize the session into JSON. A weird fullserializer issue adds backslashes when serializing nested JSON objects. The backslash gets removed here. DO NOT USE BACKSLASHES IN MESSAGES!
|
| |
Represents a session for storing tracker messages.
◆ AddMessage() [1/2]
Adds a tracker message to the session.
- Parameters
-
| message | The tracker message to add. |
- See also
- TrackerMessage, Session, Session.AddMessage(TrackerMessage, bool)
◆ AddMessage() [2/2]
| void Enablegames.Session.AddMessage |
( |
TrackerMessage | message, |
|
|
bool | closeJson ) |
|
inline |
Adds a tracker message to the session.
- Parameters
-
| message | The tracker message to add. |
- See also
- TrackerMessage, Session, Session.AddMessage(TrackerMessage, bool)
◆ JSONString()
| string Enablegames.Session.JSONString |
( |
| ) |
|
|
inline |
Serialize the session into JSON. A weird fullserializer issue adds backslashes when serializing nested JSON objects. The backslash gets removed here. DO NOT USE BACKSLASHES IN MESSAGES!
- Returns
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Tracking/Session/Session.cs