Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
Terraria.UI.Chat.ChatManager Class Reference

Classes

class  Regexes
 

Static Public Member Functions

static Color WaveColor (Color color)
 
static void ConvertNormalSnippets (TextSnippet[] snippets)
 
static void Register< T > (params string[] names)
 
static List< TextSnippetParseMessage (string text, Color baseColor)
 
static bool AddChatText (DynamicSpriteFont font, string text, Vector2 baseScale)
 
static Vector2 GetStringSize (DynamicSpriteFont font, string text, Vector2 baseScale, float maxWidth=-1f)
 
static Vector2 GetStringSize (DynamicSpriteFont font, TextSnippet[] snippets, Vector2 baseScale, float maxWidth=-1f)
 
static void DrawColorCodedStringShadow (SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
 
static Vector2 DrawColorCodedString (SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors=false)
 
static Vector2 DrawColorCodedStringWithShadow (SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f)
 
static Vector2 DrawColorCodedStringWithShadow (SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Color color, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f)
 
static void DrawColorCodedStringShadow (SpriteBatch spriteBatch, DynamicSpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
 
static Vector2 DrawColorCodedString (SpriteBatch spriteBatch, DynamicSpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, bool ignoreColors=false)
 
static Vector2 DrawColorCodedStringWithShadow (SpriteBatch spriteBatch, DynamicSpriteFont font, string text, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
 

Static Public Attributes

static readonly ChatCommandProcessor Commands = new ChatCommandProcessor()
 
static readonly Vector2[] ShadowDirections
 

Static Private Member Functions

static ITagHandler GetHandler (string tagName)
 

Static Private Attributes

static ConcurrentDictionary< string, ITagHandler_handlers = new ConcurrentDictionary<string, ITagHandler>()
 

Detailed Description

Definition at line 13 of file ChatManager.cs.


The documentation for this class was generated from the following file: