📚
Library of Isaac
  • Library of Isaac
  • Get Started
  • F.A.Q.
  • Custom Enums
    • AmbushType
    • AngelVariant
    • BabyLongLegsVariant
    • BabyVariant
    • BeastVariant
    • BegottenVariant
    • BigBonyVariant
    • BigHornVariant
    • BloodClotSubType
    • BloodExplosionSubType
    • BloodPuppyVariant
    • BlueFlySubType
    • BoilVariant
    • BonyVariant
    • BoomFlyVariant
    • BossID
    • CallbackOptionalArgType
    • CallbackReturnMode
    • CanaryVariant
    • Charger2Variant
    • ChargerSubType
    • ChargerVariant
    • ChimeraVariant
    • ChubVariant
    • ClottyVariant
    • ClutchVariant
    • ConjoinedFattyVariant
    • ConstantStoneShooterSubType
    • ConstantStoneShooterVariant
    • ConversionHeartSubType
    • CopyableIsaacAPIClassType
    • CrawlSpaceVariant
    • CrazyLongLegsVariant
    • CultistVariant
    • CustomCallback
    • CustomReviveType
    • DaddyLongLegsVariant
    • DannyVariant
    • DarkEsauVariant
    • DeathsHeadVariant
    • DeathVariant
    • DebugMode
    • DiceFloorSubType
    • Dimension
    • DingleVariant
    • DipFamiliarSubType
    • DipVariant
    • DogmaVariant
    • DopleVariant
    • DukeVariant
    • DumpVariant
    • EnvyVariant
    • EvisVariant
    • ExorcistVariant
    • EyeVariant
    • FacelessVariant
    • FallenVariant
    • FattyVariant
    • FireplaceVariant
    • FistulaVariant
    • FlyBombVariant
    • Gaper2Variant
    • GaperVariant
    • GeminiVariant
    • GenericPropVariant
    • GibSubType
    • GlobinVariant
    • GluttonyVariant
    • GoatVariant
    • GreedVariant
    • GridEntityXMLType
    • GrimaceVariant
    • GrubVariant
    • GurgleVariant
    • GurglingVariant
    • GusherVariant
    • GutsVariant
    • GuttedFattyVariant
    • GyroVariant
    • HauntVariant
    • HealthType
    • HeartVariant
    • HeavenLightDoorSubType
    • HiveVariant
    • HomunculusVariant
    • HopperVariant
    • HostVariant
    • InventoryType
    • IsaacVariant
    • ItemConfigTag
    • KnifeVariant
    • KnightVariant
    • LambVariant
    • LarryJrVariant
    • LeaperVariant
    • LeechVariant
    • LeperVariant
    • LittleHornVariant
    • LockState
    • LokiVariant
    • LustVariant
    • MamaGurdyVariant
    • MaskVariant
    • MawVariant
    • MegaSatanVariant
    • MembrainVariant
    • MoleVariant
    • MomsHeartVariant
    • MomVariant
    • Monstro2Variant
    • MotherSubType
    • MotherVariant
    • MoveableTNTVariant
    • MrMawVariant
    • MrMineVariant
    • MulliganVariant
    • NeedleVariant
    • NerveEndingVariant
    • ParaBiteVariant
    • PeeperFattyVariant
    • PeepVariant
    • PickupNullSubType
    • PillEffectType
    • PinVariant
    • PitfallVariant
    • PitState
    • PitVariant
    • PokyVariant
    • PoltyVariant
    • PolycephalusVariant
    • PoofSubType
    • PoopEntityVariant
    • PoopGridEntityVariant
    • PoopState
    • PooterVariant
    • PortalVariant
    • PressurePlateVariant
    • PreyVariant
    • PrideVariant
    • ProjectilesMode
    • PurgatorySubType
    • RageCreepVariant
    • RaglichVariant
    • RaglingVariant
    • RagManVariant
    • RagMegaVariant
    • RevenantVariant
    • RockSpiderVariant
    • RockState
    • RockVariant
    • RotgutVariant
    • RoundWormVariant
    • SatanVariant
    • ScourgeVariant
    • SerializationBrand
    • SerializationType
    • ShockwaveSoundMode
    • ShopKeeperVariant
    • SingeVariant
    • SirenVariant
    • SkinnyVariant
    • SlothVariant
    • SlotVariant
    • SpiderWebState
    • SpittyVariant
    • SquirtVariant
    • StageID
    • StatueVariant
    • StoneyVariant
    • SubHorfVariant
    • SuckerVariant
    • SwingerVariant
    • TallLadderSubType
    • TNTState
    • TrapdoorVariant
    • TumorVariant
    • UltraCoinVariant
    • UltraGreedVariant
    • VariablePersistenceMode
    • VisageVariant
    • VisFattyVariant
    • VisVariant
    • WalkingBoilVariant
    • WallCreepVariant
    • WarVariant
    • WhipperVariant
    • WidowVariant
    • WrathVariant
  • CustomCallback
  • Modules
    • Ambush
    • Benchmark
    • BitSet128
    • Bombs
    • Bosses
    • Charge
    • Collectibles
    • Color
    • CustomItemPools
    • Debug
    • Dimensions
    • Direction
    • Doors
    • Effects
    • Entities
    • EntitySpecific
    • Familiars
    • GridEntities
    • GridIndexes
    • GridSpecific
    • Input
    • IsaacAPIClass
    • ItemPool
    • JSON
    • Log
    • Pause
    • Pickups
    • PickupSpecific
    • Pills
    • Players
    • Random
    • RNG
    • Rooms
    • RoomSpecific
    • Run
    • SaveManager
    • Serialize
    • ShockWaves
    • Sprites
    • Stage
    • Trinkets
    • UI
    • Utils
      • DeepCopy
      • Easings
      • Flags
      • Functions
      • Math
      • String
      • Tables
    • Vector
Powered by GitBook
On this page
  • Overview
  • Functions
  • CopyIsaacAPIClass()
  • DeserializeBitSet128()
  • DeserializeColor()
  • DeserializeIsaacAPIClass()
  • DeserializeKColor()
  • DeserializeRNG()
  • DeserializeTableWithNumberKeys()
  • DeserializeVector()
  • IsCopyableIsaacAPIClass()
  • IsSerializationBrand()
  • IsSerializedBitSet128()
  • IsSerializedColor()
  • IsSerializedIsaacAPIClass()
  • IsSerializedKColor()
  • IsSerializedRNG()
  • IsSerializedTableWithNumberKeys()
  • IsSerializedVector()
  • SerializeBitSet128()
  • SerializeColor()
  • SerializeIsaacAPIClass()
  • SerializeKColor()
  • SerializeRNG()
  • SerializeTableWithNumberKeys()
  • SerializeVector()
  1. Modules

Serialize

Overview

Return Value
Function

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()

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()

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()

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()

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()

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()

Helper function to convert a BitSet128 object to a serialized version.

SerializeColor()

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()

Helper function to convert a KColor object to a serialized version.

SerializeRNG()

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()

Helper function to convert a Vector object to a serialized version.

PreviousSaveManagerNextShockWaves

Last updated 2 years ago

(T class)

(table<unknown, unknown> bitSet128)

(table<unknown, unknown> color)

(unknown serializedIsaacAPIClass)

(table<unknown, unknown> kColor)

(table<unknown, unknown> rng)

(table<unknown, unknown> tableWithNumberKeys)

(table<unknown, unknown> vector)

(unknown object)

(unknown key)

(unknown object)

(unknown object)

(unknown object)

(unknown object)

(unknown object)

(unknown object)

(unknown object)

( bitSet128)

( color)

(unknown class)

( kColor)

( rng)

(table tableWithNumberKeys)

( vector)

DeserializeBitSet128(table<unknown, unknown> bitSet128)

DeserializeColor(table<unknown, unknown> color)

DeserializeKColor(table<unknown, unknown> kColor)

DeserializeRNG(table<unknown, unknown> rng)

DeserializeVector(table<unknown, unknown> vector)

unknown SerializeBitSet128( bitSet128)

unknown SerializeColor( color)

unknown SerializeKColor( kColor)

unknown SerializeRNG( rng)

unknown SerializeVector( vector)

BitSet128
Color
KColor
RNG
Vector
BitSet128
Color
KColor
RNG
Vector
BitSet128
Color
KColor
RNG
Vector
CopyIsaacAPIClass
DeserializeBitSet128
DeserializeColor
DeserializeIsaacAPIClass
DeserializeKColor
DeserializeRNG
DeserializeTableWithNumberKeys
DeserializeVector
IsCopyableIsaacAPIClass
IsSerializationBrand
IsSerializedBitSet128
IsSerializedColor
IsSerializedIsaacAPIClass
IsSerializedKColor
IsSerializedRNG
IsSerializedTableWithNumberKeys
IsSerializedVector
BitSet128
SerializeBitSet128
Color
SerializeColor
SerializeIsaacAPIClass
KColor
SerializeKColor
RNG
SerializeRNG
SerializeTableWithNumberKeys
Vector
SerializeVector