예제 #1
0
 static int JPushSetPushTime(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         GameSDKInterface obj  = (GameSDKInterface)ToLua.CheckObject <GameSDKInterface>(L, 1);
         string           arg0 = ToLua.CheckString(L, 2);
         int  arg1             = (int)LuaDLL.luaL_checknumber(L, 3);
         int  arg2             = (int)LuaDLL.luaL_checknumber(L, 4);
         bool o = obj.JPushSetPushTime(arg0, arg1, arg2);
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }