コード例 #1
0
    public static int __callBase_OnMemoryWarning(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            instructionUITask.m_luaExportHelper.__callBase_OnMemoryWarning();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #2
0
    public static int __callBase_UnregisterPlayerContextEvents(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            instructionUITask.m_luaExportHelper.__callBase_UnregisterPlayerContextEvents();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #3
0
    public static int InstructionUIController_OnClose(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            instructionUITask.m_luaExportHelper.InstructionUIController_OnClose();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #4
0
    public static int ClearAllContextAndRes(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            instructionUITask.m_luaExportHelper.ClearAllContextAndRes();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #5
0
    public static int __callBase_ClearUnusedDynamicResourceCache(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            instructionUITask.m_luaExportHelper.__callBase_ClearUnusedDynamicResourceCache();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #6
0
    public static int get_UICtrlDescArray(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, instructionUITask.m_luaExportHelper.UICtrlDescArray);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #7
0
    public static int __callBase_ReturnPrevUITask(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            UITaskBase        o = instructionUITask.m_luaExportHelper.__callBase_ReturnPrevUITask();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #8
0
    public static int __callBase_IsOpeningUI(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            bool b = instructionUITask.m_luaExportHelper.__callBase_IsOpeningUI();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #9
0
    public static int IsNeedLoadDynamicRes(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            bool b = instructionUITask.m_luaExportHelper.IsNeedLoadDynamicRes();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #10
0
    public static int __callBase_CollectAllDynamicResForLoad(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            List <string>     o = instructionUITask.m_luaExportHelper.__callBase_CollectAllDynamicResForLoad();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #11
0
    public static int __callBase_CollectFxAsset(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            string            assetName;
            LuaObject.checkType(l, 2, out assetName);
            instructionUITask.m_luaExportHelper.__callBase_CollectFxAsset(assetName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #12
0
    public static int StartUITask_s(IntPtr l)
    {
        int result;

        try
        {
            string prefabName;
            LuaObject.checkType(l, 1, out prefabName);
            InstructionUITask o = InstructionUITask.StartUITask(prefabName);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #13
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            string name;
            LuaObject.checkType(l, 2, out name);
            InstructionUITask o = new InstructionUITask(name);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #14
0
    public static int __callBase_StartLoadCustomAssets(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            Action            onLoadCompleted;
            LuaObject.checkDelegate <Action>(l, 2, out onLoadCompleted);
            instructionUITask.m_luaExportHelper.__callBase_StartLoadCustomAssets(onLoadCompleted);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #15
0
    public static int InitDataFromUIIntent(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            UIIntent          intent;
            LuaObject.checkType <UIIntent>(l, 2, out intent);
            instructionUITask.m_luaExportHelper.InitDataFromUIIntent(intent);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #16
0
    public static int set_m_prefabName(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            string            prefabName;
            LuaObject.checkType(l, 2, out prefabName);
            instructionUITask.m_luaExportHelper.m_prefabName = prefabName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #17
0
    public static int set_m_instructionUIController(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask       instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            InstructionUIController instructionUIController;
            LuaObject.checkType <InstructionUIController>(l, 2, out instructionUIController);
            instructionUITask.m_luaExportHelper.m_instructionUIController = instructionUIController;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #18
0
    public static int set_m_uiCtrlDescArray(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask             instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            UITaskBase.UIControllerDesc[] uiCtrlDescArray;
            LuaObject.checkArray <UITaskBase.UIControllerDesc>(l, 2, out uiCtrlDescArray);
            instructionUITask.m_luaExportHelper.m_uiCtrlDescArray = uiCtrlDescArray;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #19
0
    public static int OnResume(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            UIIntent          intent;
            LuaObject.checkType <UIIntent>(l, 2, out intent);
            bool b = instructionUITask.m_luaExportHelper.OnResume(intent);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #20
0
    public static int __callBase_EnableUIInput(IntPtr l)
    {
        int result;

        try
        {
            InstructionUITask instructionUITask = (InstructionUITask)LuaObject.checkSelf(l);
            bool isEnable;
            LuaObject.checkType(l, 2, out isEnable);
            bool?isGlobalEnable;
            LuaObject.checkNullable <bool>(l, 3, out isGlobalEnable);
            instructionUITask.m_luaExportHelper.__callBase_EnableUIInput(isEnable, isGlobalEnable);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }