public class ChatClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChatClient.ComMessage
notification from worldserver saying a mob said something MSG_OID is person
saying something
|
static class |
ChatClient.ComReqMessage
notification from proxy/mobserver regarding chat msg MSG_OID is person saying
something
|
static class |
ChatClient.SysChatMessage
system message to be displayed in chat window for all players
|
static class |
ChatClient.TargetedComMessage
notification from worldserver saying a mob said something MSG_OID is person
saying something
|
static class |
ChatClient.TargetedComReqMessage
notification from worldserver saying a mob said something MSG_OID is person
saying something
|
Modifier and Type | Field and Description |
---|---|
static MessageType |
MSG_TYPE_COM |
static MessageType |
MSG_TYPE_COM_REQ |
static MessageType |
MSG_TYPE_COM_TARGET_REQ |
static MessageType |
MSG_TYPE_SYS_CHAT |
Constructor and Description |
---|
ChatClient() |
Modifier and Type | Method and Description |
---|---|
static void |
sendChatMsg(OID objId,
java.lang.String chatterName,
int channelId,
java.lang.String text)
an object wants to send a chat msg - msg gets sent to world manager
non-blocking call
|
static void |
sendObjChatMsg(OID objOid,
int channelId,
java.lang.String text)
sends message to the object (this is not a request message)
|
static void |
sendObjChatMsg(OID objOid,
java.lang.String senderName,
int channelId,
java.lang.String text)
sends message to the object (this is not a request message)
|
static void |
sendSysChatMsg(java.lang.String text)
sends system chat message to all players (this is not a request message)
|
public static MessageType MSG_TYPE_COM_REQ
public static MessageType MSG_TYPE_COM_TARGET_REQ
public static MessageType MSG_TYPE_COM
public static MessageType MSG_TYPE_SYS_CHAT
public static void sendChatMsg(OID objId, java.lang.String chatterName, int channelId, java.lang.String text)
public static void sendObjChatMsg(OID objOid, int channelId, java.lang.String text)
public static void sendObjChatMsg(OID objOid, java.lang.String senderName, int channelId, java.lang.String text)
public static void sendSysChatMsg(java.lang.String text)