dao::messages::SaveGameMessage
struct
Derives from dao::messages::Message.
Asks the save proxy, the engine object that runs saving and loading, to save the game (dao/Saves.h).
Declared in dao/Messages.h.
Functions
DAO_VFTABLE()
DAO_VFTABLE(64880)
Fields
| Field | Type | |
|---|---|---|
kind |
std::int32_t |
0 manual save, 1 autosave, 2 quicksave; 3 is a fourth, unnamed kind |
name |
std::byte |
Not the save’s name, which is the save screen’s SaveLoad.SaveName: a path the written .das is copied to, relative to the game’s folder; leave it empty, as the game does. An engine std::wstring (WStringRep, dao/core/Msvc8.h). |
slot |
std::int32_t |
the save slot; -1 lets the handler choose, as the quicksave key does |