mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Reworked con_set and con_arrayset so that they have their own Entry class
This commit is contained in:
parent
03143d1341
commit
b1753df1ed
8 changed files with 459 additions and 185 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue