示例#1
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 AddGlobalChat(ChatGlobal chatType, string message,
                                    string nameFrom)
 {
     AddChat((byte)chatType, null, nameFrom, message);
 }
示例#2
0
 public abstract void AddGlobalChat(ChatGlobal chatType, string message,
     string nameFrom);
示例#3
0
 public abstract void AddGlobalChat(ChatGlobal chatType, string message,
                                    string nameFrom);
示例#4
0
 public override void AddGlobalChat(ChatGlobal chatType, string message, string nameFrom)
 {
     if (chatType == ChatGlobal.BROADCAST)
     {
     }
 }
示例#5
0
        public override void AddGlobalChat(ChatGlobal chatType, string message, string nameFrom)
        {
            if (chatType == ChatGlobal.BROADCAST) {

            }
        }
示例#6
0
 /// <summary>
 /// Lets this thing know that a global chat event has occured.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content.</param>
 /// <param name="nameFrom">Name of creature doing the chat.</param>
 public override void AddGlobalChat(ChatGlobal chatType, string message,
     string nameFrom)
 {
     AddAffected();
     protocolS.AddGlobalChat(chatType, message, nameFrom);
 }
示例#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 AddGlobalChat(ChatGlobal chatType, string message,
     string nameFrom)
 {
     AddChat((byte)chatType, null, nameFrom, message);
 }
示例#8
0
 /// <summary>
 /// Lets this thing know that a global chat event has occured.
 /// </summary>
 /// <param name="chatType">Type of chat.</param>
 /// <param name="message">Message content.</param>
 /// <param name="nameFrom">Name of creature doing the chat.</param>
 public virtual void AddGlobalChat(ChatGlobal chatType, string message,
                                   string nameFrom)
 {
 }