Harrison Deng
6467c178c3
added UML to guide actual implementation for Host. ModuleLoader, ServiceGateway, are written but untested.
21 lines
429 B
C#
21 lines
429 B
C#
using GameServiceWarden.ModuleAPI;
|
|
|
|
namespace GameServiceWarden.Host.Tests.Modules
|
|
{
|
|
public class FakeConfigurable : IConfigurable
|
|
{
|
|
private string value;
|
|
public string OptionName => "FakeOption";
|
|
|
|
public string GetValue()
|
|
{
|
|
return value;
|
|
}
|
|
|
|
public bool SetValue(string value)
|
|
{
|
|
this.value = value;
|
|
return true;
|
|
}
|
|
}
|
|
} |