Struct tts_external_api::messages::AnswerReload
source · Expand description
After loading a new game in TTS, TTS will send all the Lua scripts
and UI XML from the new game as an AnswerReload
.
TTS sends this message as a response to MessageGetScripts
and MessageReload
.
Example
{
"message_id": 1,
"script_states": [
{
"name": "Global",
"guid": "-1",
"script": "...",
"ui": "..."
},
{
"name": "BlackJack Dealer's Deck",
"guid": "a0b2d5",
"script": "..."
},
]
}
Fields§
§save_path: String
Path to the save file of the current save
script_states: Value
Contains a list objects and their state
Trait Implementations§
source§impl Debug for AnswerReload
impl Debug for AnswerReload
source§impl<'de> Deserialize<'de> for AnswerReload
impl<'de> Deserialize<'de> for AnswerReload
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more