tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.Config.UI.ObjectElement Class Reference

Inherits Terraria.ModLoader.Config.UI.ConfigElement< object >.

Public Member Functions

 ObjectElement (bool ignoreSeparatePage=false)
 
override void OnBind ()
 
override void Recalculate ()
 
override void Update (GameTime gameTime)
 
- Public Member Functions inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
void Bind (PropertyFieldWrapper memberInfo, object item, IList array, int index)
 Bind must always be called after the ctor and serves to facilitate a convenient inheritance workflow for custom ConfigElemets from mods. More...
 

Protected Attributes

Func< string > AbridgedTextDisplayFunction
 
- Protected Attributes inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
BackgroundColorAttribute backgroundColorAttribute
 
Asset< Texture2D > collapsedTexture
 
Asset< Texture2D > deleteTexture
 
bool drawLabel
 
Asset< Texture2D > expandedTexture
 
IncrementAttribute incrementAttribute
 
object item
 
JsonDefaultValueAttribute jsonDefaultValueAttribute
 
LabelAttribute labelAttribute
 
IList list
 
PropertyFieldWrapper memberInfo
 
bool nullAllowed
 
Asset< Texture2D > playTexture
 
Asset< Texture2D > plusTexture
 
RangeAttribute rangeAttribute
 
TooltipAttribute tooltipAttribute
 
Func< string > TooltipFunction
 
Asset< Texture2D > upDownTexture
 

Additional Inherited Members

- Static Public Member Functions inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
static void DrawPanel2 (SpriteBatch spriteBatch, Vector2 position, Texture2D texture, float width, float height, Color color)
 
- Public Attributes inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
int index
 
- Protected Member Functions inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
override void DrawSelf (SpriteBatch spriteBatch)
 
virtual object GetObject ()
 
virtual void SetObject (object value)
 
- Properties inherited from Terraria.ModLoader.Config.UI.ConfigElement< object >
virtual T Value [get, set]