11d37d4cd6
Added response to RCON command if applicable Added more maps into the map config
21 lines
410 B
C#
21 lines
410 B
C#
using System;
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|