示例#1
0
 static int AndroidIsRoot(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameSDKInterface obj = (GameSDKInterface)ToLua.CheckObject <GameSDKInterface>(L, 1);
         bool             o   = obj.AndroidIsRoot();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }