using System; using System.Collections.Generic; using Content.Client.Interfaces.Chat; using Content.Shared.Chat; using Robust.Client.Console; using Robust.Shared.Interfaces.Network; using Robust.Shared.IoC; using Robust.Shared.Log; using Robust.Shared.Maths; using Robust.Shared.Utility; using Robust.Client.UserInterface.Controls; namespace Content.Client.Chat { public class StoredChatMessage { // TODO Make me reflected with respect to MsgChatMessage /// /// Client's own copies of chat messages used in filtering locally /// /// /// Actual Message contents, i.e. words /// public string Message { get; set; } /// /// Message channel, used for filtering /// public ChatChannel Channel { get; set; } /// /// What to "wrap" the message contents with. Example is stuff like 'Joe says: "{0}"' /// public string MessageWrap { get; set; } public StoredChatMessage(MsgChatMessage netMsg) { /// /// Constructor to copy a net message into stored client variety /// Message = netMsg.Message; Channel = netMsg.Channel; MessageWrap = netMsg.MessageWrap; } } }