Chat improvements:
Improved chat box styling. "All" button now works as a toggle for.. all buttons! Also improved persistence of the chat box when switching to/from lobby.
This commit is contained in:
@@ -1,14 +1,4 @@
|
||||
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
|
||||
{
|
||||
@@ -18,7 +8,7 @@ namespace Content.Client.Chat
|
||||
|
||||
/// <summary>
|
||||
/// Client's own copies of chat messages used in filtering locally
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
|
||||
/// <summary>
|
||||
/// Actual Message contents, i.e. words
|
||||
@@ -30,20 +20,19 @@ namespace Content.Client.Chat
|
||||
/// </summary>
|
||||
public ChatChannel Channel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// What to "wrap" the message contents with. Example is stuff like 'Joe says: "{0}"'
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
public string MessageWrap { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor to copy a net message into stored client variety
|
||||
/// </summary>
|
||||
public StoredChatMessage(MsgChatMessage netMsg)
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructor to copy a net message into stored client variety
|
||||
/// </summary>
|
||||
|
||||
Message = netMsg.Message;
|
||||
Channel = netMsg.Channel;
|
||||
MessageWrap = netMsg.MessageWrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user