Show / Hide Table of Contents

Class ChatBox

Represents the ingame chat, allows you to send messages to (individual) players

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: SlipeServer.Server.Services
Assembly: SlipeServer.Server.dll
Syntax
public class ChatBox

Constructors

| Edit this page View Source

ChatBox(MtaServer)

Declaration
public ChatBox(MtaServer server)
Parameters
Type Name Description
MtaServer server

Methods

| Edit this page View Source

Clear()

Declaration
public void Clear()
| Edit this page View Source

ClearFor(Player)

Declaration
public void ClearFor(Player player)
Parameters
Type Name Description
Player player
| Edit this page View Source

Output(string, Color?, bool, ChatEchoType, Element?)

Declaration
public void Output(string message, Color? color = null, bool isColorCoded = false, ChatEchoType type = ChatEchoType.Player, Element? source = null)
Parameters
Type Name Description
string message
Color? color
bool isColorCoded
ChatEchoType type
Element source
| Edit this page View Source

OutputTo(Player, string, Color?, bool, ChatEchoType, Element?)

Declaration
public void OutputTo(Player player, string message, Color? color = null, bool isColorCoded = false, ChatEchoType type = ChatEchoType.Player, Element? source = null)
Parameters
Type Name Description
Player player
string message
Color? color
bool isColorCoded
ChatEchoType type
Element source
| Edit this page View Source

SetVisible(bool, bool?)

Declaration
public void SetVisible(bool visible, bool? inputBlocked = null)
Parameters
Type Name Description
bool visible
bool? inputBlocked
| Edit this page View Source

SetVisibleFor(Player, bool, bool?)

Declaration
public void SetVisibleFor(Player player, bool visible, bool? inputBlocked = null)
Parameters
Type Name Description
Player player
bool visible
bool? inputBlocked
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX