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); } }
/// <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); }
public abstract void AddAnonymousChat(ChatAnonymous chatType, string message);
/// <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); }
/// <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) { }