Skip to main content

add_record

Function add_record 

Source
pub fn add_record(record: Option<String>)
Expand description

Adds the game’s record of its play to the report the hook wrote last, and writes it again under the same key. A record over shuyi_platform::crash::RECORD_BYTES is left out, and the report’s log says so. Does nothing if no report was written.