voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
PluginDataLoader
voxelman
serialization
dataloader
Undocumented in source.
struct
PluginDataLoader {
StringMap
*
stringMap
;
ubyte
[]
delegate
(
ref
IoKey
)
readEntryRaw
;
IoStorageType
storageType
();
void
readEntryDecoded
(IoKey key, T value);
T
readEntryDecoded
(IoKey key);
void
readMapping
(IoKey key, T mapping);
}
Members
Functions
readEntryDecoded
void
readEntryDecoded
(IoKey key, T value)
decodes entry if data in db is not empty. Leaves value untouched otherwise.
readEntryDecoded
T
readEntryDecoded
(IoKey key)
Undocumented in source. Be warned that the author may not have intended to support it.
readMapping
void
readMapping
(IoKey key, T mapping)
Undocumented in source. Be warned that the author may not have intended to support it.
storageType
IoStorageType
storageType
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
readEntryRaw
ubyte
[]
delegate
(
ref
IoKey
)
readEntryRaw
;
Undocumented in source.
stringMap
StringMap
*
stringMap
;
Undocumented in source.
Meta
Source
See Implementation
voxelman
serialization
dataloader
structs
PluginDataLoader