Serialize
Overview
T
unknown
table
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Functions
CopyIsaacAPIClass()
T CopyIsaacAPIClass(T class)
Helper function to generically copy an Isaac API class without knowing what specific type of class it is. (This is used by the save data manager.) For the list of supported classes, see the CopyableIsaacAPIClassType
enum.
DeserializeBitSet128()
BitSet128
DeserializeBitSet128(table<unknown, unknown> bitSet128)
Helper function to convert a serialized object to a normal BitSet128
object. (This is used by the save data manager when reading data from the "save#.dat" file.)
DeserializeColor()
Color
DeserializeColor(table<unknown, unknown> color)
Helper function to convert a serialized object to a normal Color
object. (This is used by the save data manager when reading data from the "save#.dat" file.)
DeserializeIsaacAPIClass()
unknown DeserializeIsaacAPIClass(unknown serializedIsaacAPIClass)
Helper function to generically deserialize an Isaac API class without knowing what specific type of class it is. (This is used by the save data manager when reading data from the "save#.dat" file.) For the list of supported classes, see the CopyableIsaacAPIClassType
enum.
DeserializeKColor()
KColor
DeserializeKColor(table<unknown, unknown> kColor)
Helper function to convert a serialized object to a normal KColor
object. (This is used by the save data manager when reading data from the "save#.dat" file.)
DeserializeRNG()
RNG
DeserializeRNG(table<unknown, unknown> rng)
Helper function to convert a serialized object to a normal RNG
object. (This is used by the save data manager when reading data from the "save#.dat" file.)
DeserializeTableWithNumberKeys()
table DeserializeTableWithNumberKeys(table<unknown, unknown> tableWithNumberKeys)
Helper function to convert a serialized object to a table with number keys. (This is used by the save data manager when reading data from the "save#.dat" file.)
DeserializeVector()
Vector
DeserializeVector(table<unknown, unknown> vector)
Helper function to convert a serialized object to a normal Vector
object. (This is used by the save data manager when reading data from the "save#.dat" file.)
IsCopyableIsaacAPIClass()
boolean IsCopyableIsaacAPIClass(unknown object)
Helper function to generically check if a given object is a copyable Isaac API class. (This is used by the save data manager when determining what is safe to copy.) For the list of supported classes, see the CopyableIsaacAPIClassType
enum.
IsSerializationBrand()
boolean IsSerializationBrand(unknown key)
In order to find out what type of serialized Isaac API class this is, we search through the serialized table for brands.
IsSerializedBitSet128()
boolean IsSerializedBitSet128(unknown object)
Used to determine is the given table is a serialized BitSet128
object created by the deepCopy
function.
IsSerializedColor()
boolean IsSerializedColor(unknown object)
Used to determine is the given table is a serialized Color
object created by the deepCopy
function.
IsSerializedIsaacAPIClass()
boolean IsSerializedIsaacAPIClass(unknown object)
Helper function to generically check if a given Lua table is a serialized Isaac API class. (This is used by the save data manager when reading data from the "save#.dat" file.) For the list of supported classes, see the CopyableIsaacAPIClassType
enum.
IsSerializedKColor()
boolean IsSerializedKColor(unknown object)
Used to determine is the given table is a serialized KColor
object created by the deepCopy
function.
IsSerializedRNG()
boolean IsSerializedRNG(unknown object)
Used to determine is the given table is a serialized RNG
object created by the DeepCopy
function.
IsSerializedTableWithNumberKeys()
boolean IsSerializedTableWithNumberKeys(unknown object)
Used to determine is the given table is a serialized table with number keys object created by the DeepCopy
function.
IsSerializedVector()
boolean IsSerializedVector(unknown object)
Used to determine is the given table is a serialized Vector
object created by the deepCopy
function.
SerializeBitSet128()
unknown SerializeBitSet128(
BitSet128
bitSet128)
Helper function to convert a BitSet128
object to a serialized version.
SerializeColor()
unknown SerializeColor(
Color
color)
Helper function to convert a Color
object to a serialized version.
SerializeIsaacAPIClass()
unknown SerializeIsaacAPIClass(unknown class)
Helper function to generically serialize an Isaac API class without knowing what specific type of class it is. (This is used by the save data manager when writing data to the "save#.dat" file.) For the list of supported classes, see the CopyableIsaacAPIClassType
enum.
SerializeKColor()
unknown SerializeKColor(
KColor
kColor)
Helper function to convert a KColor
object to a serialized version.
SerializeRNG()
unknown SerializeRNG(
RNG
rng)
Helper function to convert a RNG
object to a serialized version.
SerializeTableWithNumberKeys()
unknown SerializeTableWithNumberKeys(table tableWithNumberKeys)
Helper function to convert a table with number keys object to a serialized version. This is useful since parsing a table with non consecutive number keys will result in unexpect values being saved.
SerializeVector()
unknown SerializeVector(
Vector
vector)
Helper function to convert a Vector
object to a serialized version.
Last updated