Esempio n. 1
0
 static int CreatePacket(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 0);
         Packet o = GUtil.CreatePacket();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }