CommonLibSSE (powerof3)
RE::BGSSaveLoadManager Class Reference

#include <BGSSaveLoadManager.h>

Inheritance diagram for RE::BGSSaveLoadManager:
RE::BSTEventSink< BSSaveDataEvent > RE::BSTEventSink< RaceSexMenuEvent::NameChangedEvent > RE::BSTEventSource< BGSSaveLoadManagerEvent > RE::BSTEventSink< BSSystemEvent >

Classes

struct  SaveEntry
 
class  Thread
 

Public Member Functions

 ~BGSSaveLoadManager () override
 
BSEventNotifyControl ProcessEvent (const BSSaveDataEvent *a_event, BSTEventSource< BSSaveDataEvent > *a_eventSource) override
 
BSEventNotifyControl ProcessEvent (const RaceSexMenuEvent::NameChangedEvent *a_event, BSTEventSource< RaceSexMenuEvent::NameChangedEvent > *a_eventSource) override
 
BSEventNotifyControl ProcessEvent (const BSSystemEvent *a_event, BSTEventSource< BSSystemEvent > *a_eventSource) override
 
void GenerateCharacterID ()
 
void Save (const char *a_fileName)
 
void Load (const char *a_fileName)
 
void Load (const char *a_fileName, bool a_checkForMods)
 
bool LoadMostRecentSaveGame ()
 
bool PopulateSaveList ()
 
- Public Member Functions inherited from RE::BSTEventSink< BSSaveDataEvent >
virtual ~BSTEventSink ()=default
 
- Public Member Functions inherited from RE::BSTEventSink< RaceSexMenuEvent::NameChangedEvent >
virtual ~BSTEventSink ()=default
 
- Public Member Functions inherited from RE::BSTEventSource< BGSSaveLoadManagerEvent >
 BSTEventSource ()
 
void AddEventSink (Sink *a_eventSink)
 
void AddEventSink (BSTEventSink< SinkEvent > *a_sink)
 
void RemoveEventSink (Sink *a_eventSink)
 
void SendEvent (const BGSSaveLoadManagerEvent *a_event)
 
void operator() (const BGSSaveLoadManagerEvent *a_event)
 
- Public Member Functions inherited from RE::BSTEventSink< BSSystemEvent >
virtual ~BSTEventSink ()=default
 

Static Public Member Functions

static BGSSaveLoadManagerGetSingleton ()
 

Public Attributes

BSTHashMap< std::uint64_t, BSFixedStringcharacterIDNameMap
 
std::uint64_t unk0A0
 
std::uint32_t unk0A8
 
std::uint32_t unk0AC
 
std::uint32_t unk0B0
 
std::uint32_t unk0B4
 
std::uint64_t unk0B8
 
std::uint64_t unk0C0
 
std::uint64_t unk0C8
 
std::uint32_t currentCharacterID
 
std::uint32_t currentCharacterModded
 
std::uint32_t displayCharacterID
 
std::uint32_t displayCharacterModded
 
std::uint32_t unk0E0
 
std::uint32_t unk0E4
 
BSTArray< SaveEntryloadedEntries
 
BSTArray< BGSSaveLoadFileEntry * > saveGameList
 
std::uint8_t unk118
 
std::uint8_t pad119
 
std::uint16_t pad11A
 
std::uint32_t saveCount
 
std::uint8_t unk120
 
std::uint8_t pad121
 
std::uint16_t pad122
 
std::uint32_t pad124
 
std::uint64_t tickCount
 
std::uint8_t unk130
 
std::uint8_t pad131
 
std::uint16_t pad132
 
std::uint32_t pad134
 
const char lastFileFullName [0x104]
 
std::uint32_t pad23C
 
BSFixedString lastFileName
 
std::uint16_t lastFileNameLength
 
std::uint16_t maxFileNameLength
 
std::uint32_t unk24C
 
std::int32_t unk250
 
std::uint32_t pad254
 
std::uint64_t unk258
 
std::uint16_t unk260
 
std::uint16_t unk262
 
std::uint32_t unk264
 
std::uint64_t unk268
 
std::uint32_t unk270
 
std::uint32_t unk274
 
std::uint64_t unk278
 
std::uint64_t unk280
 
std::uint32_t unk288
 
std::uint32_t unk28C
 
std::uint64_t unk290
 
std::uint64_t unk298
 
std::uint32_t unk2A0
 
std::uint32_t unk2A4
 
std::uint64_t unk2A8
 
Thread thread
 
BSTCommonStaticMessageQueue< BSTSmartPointer< bgs::saveload::Request >, 8 > unk370
 
- Public Attributes inherited from RE::BSTEventSource< BGSSaveLoadManagerEvent >
BSTArray< Sink * > sinks
 
BSTArray< Sink * > pendingRegisters
 
BSTArray< Sink * > pendingUnregisters
 
BSSpinLock lock
 
bool notifying
 
std::uint8_t pad51
 
std::uint16_t pad52
 
std::uint32_t pad54
 

Static Public Attributes

static constexpr auto RTTI = RTTI_BGSSaveLoadManager
 
static constexpr auto VTABLE = VTABLE_BGSSaveLoadManager
 

Protected Member Functions

bool Save_Impl (std::int32_t a_deviceID, std::uint32_t a_outputStats, const char *a_fileName)
 
bool Load_Impl (const char *a_fileName, std::int32_t a_deviceID, std::uint32_t a_outputStats, bool a_checkForMods)
 

Additional Inherited Members

- Public Types inherited from RE::BSTEventSource< BGSSaveLoadManagerEvent >
using Sink = BSTEventSink< BGSSaveLoadManagerEvent >
 

Constructor & Destructor Documentation

◆ ~BGSSaveLoadManager()

RE::BGSSaveLoadManager::~BGSSaveLoadManager ( )
override

Member Function Documentation

◆ GenerateCharacterID()

void RE::BGSSaveLoadManager::GenerateCharacterID ( )

◆ GetSingleton()

static BGSSaveLoadManager* RE::BGSSaveLoadManager::GetSingleton ( )
static

◆ Load() [1/2]

void RE::BGSSaveLoadManager::Load ( const char *  a_fileName)

◆ Load() [2/2]

void RE::BGSSaveLoadManager::Load ( const char *  a_fileName,
bool  a_checkForMods 
)

◆ Load_Impl()

bool RE::BGSSaveLoadManager::Load_Impl ( const char *  a_fileName,
std::int32_t  a_deviceID,
std::uint32_t  a_outputStats,
bool  a_checkForMods 
)
protected

◆ LoadMostRecentSaveGame()

bool RE::BGSSaveLoadManager::LoadMostRecentSaveGame ( )

◆ PopulateSaveList()

bool RE::BGSSaveLoadManager::PopulateSaveList ( )

◆ ProcessEvent() [1/3]

BSEventNotifyControl RE::BGSSaveLoadManager::ProcessEvent ( const BSSaveDataEvent *  a_event,
BSTEventSource< BSSaveDataEvent > *  a_eventSource 
)
overridevirtual

◆ ProcessEvent() [2/3]

BSEventNotifyControl RE::BGSSaveLoadManager::ProcessEvent ( const BSSystemEvent *  a_event,
BSTEventSource< BSSystemEvent > *  a_eventSource 
)
overridevirtual

◆ ProcessEvent() [3/3]

BSEventNotifyControl RE::BGSSaveLoadManager::ProcessEvent ( const RaceSexMenuEvent::NameChangedEvent a_event,
BSTEventSource< RaceSexMenuEvent::NameChangedEvent > *  a_eventSource 
)
overridevirtual

◆ Save()

void RE::BGSSaveLoadManager::Save ( const char *  a_fileName)

◆ Save_Impl()

bool RE::BGSSaveLoadManager::Save_Impl ( std::int32_t  a_deviceID,
std::uint32_t  a_outputStats,
const char *  a_fileName 
)
protected

Member Data Documentation

◆ characterIDNameMap

BSTHashMap<std::uint64_t, BSFixedString> RE::BGSSaveLoadManager::characterIDNameMap

◆ currentCharacterID

std::uint32_t RE::BGSSaveLoadManager::currentCharacterID

◆ currentCharacterModded

std::uint32_t RE::BGSSaveLoadManager::currentCharacterModded

◆ displayCharacterID

std::uint32_t RE::BGSSaveLoadManager::displayCharacterID

◆ displayCharacterModded

std::uint32_t RE::BGSSaveLoadManager::displayCharacterModded

◆ lastFileFullName

const char RE::BGSSaveLoadManager::lastFileFullName[0x104]

◆ lastFileName

BSFixedString RE::BGSSaveLoadManager::lastFileName

◆ lastFileNameLength

std::uint16_t RE::BGSSaveLoadManager::lastFileNameLength

◆ loadedEntries

BSTArray<SaveEntry> RE::BGSSaveLoadManager::loadedEntries

◆ maxFileNameLength

std::uint16_t RE::BGSSaveLoadManager::maxFileNameLength

◆ pad119

std::uint8_t RE::BGSSaveLoadManager::pad119

◆ pad11A

std::uint16_t RE::BGSSaveLoadManager::pad11A

◆ pad121

std::uint8_t RE::BGSSaveLoadManager::pad121

◆ pad122

std::uint16_t RE::BGSSaveLoadManager::pad122

◆ pad124

std::uint32_t RE::BGSSaveLoadManager::pad124

◆ pad131

std::uint8_t RE::BGSSaveLoadManager::pad131

◆ pad132

std::uint16_t RE::BGSSaveLoadManager::pad132

◆ pad134

std::uint32_t RE::BGSSaveLoadManager::pad134

◆ pad23C

std::uint32_t RE::BGSSaveLoadManager::pad23C

◆ pad254

std::uint32_t RE::BGSSaveLoadManager::pad254

◆ RTTI

constexpr auto RE::BGSSaveLoadManager::RTTI = RTTI_BGSSaveLoadManager
inlinestaticconstexpr

◆ saveCount

std::uint32_t RE::BGSSaveLoadManager::saveCount

◆ saveGameList

BSTArray<BGSSaveLoadFileEntry*> RE::BGSSaveLoadManager::saveGameList

◆ thread

Thread RE::BGSSaveLoadManager::thread

◆ tickCount

std::uint64_t RE::BGSSaveLoadManager::tickCount

◆ unk0A0

std::uint64_t RE::BGSSaveLoadManager::unk0A0

◆ unk0A8

std::uint32_t RE::BGSSaveLoadManager::unk0A8

◆ unk0AC

std::uint32_t RE::BGSSaveLoadManager::unk0AC

◆ unk0B0

std::uint32_t RE::BGSSaveLoadManager::unk0B0

◆ unk0B4

std::uint32_t RE::BGSSaveLoadManager::unk0B4

◆ unk0B8

std::uint64_t RE::BGSSaveLoadManager::unk0B8

◆ unk0C0

std::uint64_t RE::BGSSaveLoadManager::unk0C0

◆ unk0C8

std::uint64_t RE::BGSSaveLoadManager::unk0C8

◆ unk0E0

std::uint32_t RE::BGSSaveLoadManager::unk0E0

◆ unk0E4

std::uint32_t RE::BGSSaveLoadManager::unk0E4

◆ unk118

std::uint8_t RE::BGSSaveLoadManager::unk118

◆ unk120

std::uint8_t RE::BGSSaveLoadManager::unk120

◆ unk130

std::uint8_t RE::BGSSaveLoadManager::unk130

◆ unk24C

std::uint32_t RE::BGSSaveLoadManager::unk24C

◆ unk250

std::int32_t RE::BGSSaveLoadManager::unk250

◆ unk258

std::uint64_t RE::BGSSaveLoadManager::unk258

◆ unk260

std::uint16_t RE::BGSSaveLoadManager::unk260

◆ unk262

std::uint16_t RE::BGSSaveLoadManager::unk262

◆ unk264

std::uint32_t RE::BGSSaveLoadManager::unk264

◆ unk268

std::uint64_t RE::BGSSaveLoadManager::unk268

◆ unk270

std::uint32_t RE::BGSSaveLoadManager::unk270

◆ unk274

std::uint32_t RE::BGSSaveLoadManager::unk274

◆ unk278

std::uint64_t RE::BGSSaveLoadManager::unk278

◆ unk280

std::uint64_t RE::BGSSaveLoadManager::unk280

◆ unk288

std::uint32_t RE::BGSSaveLoadManager::unk288

◆ unk28C

std::uint32_t RE::BGSSaveLoadManager::unk28C

◆ unk290

std::uint64_t RE::BGSSaveLoadManager::unk290

◆ unk298

std::uint64_t RE::BGSSaveLoadManager::unk298

◆ unk2A0

std::uint32_t RE::BGSSaveLoadManager::unk2A0

◆ unk2A4

std::uint32_t RE::BGSSaveLoadManager::unk2A4

◆ unk2A8

std::uint64_t RE::BGSSaveLoadManager::unk2A8

◆ unk370

◆ VTABLE

constexpr auto RE::BGSSaveLoadManager::VTABLE = VTABLE_BGSSaveLoadManager
inlinestaticconstexpr

The documentation for this class was generated from the following file: