Reworked con_set and con_arrayset so that they have their own Entry class

This commit is contained in:
smallmodel committed 2023-08-19 02:56:51 +02:00
1 parent 03143d1341
commit b1753df1ed
8 files changed
+459 -185

No files matched your search

+2 -2
View File
@@ -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);