示例#1
0
 public override void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
     if (chatType == ChatAnonymous.GREEN) {
         AddTextMessage(Constants.MSG_GREEN, message);
     } else if (chatType == ChatAnonymous.WHITE) {
         AddTextMessage(Constants.MSG_WHITE, message);
     }
 }
示例#2
0
 public override void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
     if (chatType == ChatAnonymous.GREEN)
     {
         AddTextMessage(Constants.MSG_GREEN, message);
     }
     else if (chatType == ChatAnonymous.WHITE)
     {
         AddTextMessage(Constants.MSG_WHITE, message);
     }
 }
示例#3
0
 /// <summary>
 /// Sends a local chat event to the game client.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content of chat.</param>
 /// <param name="pos">Position of chat.</param>
 /// <param name="nameFrom">Name of creature sending the chat.</param>
 public override void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
     AddChat((byte)chatType, null, null, message);
 }
示例#4
0
 public abstract void AddAnonymousChat(ChatAnonymous chatType, string message);
示例#5
0
 public abstract void AddAnonymousChat(ChatAnonymous chatType, string message);
示例#6
0
 /// <summary>
 /// Lets this thing know that an anonymous chat event has occured.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content.</param>
 public override void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
     AddAffected();
     protocolS.AddAnonymousChat(chatType, message);
 }
示例#7
0
 /// <summary>
 /// Sends a local chat event to the game client.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content of chat.</param>
 /// <param name="pos">Position of chat.</param>
 /// <param name="nameFrom">Name of creature sending the chat.</param>
 public override void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
     AddChat((byte)chatType, null, null, message);
 }
示例#8
0
 /// <summary>
 /// Lets this thing know that an anonymous chat event has occured.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content.</param>
 public virtual void AddAnonymousChat(ChatAnonymous chatType, string message)
 {
 }