Exemple #1
0
 static int CheckVer(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         int[] arg0 = ToLua.CheckNumberArray <int>(L, 1);
         bool  o    = GameAPI.CheckVer(arg0);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }