PRoConEvents.MULTIbalancer.GetPluginVariables C# (CSharp) Method

GetPluginVariables() public method

public GetPluginVariables ( ) : List
return List
        public List<CPluginVariable> GetPluginVariables()
        {
            fRevealSettings = true;
            List<CPluginVariable> lstReturn = null;
            try {
            lstReturn = GetDisplayPluginVariables();
            } catch (Exception) {
            if (lstReturn == null) lstReturn = new List<CPluginVariable>();
            }
            fRevealSettings = false;

            // pre-v1 legacy settings
            lstReturn.Add(new CPluginVariable("6 - Unswitcher|Forbid Switch After Autobalance", ForbidSwitchAfterAutobalance.GetType(), ForbidSwitchAfterAutobalance));
            lstReturn.Add(new CPluginVariable("6 - Unswitcher|Forbid Switch To Winning Team", ForbidSwitchToWinningTeam.GetType(), ForbidSwitchToWinningTeam));
            lstReturn.Add(new CPluginVariable("6 - Unswitcher|Forbid Switch To Biggest Team", ForbidSwitchToBiggestTeam.GetType(), ForbidSwitchToBiggestTeam));
            lstReturn.Add(new CPluginVariable("6 - Unswitcher|Forbid Switch After Dispersal", ForbidSwitchAfterDispersal.GetType(), ForbidSwitchAfterDispersal));
            lstReturn.Add(new CPluginVariable("9 - Debugging|Show In Log", ShowInLog.GetType(), ShowInLog));
            // hidden setting
            lstReturn.Add(new CPluginVariable("0 - Presets|Settings Version", SettingsVersion.GetType(), SettingsVersion));
            return lstReturn;
        }
MULTIbalancer