diff options
Diffstat (limited to 'Thronefall_v1.0/Thronefall/I2.Loc/GlobalParametersExample.cs')
-rw-r--r-- | Thronefall_v1.0/Thronefall/I2.Loc/GlobalParametersExample.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Thronefall/I2.Loc/GlobalParametersExample.cs b/Thronefall_v1.0/Thronefall/I2.Loc/GlobalParametersExample.cs new file mode 100644 index 0000000..5b5a66c --- /dev/null +++ b/Thronefall_v1.0/Thronefall/I2.Loc/GlobalParametersExample.cs @@ -0,0 +1,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; + } +} |