tModLoader v0.11.8.9
A mod to make and play 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) |
Properties | |
static int | WallCount [get] |
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(), Terraria.ModLoader.WallLoader.loaded, and Terraria.ModLoader.ModWall.Type.
|
static |
Definition at line 196 of file WallLoader.cs.
References Terraria.ModLoader.ModWall.CanExplode(), Terraria.ModLoader.WallLoader.GetWall(), and Terraria.ModLoader.WallLoader.HookCanExplode.
|
static |
Definition at line 168 of file WallLoader.cs.
References Terraria.ModLoader.ModWall.CreateDust(), Terraria.ModLoader.WallLoader.GetWall(), and Terraria.ModLoader.WallLoader.HookCreateDust.
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
Definition at line 178 of file WallLoader.cs.
References Terraria.ModLoader.ModWall.Drop(), Terraria.ModLoader.WallLoader.GetWall(), and Terraria.ModLoader.WallLoader.HookDrop.
|
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.
References Terraria.ModLoader.WallLoader.WallCount.
Referenced by Terraria.ModLoader.WallLoader.CanExplode(), Terraria.ModLoader.WallLoader.CreateDust(), Terraria.ModLoader.WallLoader.Drop(), Terraria.ModLoader.WallLoader.KillSound(), Terraria.ModLoader.WallLoader.KillWall(), Terraria.ModLoader.WallLoader.ModifyLight(), Terraria.ModLoader.WallLoader.NumDust(), Terraria.ModLoader.WallLoader.PlaceInWorld(), Terraria.ModLoader.WallLoader.PostDraw(), Terraria.ModLoader.WallLoader.PreDraw(), and Terraria.ModLoader.WallLoader.RandomUpdate().
|
static |
Definition at line 141 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookKillSound, Terraria.ModLoader.ModWall.KillSound(), Terraria.ModLoader.ModWall.soundStyle, and Terraria.ModLoader.ModWall.soundType.
|
static |
Definition at line 188 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookKillWall, and Terraria.ModLoader.ModWall.KillWall().
|
static |
Definition at line 206 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookModifyLight, and Terraria.ModLoader.ModWall.ModifyLight().
|
static |
Definition at line 159 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookNumDust, and Terraria.ModLoader.ModWall.NumDust().
|
static |
Definition at line 253 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookPlaceInWorld, and Terraria.ModLoader.ModWall.PlaceInWorld().
|
static |
Definition at line 245 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookPostDraw, and Terraria.ModLoader.ModWall.PostDraw().
|
static |
Definition at line 235 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookPreDraw, and Terraria.ModLoader.ModWall.PreDraw().
|
static |
Definition at line 216 of file WallLoader.cs.
References Terraria.ModLoader.WallLoader.GetWall(), Terraria.ModLoader.WallLoader.HookRandomUpdate, and Terraria.ModLoader.ModWall.RandomUpdate().
|
staticprivate |
Definition at line 54 of file WallLoader.cs.
|
staticprivate |
Definition at line 29 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.CanExplode().
|
staticprivate |
Definition at line 24 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.CreateDust().
|
staticprivate |
Definition at line 26 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.Drop().
|
staticprivate |
Definition at line 20 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.KillSound().
|
staticprivate |
Definition at line 28 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.KillWall().
|
staticprivate |
Definition at line 31 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.ModifyLight().
|
staticprivate |
Definition at line 22 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.NumDust().
|
staticprivate |
Definition at line 35 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.PlaceInWorld().
|
staticprivate |
Definition at line 34 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.PostDraw().
|
staticprivate |
Definition at line 33 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.PreDraw().
|
staticprivate |
Definition at line 32 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.RandomUpdate().
|
staticprivate |
Definition at line 18 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.AnimateWalls().
|
staticprivate |
Definition at line 15 of file WallLoader.cs.
|
staticget |
Definition at line 45 of file WallLoader.cs.
Referenced by Terraria.ModLoader.WallLoader.GetWall().