コード例 #1
0
 static int QPYX_ResetPackage_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 3);
         GameAsset.AssetBundleManager QPYX_obj_YXQP = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         bool   QPYX_arg1_YXQP = LuaDLL.luaL_checkboolean(L_YXQP, 3);
         QPYX_obj_YXQP.ResetPackage(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #2
0
 static int ResetPackage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         GameAsset.AssetBundleManager obj = (GameAsset.AssetBundleManager)ToLua.CheckObject <GameAsset.AssetBundleManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         bool   arg1 = LuaDLL.luaL_checkboolean(L, 3);
         obj.ResetPackage(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }