Property | Type | Description | |
---|---|---|---|
EmoteKeywords | char>.Dictionary | ||
Swears | List |
||
badWordMatchers | IEnumerable |
Method | Description | |
---|---|---|
ContainsInvalidChars ( string message ) : bool |
Checks for unprintable or illegal characters in a message.
|
|
SendAdmin ( |
||
SendCustom ( |
||
SendGlobal ( [ player, [ rawMessage ) : bool |
Sends a global (white) chat.
|
|
SendMe ( [ player, [ rawMessage ) : bool |
Sends an action message (/Me).
|
|
SendPM ( [ from, [ to, [ rawMessage ) : bool |
Sends a private message (PM). Does NOT send a copy of the message to the sender.
|
|
SendRank ( [ player, [ rank, [ rawMessage ) : bool |
Sends a rank-wide message (@@Rank message).
|
|
SendSay ( [ player, [ rawMessage ) : bool |
Sends a global announcement (/Say).
|
|
SendStaff ( [ player, [ rawMessage ) : bool |
Sends a staff message (/Staff).
|
Method | Description | |
---|---|---|
GetRawMessageType ( string message ) : RawMessageType |
Determines the type of player-supplies message based on its syntax.
|
|
RaiseSendingEvent ( |
||
RaiseSentEvent ( |
||
ReplaceEmoteKeywords ( [ message ) : string | ||
ReplaceEmotesWithUncode ( [ input ) : string | ||
ReplaceNewlines ( [ message ) : string | ||
ReplacePercentColorCodes ( [ message, bool allowNewlines ) : string | ||
ReplaceTextKeywords ( [ player, [ input ) : string | ||
ReplaceUncodeWithEmotes ( [ input ) : string | ||
SendInternal ( [ e ) : bool | ||
StripEmotes ( [ message ) : string | ||
StripNewlines ( [ message ) : string | ||
UnescapeBackslashes ( [ message ) : string |
public static ContainsInvalidChars ( string message ) : bool | ||
message | string | Message to check. |
return | bool |
public static SendAdmin ( |
||
player | ||
rawMessage | string | |
return | bool |
public static SendCustom ( |
||
player | ||
rawMessage | string | |
return | bool |
public static SendGlobal ( [ player, [ rawMessage ) : bool | ||
player | [ | Player writing the message. |
rawMessage | [ | Message text. |
return | bool |
public static SendMe ( [ player, [ rawMessage ) : bool | ||
player | [ | Player writing the message. |
rawMessage | [ | Message text. |
return | bool |
public static SendPM ( [ from, [ to, [ rawMessage ) : bool | ||
from | [ | Sender player. |
to | [ | Recepient player. |
rawMessage | [ | Message text. |
return | bool |
public static SendRank ( [ player, [ rank, [ rawMessage ) : bool | ||
player | [ | Player writing the message. |
rank | [ | Target rank. |
rawMessage | [ | Message text. |
return | bool |
public static SendSay ( [ player, [ rawMessage ) : bool | ||
player | [ | Player writing the message. |
rawMessage | [ | Message text. |
return | bool |
public static SendStaff ( [ player, [ rawMessage ) : bool | ||
player | [ | Player writing the message. |
rawMessage | [ | Message text. |
return | bool |
public static Dictionary |
||
return | char>.Dictionary |