Property | Type | Description | |
---|---|---|---|
CaveBackX | int[] | ||
CompatibleVersion | uint | ||
Guid | System.Guid | ||
MaxMoons | byte | ||
Rand | |||
SectionCount | short | ||
TileCount | short | ||
TileFrameImportant | bool[] | ||
Tiles | ].Tile[ | ||
TreeBG | int[] | ||
TreeMntBG | int[] | ||
TreeX | int[] | ||
Version | uint |
Method | Description | |
---|---|---|
DeserializeTileData ( |
||
FixChand ( int x, int y ) : void | ||
FixNpcs ( ) : void | ||
GetAnchor ( int x, int y ) : Vector2Int32 | ||
GetChestAtTile ( int x, int y ) : TEditXNA.Terraria.Chest | ||
GetMannequin ( int x, int y ) : Vector2Int32 | ||
GetNpc ( int id ) : TEditXNA.Terraria.Objects.NpcName | ||
GetRack ( int x, int y ) : Vector2Int32 | ||
GetSignAtTile ( int x, int y ) : TEditXNA.Terraria.Sign | ||
GetTileEntityAtTile ( int x, int y ) : |
||
LoadChestData ( |
||
LoadFooter ( |
||
LoadHeaderFlags ( |
||
LoadMobsData ( |
||
LoadNPCsData ( |
||
LoadPressurePlate ( |
||
LoadSectionHeader ( |
||
LoadSignData ( |
||
LoadTileData ( |
||
LoadTileEntities ( |
||
LoadV2 ( |
||
LoadWorld ( string filename ) : |
||
ReadBitArray ( |
Read an array of booleans from a bit-packed array.
|
|
ResetTime ( ) : void | ||
Save ( |
||
SaveChests ( IList |
||
SaveFooter ( |
||
SaveHeaderFlags ( World world, BinaryWriter bw ) : int | ||
SaveMobs ( IEnumerable |
||
SaveNPCs ( IEnumerable |
||
SavePressurePlate ( IList |
||
SaveSectionHeader ( World world, BinaryWriter bw ) : int | ||
SaveSigns ( IList |
||
SaveTileEntities ( World w, BinaryWriter bw ) : int | ||
SaveTiles ( Tile tiles, int maxX, int maxY, BinaryWriter bw ) : int | ||
SerializeTileData ( Tile tile, int &dataIndex, int &headerIndex ) : byte[] |
BitPack tile data and headers
|
|
UpdateSectionPointers ( int sectionPointers, BinaryWriter bw ) : int | ||
ValSpecial ( int x, int y ) : void | ||
ValidTileLocation ( Vector2Int32 v ) : bool | ||
ValidTileLocation ( int x, int y ) : bool | ||
Validate ( ) : void | ||
World ( ) : System | ||
World ( int height, int width, string title, int seed = -1 ) : System | ||
WriteBitArray ( BinaryWriter writer, bool values ) : void |
Write an array of booleans to a binary stream as a bit-packed array.
|
Method | Description | |
---|---|---|
FixChand ( ) : void | ||
FixSunflowers ( ) : void | ||
GetNewNpc ( int id ) : TEditXNA.Terraria.Objects.NpcName | ||
OnProgressChanged ( object sender, |
||
SaveV2 ( World world, BinaryWriter bw ) : void |
public static DeserializeTileData ( |
||
r | ||
rle | int | |
return |
public GetAnchor ( int x, int y ) : Vector2Int32 | ||
x | int | |
y | int | |
return | Vector2Int32 |
public GetChestAtTile ( int x, int y ) : TEditXNA.Terraria.Chest | ||
x | int | |
y | int | |
return | TEditXNA.Terraria.Chest |
public GetMannequin ( int x, int y ) : Vector2Int32 | ||
x | int | |
y | int | |
return | Vector2Int32 |
public GetNpc ( int id ) : TEditXNA.Terraria.Objects.NpcName | ||
id | int | |
return | TEditXNA.Terraria.Objects.NpcName |
public GetRack ( int x, int y ) : Vector2Int32 | ||
x | int | |
y | int | |
return | Vector2Int32 |
public GetSignAtTile ( int x, int y ) : TEditXNA.Terraria.Sign | ||
x | int | |
y | int | |
return | TEditXNA.Terraria.Sign |
public GetTileEntityAtTile ( int x, int y ) : |
||
x | int | |
y | int | |
return |
public static LoadChestData ( |
||
r | ||
return | IEnumerable |
public static LoadFooter ( |
||
r | ||
w | ||
return | void |
public static LoadHeaderFlags ( |
||
r | ||
w | ||
expectedPosition | int | |
return | void |
public static LoadMobsData ( |
||
r | ||
w | ||
return | void |
public static LoadNPCsData ( |
||
r | ||
w | ||
return | void |
public static LoadPressurePlate ( |
||
r | ||
w | ||
return | void |
public static LoadSectionHeader ( |
||
r | ||
tileFrameImportant | bool | |
sectionPointers | int | |
w | ||
return | bool |
public static LoadSignData ( |
||
r | ||
return | IEnumerable |
public static LoadTileData ( |
||
r | ||
maxX | int | |
maxY | int | |
return | ].Tile[ |
public static LoadTileEntities ( |
||
r | ||
w | ||
return | void |
public static LoadV2 ( |
||
b | ||
filename | string | |
w | ||
return | void |
public static LoadWorld ( string filename ) : |
||
filename | string | |
return |
public static ReadBitArray ( |
||
reader | BinaryReader at start of bit array. | |
return | bool[] |
public static Save ( |
||
world | ||
filename | string | |
resetTime | bool | |
return | void |
public static SaveChests ( IList |
||
chests | IList |
|
bw | ||
return | int |
public static SaveFooter ( |
||
world | ||
bw | ||
return | int |
public static SaveHeaderFlags ( World world, BinaryWriter bw ) : int | ||
world | World | |
bw | BinaryWriter | |
return | int |
public static SaveMobs ( IEnumerable |
||
mobs | IEnumerable |
|
bw | BinaryWriter | |
return | int |
public static SaveNPCs ( IEnumerable |
||
npcs | IEnumerable |
|
bw | BinaryWriter | |
return | int |
public static SavePressurePlate ( IList |
||
plates | IList |
|
bw | BinaryWriter | |
return | int |
public static SaveSectionHeader ( World world, BinaryWriter bw ) : int | ||
world | World | |
bw | BinaryWriter | |
return | int |
public static SaveSigns ( IList |
||
signs | IList |
|
bw | BinaryWriter | |
return | int |
public static SaveTileEntities ( World w, BinaryWriter bw ) : int | ||
w | World | |
bw | BinaryWriter | |
return | int |
public static SaveTiles ( Tile tiles, int maxX, int maxY, BinaryWriter bw ) : int | ||
tiles | Tile | |
maxX | int | |
maxY | int | |
bw | BinaryWriter | |
return | int |
public static SerializeTileData ( Tile tile, int &dataIndex, int &headerIndex ) : byte[] | ||
tile | Tile | |
dataIndex | int | |
headerIndex | int | |
return | byte[] |
public static UpdateSectionPointers ( int sectionPointers, BinaryWriter bw ) : int | ||
sectionPointers | int | |
bw | BinaryWriter | |
return | int |
public ValidTileLocation ( Vector2Int32 v ) : bool | ||
v | Vector2Int32 | |
return | bool |
public ValidTileLocation ( int x, int y ) : bool | ||
x | int | |
y | int | |
return | bool |
public World ( int height, int width, string title, int seed = -1 ) : System | ||
height | int | |
width | int | |
title | string | |
seed | int | |
return | System |
public static WriteBitArray ( BinaryWriter writer, bool values ) : void | ||
writer | BinaryWriter | BinaryWriter stream. |
values | bool | Collection of booleans to write as a bit-packed array. |
return | void |
public static bool[] TileFrameImportant | ||
return | bool[] |