Пример #1
0
 static int LoadAssetBundlePack(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         SUIFW.ABMgr             obj  = (SUIFW.ABMgr)ToLua.CheckObject <SUIFW.ABMgr>(L, 1);
         string                  arg0 = ToLua.CheckString(L, 2);
         string                  arg1 = ToLua.CheckString(L, 3);
         SUIFW.DelABLoadComplete arg2 = (SUIFW.DelABLoadComplete)ToLua.CheckDelegate <SUIFW.DelABLoadComplete>(L, 4);
         obj.LoadAssetBundlePack(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
Пример #2
0
    public SUIFW.DelABLoadComplete SUIFW_DelABLoadComplete(LuaFunction func, LuaTable self, bool flag)
    {
        if (func == null)
        {
            SUIFW.DelABLoadComplete fn = delegate(string param0) { };
            return(fn);
        }

        if (!flag)
        {
            SUIFW_DelABLoadComplete_Event target = new SUIFW_DelABLoadComplete_Event(func);
            SUIFW.DelABLoadComplete       d      = target.Call;
            target.method = d.Method;
            return(d);
        }
        else
        {
            SUIFW_DelABLoadComplete_Event target = new SUIFW_DelABLoadComplete_Event(func, self);
            SUIFW.DelABLoadComplete       d      = target.CallWithSelf;
            target.method = d.Method;
            return(d);
        }
    }
Пример #3
0
 void Push_SUIFW_DelABLoadComplete(IntPtr L, SUIFW.DelABLoadComplete o)
 {
     ToLua.Push(L, o);
 }