Class ChatLogDisplay
- Namespace
- MoreSlugcats
- Assembly
- Assembly-CSharp.dll
public class ChatLogDisplay : HudPart
- Inheritance
-
ChatLogDisplay
- Inherited Members
-
Constructors
ChatLogDisplay(HUD, string[])
public ChatLogDisplay(HUD hud, string[] chatLog)
Parameters
hud HUD
chatLog string[]
Fields
defaultXOrientation
public float defaultXOrientation
Field Value
- float
defaultYPos
Field Value
- float
disable_fastDisplay
public bool disable_fastDisplay
Field Value
- bool
fixedTime
Field Value
- float
label
Field Value
- FLabel[]
lineHeight
public static float lineHeight
Field Value
- float
lingerCounter
Field Value
- int
mainAlpha
Field Value
- float
meanCharWidth
public static float meanCharWidth
Field Value
- float
messageSep
public static float messageSep
Field Value
- float
messageWidths
public float[] messageWidths
Field Value
- float[]
messages
public List<ChatLogDisplay.Message> messages
Field Value
- List<ChatLogDisplay.Message>
permanentDisplay
public bool permanentDisplay
Field Value
- bool
showCharacter
Field Value
- int
showDelay
Field Value
- int
showLine
Field Value
- int
showText
Field Value
- string
sprites
Field Value
- FSprite[]
totalHeight
Field Value
- float
width
Field Value
- float
widthMargin
public static float widthMargin
Field Value
- float
Properties
CurrentMessage
public ChatLogDisplay.Message CurrentMessage { get; }
Property Value
- ChatLogDisplay.Message
Methods
ClearSprites()
public override void ClearSprites()
Draw(float)
public override void Draw(float timeStacker)
Parameters
timeStacker float
DrawPos(float)
public Vector2 DrawPos(float timeStacker)
Parameters
timeStacker float
Returns
- Vector2
InitNextMessage()
public void InitNextMessage()
InitiateSprites()
public void InitiateSprites()
NewMessage(string, int)
public void NewMessage(string text, int extraLinger)
Parameters
text string
extraLinger int
NewMessage(string, float, float, int)
public void NewMessage(string text, float xOrientation, float yPos, int extraLinger)
Parameters
text string
xOrientation float
yPos float
extraLinger int
Update()
public override void Update()