Allow custom handling of chat command response

This commit is contained in:
John Gross
2018-01-25 17:48:38 -08:00
parent b652181dda
commit 6e7456605d

View File

@@ -55,7 +55,7 @@ namespace Torch.Commands
Args = args ?? new List<string>();
}
public void Respond(string message, string sender = "Server", string font = MyFontEnum.Blue)
public virtual void Respond(string message, string sender = "Server", string font = MyFontEnum.Blue)
{
Torch.CurrentSession.Managers.GetManager<IChatManagerServer>()
?.SendMessageAsOther(sender, message, font, _steamIdSender);