예제 #1
0
 static int HanldeProtoBuf(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Packet arg0 = (Packet)ToLua.CheckObject <Packet>(L, 1);
         Packet o    = GUtil.HanldeProtoBuf(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }