packetReceiver() public method

public packetReceiver ( ) : PacketReceiver
return PacketReceiver
Ejemplo n.º 1
0
 static int packetReceiver(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         KBEngine.NetworkInterface obj = (KBEngine.NetworkInterface)ToLua.CheckObject <KBEngine.NetworkInterface>(L, 1);
         KBEngine.PacketReceiver   o   = obj.packetReceiver();
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }