public class MessageCallback
extends java.lang.Object
| Constructor and Description |
|---|
MessageCallback() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getSbotLastChatMessage()
Provides data for the LastChatMessage() function in SBot.
|
static int |
getSbotLastChatter()
Provides data for the LastChatter() function in SBot.
|
static java.lang.String |
getSbotLastChatterName()
Provides data for the LastChatterName() function in SBot.
|
static java.lang.String |
getSbotLastNPCMessage()
Provides data for the LastNPCMessage() function in SBot.
|
static java.lang.String |
getSbotLastServerMessage()
Provides data for the LastServerMessage() function in SBot.
|
static void |
messageHook(boolean crownEnabled,
java.lang.String sender,
java.lang.String message,
orsc.enumerations.MessageType type,
int crownID,
java.lang.String formerName,
java.lang.String colourOverride)
The hook called by the patched client every time a message is printed on screen.
|
public static void messageHook(boolean crownEnabled,
java.lang.String sender,
java.lang.String message,
orsc.enumerations.MessageType type,
int crownID,
java.lang.String formerName,
java.lang.String colourOverride)
crownEnabled - for admin crownssender - String name of sendermessage - String text of messagetype - MessageType of message (server, game, etc)crownID - Id for admin crownsformerName - StringcolourOverride - String color to send message inpublic static int getSbotLastChatter()
public static java.lang.String getSbotLastChatterName()
public static java.lang.String getSbotLastChatMessage()
public static java.lang.String getSbotLastNPCMessage()
public static java.lang.String getSbotLastServerMessage()