tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.UI.Chat.PlainTagHandler.PlainSnippet Class Reference

Inherits Terraria.UI.Chat.TextSnippet.

Public Member Functions

 PlainSnippet (string text, Color color, float scale=1f)
 
 PlainSnippet (string text="")
 
override Color GetVisibleColor ()
 
- Public Member Functions inherited from Terraria.UI.Chat.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 Terraria.UI.Chat.TextSnippet
bool CheckForHover
 
Color Color = Color.White
 
bool DeleteWhole
 
float Scale = 1f
 
string Text
 
string TextOriginal
 

Member Function Documentation

◆ GetVisibleColor()

override Color Terraria.GameContent.UI.Chat.PlainTagHandler.PlainSnippet.GetVisibleColor ( )
virtual

Reimplemented from Terraria.UI.Chat.TextSnippet.