Show / Hide Table of Contents

Class ChatBox

Represents the ingame chatbox

Inheritance
Object
ChatBox
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.IO
Assembly: SlipeClient.dll
Syntax
public static class ChatBox

Properties

| Improve this Doc View Source

Active

Get whether the chatbox is being used

Declaration
public static bool Active { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Allignment

Get the text alignment setting

Declaration
public static int Allignment { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

BackgroundColor

Get the background color of the chatbox

Declaration
public static Color BackgroundColor { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

BackgroundFades

Get whether the background fades out over time

Declaration
public static bool BackgroundFades { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Font

Get the font of the chatbox

Declaration
public static ChatBoxFont Font { get; }
Property Value
Type Description
ChatBoxFont
| Improve this Doc View Source

InputBoxActive

Gets whether the input box is active

Declaration
public static bool InputBoxActive { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

InputColor

Get the background color of the chatbox input

Declaration
public static Color InputColor { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

InputPrefixColor

Get the color of the input prefix text

Declaration
public static Color InputPrefixColor { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

InputTextColor

Get the color of the text in the chatbox input

Declaration
public static Color InputTextColor { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

LineFadeOut

Get how long takes for text to fade out

Declaration
public static float LineFadeOut { get; }
Property Value
Type Description
Single
| Improve this Doc View Source

LineLife

Get how long it takes for text to start fading out

Declaration
public static float LineLife { get; }
Property Value
Type Description
Single
| Improve this Doc View Source

Lines

Get the amount of lines in the chatbox

Declaration
public static int Lines { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Offset

Get the offset

Declaration
public static Vector2 Offset { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

PositionalAlignment

Get the allignment

Declaration
public static Vector2 PositionalAlignment { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Scale

Get the scale of the text in the chatbox

Declaration
public static Vector2 Scale { get; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

TextColor

Get the chatbox text color

Declaration
public static Color TextColor { get; }
Property Value
Type Description
Color
| Improve this Doc View Source

TextFades

Get whether text fades out over time

Declaration
public static bool TextFades { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

TextScale

Get the text scale

Declaration
public static float TextScale { get; }
Property Value
Type Description
Single
| Improve this Doc View Source

UseCegui

Get whether CEGUI is used to render the chatbox

Declaration
public static bool UseCegui { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Visible

Visibility of the chatbox

Declaration
public static bool Visible { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Width

Get the scale of the background width

Declaration
public static float Width { get; }
Property Value
Type Description
Single

Methods

| Improve this Doc View Source

Clear()

Clears the chatbox

Declaration
public static void Clear()
| Improve this Doc View Source

WriteLine(String)

Writes a line to the chatbox

Declaration
public static void WriteLine(string message)
Parameters
Type Name Description
String message
| Improve this Doc View Source

WriteLine(String, Color, Boolean)

Writes a line to the chatbox

Declaration
public static void WriteLine(string message, Color color, bool colorCoded = false)
Parameters
Type Name Description
String message
Color color
Boolean colorCoded

Events

| Improve this Doc View Source

OnMessage

Declaration
public static event ChatBox.OnMessageHandler OnMessage
Event Type
Type Description
ChatBox.OnMessageHandler
  • Improve this Doc
  • View Source
Back to top Generated by DocFX