mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-18 10:00:21 +02:00
Reworked con_set and con_arrayset so that they have their own Entry class
This commit is contained in:
8 files changed
+459
-185
No files matched your search
@@ -71,14 +71,14 @@ int HashCode<ScriptVariable>(const ScriptVariable& key)
|
||||
|
||||
#if defined(ARCHIVE_SUPPORTED)
|
||||
template<>
|
||||
void Entry<ScriptVariable, ScriptVariable>::Archive(Archiver& arc)
|
||||
void con_set<ScriptVariable, ScriptVariable>::Entry::Archive(Archiver& arc)
|
||||
{
|
||||
key.ArchiveInternal(arc);
|
||||
value.ArchiveInternal(arc);
|
||||
}
|
||||
|
||||
template<>
|
||||
void Entry<short3, ScriptVariable>::Archive(Archiver& arc)
|
||||
void con_set<short3, ScriptVariable>::Entry::Archive(Archiver& arc)
|
||||
{
|
||||
if (arc.Loading()) {
|
||||
value.Archive(arc);
|
||||
|
||||
Reference in new issue
Block a user