Terraria ModLoader  0.10.1.5
A framework for Terraria mods
Terraria.ModLoader.WorldHooks Class Reference

This is where all ModWorld hooks are gathered and called. More...

+ Collaboration diagram for Terraria.ModLoader.WorldHooks:

Static Public Member Functions

static void ChooseWaterStyle (ref int style)
 
static void ModifyHardmodeTasks (List< GenPass > passes)
 
static void ModifyWorldGenTasks (List< GenPass > passes, ref float totalWeight)
 
static void PostDrawTiles ()
 
static void PostUpdate ()
 
static void PostWorldGen ()
 
static void PreUpdate ()
 
static void PreWorldGen ()
 
static void ResetNearbyTileEffects ()
 
static void TileCountsAvailable (int[] tileCounts)
 

Detailed Description

This is where all ModWorld hooks are gathered and called.

Definition at line 12 of file WorldHooks.cs.

Member Function Documentation

static void Terraria.ModLoader.WorldHooks.ChooseWaterStyle ( ref int  style)
static

Definition at line 92 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.ChooseWaterStyle().

Referenced by Terraria.ModLoader.WaterStyleLoader.ChooseWaterStyle().

92  {
93  foreach (ModWorld modWorld in worlds) {
94  modWorld.ChooseWaterStyle(ref style);
95  }
96  }

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void Terraria.ModLoader.WorldHooks.ModifyHardmodeTasks ( List< GenPass >  passes)
static

Definition at line 98 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.ModifyHardmodeTasks().

98  {
99  foreach (ModWorld modWorld in worlds) {
100  modWorld.ModifyHardmodeTasks(passes);
101  }
102  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.ModifyWorldGenTasks ( List< GenPass >  passes,
ref float  totalWeight 
)
static

Definition at line 56 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.ModifyWorldGenTasks().

56  {
57  foreach (ModWorld modWorld in worlds) {
58  modWorld.ModifyWorldGenTasks(passes, ref totalWeight);
59  }
60  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.PostDrawTiles ( )
static

Definition at line 104 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.PostDrawTiles().

104  {
105  foreach (ModWorld modWorld in worlds) {
106  modWorld.PostDrawTiles();
107  }
108  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.PostUpdate ( )
static

Definition at line 80 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.PostUpdate().

80  {
81  foreach (ModWorld modWorld in worlds) {
82  modWorld.PostUpdate();
83  }
84  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.PostWorldGen ( )
static

Definition at line 62 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.PostWorldGen().

62  {
63  foreach (ModWorld modWorld in worlds) {
64  modWorld.PostWorldGen();
65  }
66  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.PreUpdate ( )
static

Definition at line 74 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.PreUpdate().

74  {
75  foreach (ModWorld modWorld in worlds) {
76  modWorld.PreUpdate();
77  }
78  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.PreWorldGen ( )
static

Definition at line 50 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.PreWorldGen().

50  {
51  foreach (ModWorld modWorld in worlds) {
52  modWorld.PreWorldGen();
53  }
54  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.ResetNearbyTileEffects ( )
static

Definition at line 68 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.ResetNearbyTileEffects().

68  {
69  foreach (ModWorld modWorld in worlds) {
70  modWorld.ResetNearbyTileEffects();
71  }
72  }

+ Here is the call graph for this function:

static void Terraria.ModLoader.WorldHooks.TileCountsAvailable ( int[]  tileCounts)
static

Definition at line 86 of file WorldHooks.cs.

References Terraria.ModLoader.ModWorld.TileCountsAvailable().

86  {
87  foreach (ModWorld modWorld in worlds) {
88  modWorld.TileCountsAvailable(tileCounts);
89  }
90  }

+ Here is the call graph for this function: