示例#1
0
        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);
        }