Esempio n. 1
0
 static int TickToMilliSec(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         long arg0 = LuaDLL.tolua_checkint64(L, 1);
         long o    = Fps.TickToMilliSec(arg0);
         LuaDLL.tolua_pushint64(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }