tModLoader v2024.11
A mod to make and play Terraria mods
UndergroundBackgroundStylesLoader Class Reference

This serves as the central class from which ModUndergroundBackgroundStyle functions are supported and carried out. More...

Inherits SceneEffectLoader< ModUndergroundBackgroundStyle >.

Public Member Functions

override void ChooseStyle (out int style, out SceneEffectPriority priority)
 
void FillTextureArray (int style, int[] textureSlots)
 
- Public Member Functions inherited from SceneEffectLoader< ModUndergroundBackgroundStyle >
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 Loader< T >
Get (int id)
 
int Register (T obj)
 

Static Public Attributes

const int VanillaUndergroundBackgroundStylesCount = 22
 
- Static Public Attributes inherited from SceneEffectLoader< ModUndergroundBackgroundStyle >
const int VanillaSceneEffectCount
 

Additional Inherited Members

- Protected Member Functions inherited from Loader< T >
int Reserve ()
 
- Properties inherited from Loader< T >
int VanillaCount [get, set]
 

Detailed Description

This serves as the central class from which ModUndergroundBackgroundStyle functions are supported and carried out.

Member Function Documentation

◆ ChooseStyle()

override void UndergroundBackgroundStylesLoader.ChooseStyle ( out int  style,
out SceneEffectPriority  priority 
)
virtual