tModLoader v2024.10
A mod to make and play Terraria mods
TileIO.WallIOImpl Class Reference

Inherits TileIO.IOImpl< ModWall, WallEntry >.

Protected Member Functions

override WallEntry ConvertBlockToEntry (ModWall wall)
 
override ushort GetModBlockType (Tile tile)
 
override void ReadData (Tile tile, WallEntry entry, BinaryReader reader)
 
override void WriteData (BinaryWriter writer, Tile tile, WallEntry entry)
 
- Protected Member Functions inherited from TileIO.IOImpl< ModWall, WallEntry >
 IOImpl (string entriesKey, string dataKey)
 
abstract TEntry ConvertBlockToEntry (TBlock block)
 
abstract ushort GetModBlockType (Tile tile)
 
abstract void ReadData (Tile tile, TEntry entry, BinaryReader reader)
 
abstract void WriteData (BinaryWriter writer, Tile tile, TEntry entry)
 

Properties

override int LoadedBlockCount [get]
 
override IEnumerable< ModWallLoadedBlocks [get]
 
- Properties inherited from TileIO.IOImpl< ModWall, WallEntry >
abstract int LoadedBlockCount [get]
 
abstract IEnumerable< TBlock > LoadedBlocks [get]
 

Additional Inherited Members

- Public Member Functions inherited from TileIO.IOImpl< ModWall, WallEntry >
void Clear ()
 
void LoadData (TagCompound tag, TEntry[] savedEntryLookup)
 
void LoadEntries (TagCompound tag, out TEntry[] savedEntryLookup)
 
void Save (TagCompound tag)
 
byte[] SaveData (out bool[] hasObj)
 
- Public Attributes inherited from TileIO.IOImpl< ModWall, WallEntry >
readonly string dataKey
 
TEntry[] entries
 
readonly string entriesKey
 
PosData< ushort >[] unloadedEntryLookup
 
List< ushort > unloadedTypes
 

Member Function Documentation

◆ GetModBlockType()

override ushort TileIO.WallIOImpl.GetModBlockType ( Tile  tile)
protectedvirtual