![]() |
Terraria ModLoader
0.11.5
A framework for Terraria mods
|
This serves as the central class from which wall-related functions are supported and carried out. More...
Static Public Member Functions | |
static void | AnimateWalls () |
static bool | CanExplode (int i, int j, int type) |
static bool | CreateDust (int i, int j, int type, ref int dustType) |
static bool | Drop (int i, int j, int type, ref int dropType) |
static ModWall | GetWall (int type) |
Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null. More... | |
static bool | KillSound (int i, int j, int type) |
static void | KillWall (int i, int j, int type, ref bool fail) |
static void | ModifyLight (int i, int j, int type, ref float r, ref float g, ref float b) |
static void | NumDust (int i, int j, int type, bool fail, ref int numDust) |
static void | PlaceInWorld (int i, int j, Item item) |
static void | PostDraw (int i, int j, int type, SpriteBatch spriteBatch) |
static bool | PreDraw (int i, int j, int type, SpriteBatch spriteBatch) |
static void | RandomUpdate (int i, int j, int type) |
Static Public Attributes | |
static int | WallCount => nextWall |
Private Member Functions | |
delegate bool | DelegateCreateDust (int i, int j, int type, ref int dustType) |
delegate bool | DelegateDrop (int i, int j, int type, ref int dropType) |
delegate void | DelegateKillWall (int i, int j, int type, ref bool fail) |
delegate void | DelegateModifyLight (int i, int j, int type, ref float r, ref float g, ref float b) |
delegate void | DelegateNumDust (int i, int j, int type, bool fail, ref int num) |
Static Private Member Functions | |
static void | Resize2DArray< T > (ref T[,] array, int newSize) |
Static Private Attributes | |
static Func< int, int, int, bool >[] | HookCanExplode |
static DelegateCreateDust[] | HookCreateDust |
static DelegateDrop[] | HookDrop |
static Func< int, int, int, bool >[] | HookKillSound |
static DelegateKillWall[] | HookKillWall |
static DelegateModifyLight[] | HookModifyLight |
static DelegateNumDust[] | HookNumDust |
static Action< int, int, int, Item >[] | HookPlaceInWorld |
static Action< int, int, int, SpriteBatch >[] | HookPostDraw |
static Func< int, int, int, SpriteBatch, bool >[] | HookPreDraw |
static Action< int, int, int >[] | HookRandomUpdate |
static bool | loaded = false |
static int | nextWall = WallID.Count |
This serves as the central class from which wall-related functions are supported and carried out.
Definition at line 13 of file WallLoader.cs.
|
static |
Definition at line 224 of file WallLoader.cs.
References Terraria.ModLoader.ModWall.AnimateWall(), and Terraria.ModLoader.ModWall.Type.
|
static |
Definition at line 196 of file WallLoader.cs.
|
static |
Definition at line 168 of file WallLoader.cs.
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
Definition at line 178 of file WallLoader.cs.
|
static |
Gets the ModWall instance with the given type. If no ModWall with the given type exists, returns null.
Definition at line 50 of file WallLoader.cs.
Referenced by Terraria.ModLoader.ModContent.MusicExists().
|
static |
Definition at line 141 of file WallLoader.cs.
References Terraria.ModLoader.ModWall.KillSound(), Terraria.ModLoader.ModWall.soundStyle, and Terraria.ModLoader.ModWall.soundType.
|
static |
Definition at line 188 of file WallLoader.cs.
|
static |
Definition at line 206 of file WallLoader.cs.
|
static |
Definition at line 159 of file WallLoader.cs.
|
static |
Definition at line 253 of file WallLoader.cs.
|
static |
Definition at line 245 of file WallLoader.cs.
|
static |
Definition at line 235 of file WallLoader.cs.
|
static |
Definition at line 216 of file WallLoader.cs.
|
staticprivate |
Definition at line 54 of file WallLoader.cs.
|
staticprivate |
Definition at line 29 of file WallLoader.cs.
|
staticprivate |
Definition at line 24 of file WallLoader.cs.
|
staticprivate |
Definition at line 26 of file WallLoader.cs.
|
staticprivate |
Definition at line 20 of file WallLoader.cs.
|
staticprivate |
Definition at line 28 of file WallLoader.cs.
|
staticprivate |
Definition at line 31 of file WallLoader.cs.
|
staticprivate |
Definition at line 22 of file WallLoader.cs.
|
staticprivate |
Definition at line 35 of file WallLoader.cs.
|
staticprivate |
Definition at line 34 of file WallLoader.cs.
|
staticprivate |
Definition at line 33 of file WallLoader.cs.
|
staticprivate |
Definition at line 32 of file WallLoader.cs.
|
staticprivate |
Definition at line 18 of file WallLoader.cs.
|
staticprivate |
Definition at line 15 of file WallLoader.cs.
|
static |
Definition at line 45 of file WallLoader.cs.