alterNERDtive-base: plugin context namespacing

This commit is contained in:
alterNERDtive 2020-12-03 00:51:51 +01:00
parent 7f79af826f
commit ba0021c3bd
5 changed files with 11 additions and 9 deletions

View file

@ -229,27 +229,29 @@ namespace alterNERDtive
{
switch (context)
{
// plugin methods
case "startup":
Context_Startup(vaProxy);
break;
// config
case "config.setup":
Context_Config_Setup(vaProxy);
break;
case "config.getvariables":
Context_Config_SetVariables(vaProxy);
break;
case "distancebetween":
// EDSM
case "edsm.distancebetween":
Context_DistanceBetween(vaProxy);
break;
case "eddievent":
// EDDI
case "eddi.event":
Context_EddiEvent(vaProxy);
break;
case "log":
// log
case "log.log":
Context_Log(vaProxy);
break;
case "startup":
Context_Startup(vaProxy);
break;
// plugin settings
case "setloglevel":
case "log.setloglevel":
Context_SetLogLevel(vaProxy);
break;
// invalid

Binary file not shown.

Binary file not shown.

Binary file not shown.