Struct tts_external_api::messages::MessageReload
source · pub struct MessageReload {
pub script_states: Value,
}
Expand description
Update the Lua scripts and UI XML for any objects listed in the message,
and then reloads the save file, the same way it does when pressing “Save & Play” within the in-game editor.
Returns an AnswerReload
message.
Any objects mentioned have both their Lua script and their UI XML updated. If no value is set for either the “script” or “ui” key then the corresponding Lua script or UI XML is deleted.
Fields§
§script_states: Value
Contains a list objects and their state
Implementations§
source§impl MessageReload
impl MessageReload
sourcepub fn as_message(self) -> Message
pub fn as_message(self) -> Message
Returns self as Message::MessageReload