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

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

        try
        {
            FixedStoreDataInfo o = new FixedStoreDataInfo();
            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_Stores(IntPtr l)
    {
        int result;

        try
        {
            FixedStoreDataInfo fixedStoreDataInfo = (FixedStoreDataInfo)LuaObject.checkSelf(l);
            Dictionary <int, FixedStoreInfo> stores;
            LuaObject.checkType <Dictionary <int, FixedStoreInfo> >(l, 2, out stores);
            fixedStoreDataInfo.Stores = stores;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }