Beispiel #1
0
    public static int get_IsLarge(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo activityNoticeInfo = (ActivityNoticeInfo)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, activityNoticeInfo.IsLarge);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #2
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo o = new ActivityNoticeInfo();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #3
0
    public static int set_IsLarge(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo activityNoticeInfo = (ActivityNoticeInfo)LuaObject.checkSelf(l);
            bool isLarge;
            LuaObject.checkType(l, 2, out isLarge);
            activityNoticeInfo.IsLarge = isLarge;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #4
0
    public static int set_ActivityId(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo activityNoticeInfo = (ActivityNoticeInfo)LuaObject.checkSelf(l);
            int activityId;
            LuaObject.checkType(l, 2, out activityId);
            activityNoticeInfo.ActivityId = activityId;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #5
0
    public static int set_Desc(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo activityNoticeInfo = (ActivityNoticeInfo)LuaObject.checkSelf(l);
            string             desc;
            LuaObject.checkType(l, 2, out desc);
            activityNoticeInfo.Desc = desc;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Beispiel #6
0
    public static int set_ImageName(IntPtr l)
    {
        int result;

        try
        {
            ActivityNoticeInfo activityNoticeInfo = (ActivityNoticeInfo)LuaObject.checkSelf(l);
            string             imageName;
            LuaObject.checkType(l, 2, out imageName);
            activityNoticeInfo.ImageName = imageName;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }