CommonLibSSE (powerof3)
|
#include <RegistrationMap.h>
Public Member Functions | |
RegistrationMapBase () | |
RegistrationMapBase (const RegistrationMapBase &a_rhs) | |
RegistrationMapBase (RegistrationMapBase &&a_rhs) | |
~RegistrationMapBase () | |
RegistrationMapBase & | operator= (const RegistrationMapBase &a_rhs) |
RegistrationMapBase & | operator= (RegistrationMapBase &&a_rhs) |
bool | Register (const RE::TESForm *a_form, RE::BSFixedString a_callback) |
bool | Register (const RE::BGSBaseAlias *a_alias, RE::BSFixedString a_callback) |
bool | Unregister (const RE::TESForm *a_form) |
bool | Unregister (const RE::BGSBaseAlias *a_alias) |
void | Clear () |
bool | Save (SerializationInterface *a_intfc, std::uint32_t a_type, std::uint32_t a_version) |
bool | Save (SerializationInterface *a_intfc) |
bool | Load (SerializationInterface *a_intfc) |
Protected Types | |
using | Lock = std::recursive_mutex |
using | Locker = std::lock_guard< Lock > |
using | EventName = std::string |
Protected Member Functions | |
bool | Register (const void *a_object, RE::BSFixedString a_callback, RE::VMTypeID a_typeID) |
bool | Unregister (const void *a_object, RE::VMTypeID a_typeID) |
Protected Attributes | |
std::map< RE::VMHandle, EventName > | _regs |
Lock | _lock |
|
protected |
|
protected |
|
protected |
SKSE::Impl::RegistrationMapBase::RegistrationMapBase | ( | ) |
SKSE::Impl::RegistrationMapBase::RegistrationMapBase | ( | const RegistrationMapBase & | a_rhs | ) |
SKSE::Impl::RegistrationMapBase::RegistrationMapBase | ( | RegistrationMapBase && | a_rhs | ) |
SKSE::Impl::RegistrationMapBase::~RegistrationMapBase | ( | ) |
void SKSE::Impl::RegistrationMapBase::Clear | ( | ) |
bool SKSE::Impl::RegistrationMapBase::Load | ( | SerializationInterface * | a_intfc | ) |
RegistrationMapBase& SKSE::Impl::RegistrationMapBase::operator= | ( | const RegistrationMapBase & | a_rhs | ) |
RegistrationMapBase& SKSE::Impl::RegistrationMapBase::operator= | ( | RegistrationMapBase && | a_rhs | ) |
bool SKSE::Impl::RegistrationMapBase::Register | ( | const RE::BGSBaseAlias * | a_alias, |
RE::BSFixedString | a_callback | ||
) |
bool SKSE::Impl::RegistrationMapBase::Register | ( | const RE::TESForm * | a_form, |
RE::BSFixedString | a_callback | ||
) |
|
protected |
bool SKSE::Impl::RegistrationMapBase::Save | ( | SerializationInterface * | a_intfc | ) |
bool SKSE::Impl::RegistrationMapBase::Save | ( | SerializationInterface * | a_intfc, |
std::uint32_t | a_type, | ||
std::uint32_t | a_version | ||
) |
bool SKSE::Impl::RegistrationMapBase::Unregister | ( | const RE::BGSBaseAlias * | a_alias | ) |
bool SKSE::Impl::RegistrationMapBase::Unregister | ( | const RE::TESForm * | a_form | ) |
|
protected |
|
mutableprotected |
|
protected |