tModLoader v2024.02
A mod to make and play Terraria mods
PlainTagHandler.PlainSnippet Class Reference

Inherits TextSnippet.

Public Member Functions

 PlainSnippet (string text, Color color, float scale=1f)
 
 PlainSnippet (string text="")
 
override Color GetVisibleColor ()
 
- Public Member Functions inherited from TextSnippet
 TextSnippet (string text, Color color, float scale=1f)
 
 TextSnippet (string text="")
 
virtual TextSnippet CopyMorph (string newText)
 
virtual float GetStringLength (DynamicSpriteFont font)
 
virtual Color GetVisibleColor ()
 
virtual void OnClick ()
 
virtual void OnHover ()
 
override string ToString ()
 
virtual bool UniqueDraw (bool justCheckingString, out Vector2 size, SpriteBatch spriteBatch, Vector2 position=default(Vector2), Color color=default(Color), float scale=1f)
 
virtual void Update ()
 

Additional Inherited Members

- Public Attributes inherited from TextSnippet
bool CheckForHover
 
Color Color = Color.White
 
bool DeleteWhole
 
float Scale = 1f
 
string Text
 
string TextOriginal
 

Member Function Documentation

◆ GetVisibleColor()

override Color PlainTagHandler.PlainSnippet.GetVisibleColor ( )
virtual

Reimplemented from TextSnippet.