IW4M-Admin/SharedLibrary/MessageToken.cs
RaidMax 063449d9c4 reworked some stats, redid the macro -> Tokens
added reset stats commands
broadcast for some commands
2017-05-31 00:31:56 -05:00

25 lines
512 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharedLibrary
{
public class MessageToken
{
public string Name { get; private set; }
Func<string> Value;
public MessageToken(string Name, Func<string> Value)
{
this.Name = Name;
this.Value = Value;
}
public override string ToString()
{
return Value().ToString();
}
}
}