/// <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); }
public abstract void AddGlobalChat(ChatGlobal chatType, string message, string nameFrom);
public override void AddGlobalChat(ChatGlobal chatType, string message, string nameFrom) { if (chatType == ChatGlobal.BROADCAST) { } }
/// <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); }
/// <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) { }