Terraria ModLoader  0.10.1.5
A framework for Terraria mods
Terraria.ModLoader.WaterfallStyleLoader Class Reference
+ Collaboration diagram for Terraria.ModLoader.WaterfallStyleLoader:

Static Public Member Functions

static ModWaterfallStyle GetWaterfallStyle (int style)
 

Public Attributes

const int vanillaWaterfallCount = WaterfallManager.maxTypes
 

Static Private Attributes

static int nextWaterfallStyle = vanillaWaterfallCount
 

Detailed Description

Definition at line 129 of file WaterStyleLoader.cs.

Member Function Documentation

static ModWaterfallStyle Terraria.ModLoader.WaterfallStyleLoader.GetWaterfallStyle ( int  style)
static

Definition at line 141 of file WaterStyleLoader.cs.

141  {
142  if (style < vanillaWaterfallCount || style >= nextWaterfallStyle) {
143  return null;
144  }
145  return waterfallStyles[style - vanillaWaterfallCount];
146  }

Member Data Documentation

int Terraria.ModLoader.WaterfallStyleLoader.nextWaterfallStyle = vanillaWaterfallCount
staticprivate

Definition at line 132 of file WaterStyleLoader.cs.

const int Terraria.ModLoader.WaterfallStyleLoader.vanillaWaterfallCount = WaterfallManager.maxTypes

Definition at line 131 of file WaterStyleLoader.cs.