16 class BSSaveDataEvent;
18 struct BGSSaveLoadManagerEvent;
93 static_assert(
sizeof(
Thread) == 0xC0);
104 static_assert(
sizeof(
SaveEntry) == 0x48);
120 void Save(
const char* a_fileName);
121 void Load(
const char* a_fileName);
122 void Load(
const char* a_fileName,
bool a_checkForMods);
182 #ifdef SKYRIM_SUPPORT_AE
183 std::uint16_t unk2B0;
184 std::uint16_t unk2B2;
185 std::uint64_t unk2B8;
195 bool Save_Impl(std::int32_t a_deviceID, std::uint32_t a_outputStats,
const char* a_fileName);
196 bool Load_Impl(
const char* a_fileName, std::int32_t a_deviceID, std::uint32_t a_outputStats,
bool a_checkForMods);
198 #ifdef SKYRIM_SUPPORT_AE
Definition: BGSSaveLoadManager.h:21
std::uint32_t pad74
Definition: BGSSaveLoadManager.h:60
BSFixedString playTime
Definition: BGSSaveLoadManager.h:38
std::uint32_t characterID
Definition: BGSSaveLoadManager.h:58
bool unk65
Definition: BGSSaveLoadManager.h:52
bool unk66
Definition: BGSSaveLoadManager.h:53
BSFixedString fileName
Definition: BGSSaveLoadManager.h:34
std::int32_t saveVersion
Definition: BGSSaveLoadManager.h:40
bool loaded
Definition: BGSSaveLoadManager.h:51
std::uint32_t characterLevel
Definition: BGSSaveLoadManager.h:42
std::uint32_t screenshotHeight
Definition: BGSSaveLoadManager.h:46
bool PopulateFileEntryData()
std::uint16_t pad6A
Definition: BGSSaveLoadManager.h:57
std::int32_t unk60
Definition: BGSSaveLoadManager.h:50
BSFixedString characterName
Definition: BGSSaveLoadManager.h:35
std::uint32_t saveNumber
Definition: BGSSaveLoadManager.h:41
std::uint32_t screenshotWidth
Definition: BGSSaveLoadManager.h:45
float currentExperience
Definition: BGSSaveLoadManager.h:43
REX::EnumSet< SaveType, std::uint32_t > saveType
Definition: BGSSaveLoadManager.h:59
BSFixedString currentLocation
Definition: BGSSaveLoadManager.h:37
std::uint8_t unk68
Definition: BGSSaveLoadManager.h:55
SaveType
Definition: BGSSaveLoadManager.h:24
BSFixedString characterRace
Definition: BGSSaveLoadManager.h:39
REX::W32::FILETIME fileTime
Definition: BGSSaveLoadManager.h:48
std::uint32_t unk4C
Definition: BGSSaveLoadManager.h:47
REX::W32::FILETIME saveTime
Definition: BGSSaveLoadManager.h:49
BSFixedString characterTitle
Definition: BGSSaveLoadManager.h:36
std::uint8_t unk67
Definition: BGSSaveLoadManager.h:54
float requiredExperience
Definition: BGSSaveLoadManager.h:44
bool modded
Definition: BGSSaveLoadManager.h:56
Definition: BGSSaveLoadManager.h:75
void Unk_02(void) override
bool isBusy
Definition: BGSSaveLoadManager.h:87
static constexpr auto VTABLE
Definition: BGSSaveLoadManager.h:78
std::uint32_t pad54
Definition: BGSSaveLoadManager.h:89
void Unk_01(void) override
static constexpr auto RTTI
Definition: BGSSaveLoadManager.h:77
BSTCommonStaticMessageQueue< BSTSmartPointer< bgs::saveload::Request >, 8 > asyncSaveLoadOperationQueue
Definition: BGSSaveLoadManager.h:91
std::uint16_t pad52
Definition: BGSSaveLoadManager.h:88
BSEventFlag haveTask
Definition: BGSSaveLoadManager.h:90
bool isRunnning
Definition: BGSSaveLoadManager.h:86
Definition: BGSSaveLoadManager.h:69
std::uint32_t displayCharacterModded
Definition: BGSSaveLoadManager.h:139
std::int32_t unk250
Definition: BGSSaveLoadManager.h:164
BSTCommonStaticMessageQueue< BSTSmartPointer< bgs::saveload::Request >, 8 > unk370
Definition: BGSSaveLoadManager.h:192
static BGSSaveLoadManager * GetSingleton()
std::uint8_t pad119
Definition: BGSSaveLoadManager.h:146
std::uint32_t unk24C
Definition: BGSSaveLoadManager.h:163
std::uint32_t unk2A4
Definition: BGSSaveLoadManager.h:180
std::uint16_t pad122
Definition: BGSSaveLoadManager.h:151
static constexpr auto RTTI
Definition: BGSSaveLoadManager.h:71
std::uint64_t unk278
Definition: BGSSaveLoadManager.h:173
BSTArray< SaveEntry > loadedEntries
Definition: BGSSaveLoadManager.h:142
std::uint32_t currentCharacterID
Definition: BGSSaveLoadManager.h:136
std::uint8_t unk118
Definition: BGSSaveLoadManager.h:145
std::uint32_t unk2A0
Definition: BGSSaveLoadManager.h:179
std::uint32_t unk0B0
Definition: BGSSaveLoadManager.h:131
std::uint32_t unk0E4
Definition: BGSSaveLoadManager.h:141
std::uint32_t pad23C
Definition: BGSSaveLoadManager.h:159
BSEventNotifyControl ProcessEvent(const BSSaveDataEvent *a_event, BSTEventSource< BSSaveDataEvent > *a_eventSource) override
std::uint16_t pad132
Definition: BGSSaveLoadManager.h:156
void Save(const char *a_fileName)
std::uint16_t lastFileNameLength
Definition: BGSSaveLoadManager.h:161
Thread thread
Definition: BGSSaveLoadManager.h:190
BSEventNotifyControl ProcessEvent(const RaceSexMenuEvent::NameChangedEvent *a_event, BSTEventSource< RaceSexMenuEvent::NameChangedEvent > *a_eventSource) override
static constexpr auto VTABLE
Definition: BGSSaveLoadManager.h:72
std::uint16_t maxFileNameLength
Definition: BGSSaveLoadManager.h:162
std::uint32_t unk270
Definition: BGSSaveLoadManager.h:171
std::uint64_t unk258
Definition: BGSSaveLoadManager.h:166
std::uint16_t unk262
Definition: BGSSaveLoadManager.h:168
std::uint16_t pad11A
Definition: BGSSaveLoadManager.h:147
std::uint32_t unk0B4
Definition: BGSSaveLoadManager.h:132
BSEventNotifyControl ProcessEvent(const BSSystemEvent *a_event, BSTEventSource< BSSystemEvent > *a_eventSource) override
BSFixedString lastFileName
Definition: BGSSaveLoadManager.h:160
std::uint8_t pad131
Definition: BGSSaveLoadManager.h:155
void GenerateCharacterID()
bool Load_Impl(const char *a_fileName, std::int32_t a_deviceID, std::uint32_t a_outputStats, bool a_checkForMods)
std::uint64_t unk0A0
Definition: BGSSaveLoadManager.h:128
std::uint64_t unk2A8
Definition: BGSSaveLoadManager.h:181
std::uint32_t pad134
Definition: BGSSaveLoadManager.h:157
std::uint64_t unk280
Definition: BGSSaveLoadManager.h:174
std::uint32_t saveCount
Definition: BGSSaveLoadManager.h:148
std::uint64_t tickCount
Definition: BGSSaveLoadManager.h:153
std::uint64_t unk290
Definition: BGSSaveLoadManager.h:177
std::uint32_t unk274
Definition: BGSSaveLoadManager.h:172
void Load(const char *a_fileName, bool a_checkForMods)
std::uint32_t unk288
Definition: BGSSaveLoadManager.h:175
std::uint8_t unk130
Definition: BGSSaveLoadManager.h:154
std::uint64_t unk0C8
Definition: BGSSaveLoadManager.h:135
std::uint32_t unk0AC
Definition: BGSSaveLoadManager.h:130
std::uint16_t unk260
Definition: BGSSaveLoadManager.h:167
std::uint32_t unk0E0
Definition: BGSSaveLoadManager.h:140
std::uint32_t pad254
Definition: BGSSaveLoadManager.h:165
std::uint32_t displayCharacterID
Definition: BGSSaveLoadManager.h:138
std::uint64_t unk0B8
Definition: BGSSaveLoadManager.h:133
void Load(const char *a_fileName)
std::uint32_t pad124
Definition: BGSSaveLoadManager.h:152
std::uint8_t unk120
Definition: BGSSaveLoadManager.h:149
BSTHashMap< std::uint64_t, BSFixedString > characterIDNameMap
Definition: BGSSaveLoadManager.h:127
std::uint32_t currentCharacterModded
Definition: BGSSaveLoadManager.h:137
std::uint64_t unk268
Definition: BGSSaveLoadManager.h:170
~BGSSaveLoadManager() override
std::uint64_t unk298
Definition: BGSSaveLoadManager.h:178
bool LoadMostRecentSaveGame()
std::uint32_t unk0A8
Definition: BGSSaveLoadManager.h:129
std::uint32_t unk28C
Definition: BGSSaveLoadManager.h:176
BSTArray< BGSSaveLoadFileEntry * > saveGameList
Definition: BGSSaveLoadManager.h:144
std::uint32_t unk264
Definition: BGSSaveLoadManager.h:169
std::uint8_t pad121
Definition: BGSSaveLoadManager.h:150
const char lastFileFullName[0x104]
Definition: BGSSaveLoadManager.h:158
std::uint64_t unk0C0
Definition: BGSSaveLoadManager.h:134
bool Save_Impl(std::int32_t a_deviceID, std::uint32_t a_outputStats, const char *a_fileName)
Definition: BSAtomic.h:57
Definition: BSTArray.h:378
Definition: BSTMessageQueue.h:81
Definition: BSTEvent.h:143
Definition: BSTEvent.h:19
Definition: BSTHashMap.h:21
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 3 > VTABLE_BGSSaveLoadManager
Definition: Offsets_VTABLE.h:8849
constexpr REL::ID RTTI_BGSSaveLoadManager(static_cast< std::uint64_t >(686602))
constexpr REL::ID RTTI_BGSSaveLoadManager__Thread(static_cast< std::uint64_t >(686610))
BSEventNotifyControl
Definition: BSTEvent.h:12
constexpr std::array< REL::ID, 1 > VTABLE_BGSSaveLoadManager__Thread
Definition: Offsets_VTABLE.h:8850
Definition: BGSSaveLoadManager.h:96
BSTHashMap< std::uint32_t, BSFixedString > autoSaves
Definition: BGSSaveLoadManager.h:101
BSFixedString lastQuicksave
Definition: BGSSaveLoadManager.h:102
std::uint32_t isModded
Definition: BGSSaveLoadManager.h:98
std::uint32_t characterID
Definition: BGSSaveLoadManager.h:97
std::uint32_t manualSaveCount
Definition: BGSSaveLoadManager.h:99
std::uint32_t autoSaveCount
Definition: BGSSaveLoadManager.h:100