CommonLibSSE (Parapets fork)
|
#include <Interfaces.h>
Public Types | |
enum | { kVersion = 4 } |
using | EventCallback = void(SerializationInterface *a_intfc) |
using | FormDeleteCallback = void(RE::VMHandle a_handle) |
Public Member Functions | |
std::uint32_t | Version () const |
void | SetUniqueID (std::uint32_t a_uid) const |
void | SetFormDeleteCallback (FormDeleteCallback *a_callback) const |
void | SetLoadCallback (EventCallback *a_callback) const |
void | SetRevertCallback (EventCallback *a_callback) const |
void | SetSaveCallback (EventCallback *a_callback) const |
bool | WriteRecord (std::uint32_t a_type, std::uint32_t a_version, const void *a_buf, std::uint32_t a_length) const |
template<class T , std::enable_if_t< std::negation_v< std::is_pointer< T > >, int > = 0> | |
std::uint32_t | WriteRecord (std::uint32_t a_type, std::uint32_t a_version, const T &a_buf) const |
template<class T , std::size_t N, std::enable_if_t< std::is_array_v< T >, int > = 0> | |
std::uint32_t | WriteRecord (std::uint32_t a_type, std::uint32_t a_version, const T(&a_buf)[N]) const |
bool | OpenRecord (std::uint32_t a_type, std::uint32_t a_version) const |
bool | WriteRecordData (const void *a_buf, std::uint32_t a_length) const |
template<class T , std::enable_if_t< std::negation_v< std::is_pointer< T > >, int > = 0> | |
std::uint32_t | WriteRecordData (const T &a_buf) const |
template<class T , std::size_t N, std::enable_if_t< std::is_array_v< T >, int > = 0> | |
std::uint32_t | WriteRecordData (const T(&a_buf)[N]) const |
bool | GetNextRecordInfo (std::uint32_t &a_type, std::uint32_t &a_version, std::uint32_t &a_length) const |
std::uint32_t | ReadRecordData (void *a_buf, std::uint32_t a_length) const |
template<class T , std::enable_if_t< std::negation_v< std::is_pointer< T > >, int > = 0> | |
std::uint32_t | ReadRecordData (T &a_buf) const |
template<class T , std::size_t N, std::enable_if_t< std::is_array_v< T >, int > = 0> | |
std::uint32_t | ReadRecordData (T(&a_buf)[N]) const |
bool | ResolveFormID (RE::FormID a_oldFormID, RE::FormID &a_newFormID) const |
bool | ResolveHandle (RE::VMHandle a_oldHandle, RE::VMHandle &a_newHandle) const |
Protected Member Functions | |
const detail::SKSESerializationInterface * | GetProxy () const |
using SKSE::SerializationInterface::EventCallback = void(SerializationInterface* a_intfc) |
using SKSE::SerializationInterface::FormDeleteCallback = void(RE::VMHandle a_handle) |
bool SKSE::SerializationInterface::GetNextRecordInfo | ( | std::uint32_t & | a_type, |
std::uint32_t & | a_version, | ||
std::uint32_t & | a_length | ||
) | const |
|
protected |
bool SKSE::SerializationInterface::OpenRecord | ( | std::uint32_t | a_type, |
std::uint32_t | a_version | ||
) | const |
|
inline |
|
inline |
std::uint32_t SKSE::SerializationInterface::ReadRecordData | ( | void * | a_buf, |
std::uint32_t | a_length | ||
) | const |
bool SKSE::SerializationInterface::ResolveFormID | ( | RE::FormID | a_oldFormID, |
RE::FormID & | a_newFormID | ||
) | const |
bool SKSE::SerializationInterface::ResolveHandle | ( | RE::VMHandle | a_oldHandle, |
RE::VMHandle & | a_newHandle | ||
) | const |
void SKSE::SerializationInterface::SetFormDeleteCallback | ( | FormDeleteCallback * | a_callback | ) | const |
void SKSE::SerializationInterface::SetLoadCallback | ( | EventCallback * | a_callback | ) | const |
void SKSE::SerializationInterface::SetRevertCallback | ( | EventCallback * | a_callback | ) | const |
void SKSE::SerializationInterface::SetSaveCallback | ( | EventCallback * | a_callback | ) | const |
void SKSE::SerializationInterface::SetUniqueID | ( | std::uint32_t | a_uid | ) | const |
std::uint32_t SKSE::SerializationInterface::Version | ( | ) | const |
|
inline |
|
inline |
bool SKSE::SerializationInterface::WriteRecord | ( | std::uint32_t | a_type, |
std::uint32_t | a_version, | ||
const void * | a_buf, | ||
std::uint32_t | a_length | ||
) | const |
|
inline |
|
inline |
bool SKSE::SerializationInterface::WriteRecordData | ( | const void * | a_buf, |
std::uint32_t | a_length | ||
) | const |