예제 #1
0
        public SDXSession(SDXProfile profile, SDXModConfig modConfig, String sessionState, String connectionMode, bool useGenericScript, String lang) : this(profile, modConfig, sessionState, connectionMode, useGenericScript)
        {
            SDXSession_JsonConfig configs = new SDXSession_JsonConfig()
            {
                lang = lang
            };

            P_JsonConfig = JsonConvert.SerializeObject(configs);
        }
예제 #2
0
        public SDXSession(SDXProfile profile, SDXModConfig modConfig, String sessionState, String connectionMode) : base(OBJTYPE, "API_SDXSession", profile.R_IDPool)
        {
            R_Name    = profile.R_Name;
            R_Pointer = modConfig.PointerId;

            P_ModConfig_code        = modConfig.Code;
            P_ModConfig_customSrv   = modConfig.CustomerSrv;
            P_ModConfig_horizonPool = modConfig.HorizonPool;
            I_UemDefaultConfigPath  = modConfig.UemDefaultConfigPath;
            P_ModConfig_State       = sessionState;

            P_ConnectionMode = connectionMode;
            P_GenericScript  = false;
        }
예제 #3
0
 public SDXSession(SDXProfile profile, SDXModConfig modConfig, String sessionState, String connectionMode, String jsonConfig, bool useGenericScript) : this(profile, modConfig, sessionState, connectionMode, jsonConfig)
 {
     P_GenericScript = useGenericScript;
 }
예제 #4
0
 public SDXSession(SDXProfile profile, SDXModConfig modConfig, String sessionState, String connectionMode, String jsonConfig) : this(profile, modConfig, sessionState, connectionMode)
 {
     P_JsonConfig = jsonConfig;
 }