Default integrity key for structured saves. Override this in map configuration with a private, map-specific value. It is intended to deter edited player save codes, not provide cryptographic authentication against somebody who can inspect the map script.
public constant SERIALIZATION_FORMAT_VERSION = 2Current tagged serialization wire format.
public constant SERIALIZATION_INTEGRITY_KEY = 0x6D2B79F5Declaration shown above.
Configurable. Override it in your map’s config package.
public constant SERIALIZATION_REAL_DECIMALS = 6Decimal places retained for Jass real values. Trailing zeroes are removed on the wire.
Configurable. Override it in your map’s config package.
public function serializationFieldId(string name) returns intReturns the stable, case-sensitive numeric ID used for a persisted field name.
public function int.readSerializedField(FieldSerializationReader reader, string name) returns intType-directed field readers used by the compiler-expanded mapper.
public function real.readSerializedField(FieldSerializationReader reader, string name) returns realpublic function string.readSerializedField(FieldSerializationReader reader, string name) returns stringpublic function boolean.readSerializedField(FieldSerializationReader reader, string name) returns boolean