tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.ModLoader.WaterStylesLoader Class Reference

Inherits Terraria.ModLoader.SceneEffectLoader< ModWaterStyle >.

Public Member Functions

override void ChooseStyle (out int style, out SceneEffectPriority priority)
 
void DrawWaterfall (WaterfallManager waterfallManager, SpriteBatch spriteBatch)
 
void DrawWatersToScreen (bool bg)
 
void LightColorMultiplier (int style, float factor, ref float r, ref float g, ref float b)
 
void UpdateLiquidAlphas ()
 
- Public Member Functions inherited from Terraria.ModLoader.SceneEffectLoader< ModWaterStyle >
virtual void ChooseStyle (out int style, out SceneEffectPriority priority)
 
void UpdateMusic (ref int music, ref SceneEffectPriority priority)
 
void UpdateSceneEffect (Player player)
 
- Public Member Functions inherited from Terraria.ModLoader.Loader< ModSceneEffect >
Get (int id)
 
int Register (T obj)
 

Additional Inherited Members

- Static Public Attributes inherited from Terraria.ModLoader.SceneEffectLoader< ModWaterStyle >
const int VanillaSceneEffectCount
 
- Protected Member Functions inherited from Terraria.ModLoader.Loader< ModSceneEffect >
int Reserve ()
 
- Properties inherited from Terraria.ModLoader.Loader< ModSceneEffect >
int VanillaCount [get, set]
 

Member Function Documentation

◆ ChooseStyle()

override void Terraria.ModLoader.WaterStylesLoader.ChooseStyle ( out int  style,
out SceneEffectPriority  priority 
)
virtual