Esempio n. 1
0
    public static int AddBundle2TouchedBundleSet(IntPtr l)
    {
        int result;

        try
        {
            ResourceManager resourceManager = (ResourceManager)LuaObject.checkSelf(l);
            string          bundleName;
            LuaObject.checkType(l, 2, out bundleName);
            bool checkBundleData;
            LuaObject.checkType(l, 3, out checkBundleData);
            bool b = resourceManager.AddBundle2TouchedBundleSet(bundleName, checkBundleData);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, b);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }