コード例 #1
0
 static int AddRefCount(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         ResourceManager obj  = (ResourceManager)ToLua.CheckObject <ResourceManager>(L, 1);
         string          arg0 = ToLua.CheckString(L, 2);
         obj.AddRefCount(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }