Ejemplo n.º 1
0
    public static int get_m_luaModuleName(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.UIControllerDesc uicontrollerDesc = (UITaskBase.UIControllerDesc)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, uicontrollerDesc.m_luaModuleName);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.UIControllerDesc o = new UITaskBase.UIControllerDesc();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Ejemplo n.º 3
0
    public static int set_m_ctrlName(IntPtr l)
    {
        int result;

        try
        {
            UITaskBase.UIControllerDesc uicontrollerDesc = (UITaskBase.UIControllerDesc)LuaObject.checkSelf(l);
            string ctrlName;
            LuaObject.checkType(l, 2, out ctrlName);
            uicontrollerDesc.m_ctrlName = ctrlName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }