summaryrefslogtreecommitdiff
path: root/Thronefall_1_57/Decompile/I2.Loc/GlobalParametersExample.cs
blob: 5b5a66c07416a5c417fbbe561d59320ca4c7e652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace I2.Loc;

public class GlobalParametersExample : RegisterGlobalParameters
{
	public override string GetParameterValue(string ParamName)
	{
		if (ParamName == "WINNER")
		{
			return "Javier";
		}
		if (ParamName == "NUM PLAYERS")
		{
			return 5.ToString();
		}
		return null;
	}
}