tModLoader v2024.08
A mod to make and play Terraria mods
LegacyChatMonitor Class Reference

Inherits IChatMonitor.

Public Member Functions

void Clear ()
 
void DrawChat (bool drawingPlayerChat)
 
void NewText (List< TextSnippet > snippets)
 
void NewText (string newText, byte R=byte.MaxValue, byte G=byte.MaxValue, byte B=byte.MaxValue)
 
void NewTextInternal (string newText, byte R=byte.MaxValue, byte G=byte.MaxValue, byte B=byte.MaxValue, bool force=false)
 
void NewTextMultiline (string text, bool force=false, Color c=default(Color), int WidthLimit=-1)
 
void Offset (int linesOffset)
 
void OnResolutionChange ()
 
void ResetOffset ()
 
void Update ()
 
void Clear ()
 
void DrawChat (bool drawingPlayerChat)
 
void NewText (string newText, byte R=byte.MaxValue, byte G=byte.MaxValue, byte B=byte.MaxValue)
 
void NewTextMultiline (string text, bool force=false, Color c=default(Color), int WidthLimit=-1)
 
void Offset (int linesOffset)
 
void OnResolutionChange ()
 
void ResetOffset ()
 
void Update ()
 

Properties

int TextMaxLengthForScreen [get]
 

Member Function Documentation

◆ Clear()

void LegacyChatMonitor.Clear ( )

Implements IChatMonitor.

◆ DrawChat()

void LegacyChatMonitor.DrawChat ( bool  drawingPlayerChat)

Implements IChatMonitor.

◆ NewText()

void LegacyChatMonitor.NewText ( string  newText,
byte  R = byte.MaxValue,
byte  G = byte.MaxValue,
byte  B = byte.MaxValue 
)

Implements IChatMonitor.

◆ NewTextMultiline()

void LegacyChatMonitor.NewTextMultiline ( string  text,
bool  force = false,
Color  c = default(Color),
int  WidthLimit = -1 
)

Implements IChatMonitor.

◆ Offset()

void LegacyChatMonitor.Offset ( int  linesOffset)

Implements IChatMonitor.

◆ OnResolutionChange()

void LegacyChatMonitor.OnResolutionChange ( )

Implements IChatMonitor.

◆ ResetOffset()

void LegacyChatMonitor.ResetOffset ( )

Implements IChatMonitor.

◆ Update()

void LegacyChatMonitor.Update ( )

Implements IChatMonitor.