示例#1
0
    public static int __callBase_BindFieldImpl(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            Type fieldType;
            LuaObject.checkType(l, 2, out fieldType);
            string path;
            LuaObject.checkType(l, 3, out path);
            AutoBindAttribute.InitState initState;
            LuaObject.checkEnum <AutoBindAttribute.InitState>(l, 4, out initState);
            string fieldName;
            LuaObject.checkType(l, 5, out fieldName);
            string ctrlName;
            LuaObject.checkType(l, 6, out ctrlName);
            bool optional;
            LuaObject.checkType(l, 7, out optional);
            UnityEngine.Object o = combatCharUIController.m_luaExportHelper.__callBase_BindFieldImpl(fieldType, path, initState, fieldName, ctrlName, optional);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#2
0
    public static int __callBase_Clear(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            combatCharUIController.m_luaExportHelper.__callBase_Clear();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#3
0
    public static int get_m_loopAnimationName(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, combatCharUIController.m_luaExportHelper.m_loopAnimationName);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#4
0
    public static int OnBindFiledsCompleted(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            combatCharUIController.m_luaExportHelper.OnBindFiledsCompleted();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#5
0
    public static int DestroyGraphic(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            combatCharUIController.DestroyGraphic();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#6
0
    public static int GetAnimationName(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string animationName = combatCharUIController.GetAnimationName();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, animationName);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#7
0
    public static int SetDirection(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            int direction;
            LuaObject.checkType(l, 2, out direction);
            combatCharUIController.SetDirection(direction);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#8
0
    public static int set_m_spineGraphic(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            UISpineGraphic         spineGraphic;
            LuaObject.checkType <UISpineGraphic>(l, 2, out spineGraphic);
            combatCharUIController.m_luaExportHelper.m_spineGraphic = spineGraphic;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#9
0
    public static int set_m_animationName(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string animationName;
            LuaObject.checkType(l, 2, out animationName);
            combatCharUIController.m_luaExportHelper.m_animationName = animationName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#10
0
    public static int set_m_image(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            Image image;
            LuaObject.checkType <Image>(l, 2, out image);
            combatCharUIController.m_luaExportHelper.m_image = image;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#11
0
    public static int __callBase_SetToggleValueChangedListener(IntPtr l)
    {
        int result;

        try
        {
            int total = LuaDLL.lua_gettop(l);
            if (LuaObject.matchType(l, total, 2, typeof(string[]), typeof(Action <UIControllerBase, bool>)))
            {
                CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
                string[] fieldNames;
                LuaObject.checkArray <string>(l, 2, out fieldNames);
                Action <UIControllerBase, bool> action;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action);
                combatCharUIController.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldNames, action);
                LuaObject.pushValue(l, true);
                result = 1;
            }
            else if (LuaObject.matchType(l, total, 2, typeof(string), typeof(Action <UIControllerBase, bool>)))
            {
                CombatCharUIController combatCharUIController2 = (CombatCharUIController)LuaObject.checkSelf(l);
                string fieldName;
                LuaObject.checkType(l, 2, out fieldName);
                Action <UIControllerBase, bool> action2;
                LuaObject.checkDelegate <Action <UIControllerBase, bool> >(l, 3, out action2);
                combatCharUIController2.m_luaExportHelper.__callBase_SetToggleValueChangedListener(fieldName, action2);
                LuaObject.pushValue(l, true);
                result = 1;
            }
            else
            {
                LuaObject.pushValue(l, false);
                LuaDLL.lua_pushstring(l, "No matched override function __callBase_SetToggleValueChangedListener to call");
                result = 2;
            }
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#12
0
    public static int HasAnimation(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string name;
            LuaObject.checkType(l, 2, out name);
            bool b = combatCharUIController.HasAnimation(name);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#13
0
    public static int PlayAnimation(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string animation;
            LuaObject.checkType(l, 2, out animation);
            bool loop;
            LuaObject.checkType(l, 3, out loop);
            combatCharUIController.PlayAnimation(animation, loop);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#14
0
    public static int CreateGraphic(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController  combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            ConfigDataCharImageInfo charImageInfo;
            LuaObject.checkType <ConfigDataCharImageInfo>(l, 2, out charImageInfo);
            ConfigDataCharImageSkinResourceInfo skinResInfo;
            LuaObject.checkType <ConfigDataCharImageSkinResourceInfo>(l, 3, out skinResInfo);
            combatCharUIController.CreateGraphic(charImageInfo, skinResInfo);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#15
0
    public static int __callBase_OnButtonClick(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            Button button;
            LuaObject.checkType <Button>(l, 2, out button);
            string fieldName;
            LuaObject.checkType(l, 3, out fieldName);
            combatCharUIController.m_luaExportHelper.__callBase_OnButtonClick(button, fieldName);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#16
0
    public static int __callBase_Initlize(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            bool bindNow;
            LuaObject.checkType(l, 3, out bindNow);
            combatCharUIController.m_luaExportHelper.__callBase_Initlize(ctrlName, bindNow);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
示例#17
0
    public static int __callBase_SetButtonLongPressEndListener(IntPtr l)
    {
        int result;

        try
        {
            CombatCharUIController combatCharUIController = (CombatCharUIController)LuaObject.checkSelf(l);
            string fieldName;
            LuaObject.checkType(l, 2, out fieldName);
            Action <UIControllerBase> action;
            LuaObject.checkDelegate <Action <UIControllerBase> >(l, 3, out action);
            combatCharUIController.m_luaExportHelper.__callBase_SetButtonLongPressEndListener(fieldName, action);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }