tModLoader v2022.09
A mod to make and play Terraria mods
MultiDimArraySerializer Class Reference

Inherits TagSerializer< Array, TagCompound >.

Public Member Functions

 MultiDimArraySerializer (Type arrayType)
 
delegate object Converter (object element)
 
override Array Deserialize (TagCompound tag)
 
override IList DeserializeList (IList list)
 
override TagCompound Serialize (Array array)
 
override IList SerializeList (IList list)
 

Static Public Member Functions

static Array FromList (IList list, int[] arrayRanks, Type? elementType=null, Converter? converter=null)
 
static Array FromTagCompound (TagCompound tag, Type arrayType, Converter? converter=null)
 
static IList ToList (Array array, Type? elementType=null, Converter? converter=null)
 
static TagCompound ToTagCompound (Array array, Type? elementType=null, Converter? converter=null)
 

Properties

int ArrayRank [get]
 
Type ArrayType [get]
 
Type ElementType [get]