OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Functions
LodSnapshots.h File Reference
#include <cstdint>
#include <array>
#include <string>
#include "Library/Binary/BinarySerialization.h"
#include "LodEnums.h"

Classes

struct  LodHeader
 
struct  LodEntry
 
struct  LodHeader_MM6
 
struct  LodEntry_MM6
 
struct  LodFileEntry_MM8
 

Functions

 MM_DECLARE_MEMCOPY_SERIALIZABLE (LodHeader_MM6)
 
void snapshot (const LodHeader &src, LodHeader_MM6 *dst)
 
void reconstruct (const LodHeader_MM6 &src, LodHeader *dst)
 
void snapshot (const LodEntry &src, LodEntry_MM6 *dst)
 
void reconstruct (const LodEntry_MM6 &src, LodEntry *dst)
 
void snapshot (const LodEntry &src, LodFileEntry_MM8 *dst)
 
void reconstruct (const LodFileEntry_MM8 &src, LodEntry *dst)
 
size_t fileEntrySize (LodVersion version)
 

Function Documentation

◆ fileEntrySize()

size_t fileEntrySize ( LodVersion  version)

◆ MM_DECLARE_MEMCOPY_SERIALIZABLE()

MM_DECLARE_MEMCOPY_SERIALIZABLE ( LodHeader_MM6  )

◆ reconstruct() [1/3]

void reconstruct ( const LodEntry_MM6 src,
LodEntry dst 
)

◆ reconstruct() [2/3]

void reconstruct ( const LodFileEntry_MM8 src,
LodEntry dst 
)

◆ reconstruct() [3/3]

void reconstruct ( const LodHeader_MM6 src,
LodHeader dst 
)

◆ snapshot() [1/3]

void snapshot ( const LodEntry src,
LodEntry_MM6 dst 
)

◆ snapshot() [2/3]

void snapshot ( const LodEntry src,
LodFileEntry_MM8 dst 
)

◆ snapshot() [3/3]

void snapshot ( const LodHeader src,
LodHeader_MM6 dst 
)