private EEvent GetEvent() { var enetEv = new ENetEvent(); int ret = NativeMethods.EnetHostCheckEvents(this.host, enetEv); if (ret <= 0) { return(null); } var e = new EEvent(enetEv); return(e); }