Exemplo n.º 1
0
 public void DisconnectLater(uint data) => LibENet.PeerDisconnectLater(Unsafe, data);
Exemplo n.º 2
0
        /// <summary>
        /// Request disconnection from the peer.
        /// </summary>
        /// <param name="data">Data describing the disconnection</param>
        /// <remarks>
        /// An <see cref="ENetEventType.Disconnect"/> event will be generated by service method once disconnection is complete
        /// </remarks>
        public void DisconnectLater(uint data)
        {
            ThrowIfNull();

            LibENet.PeerDisconnectLater(m_Native, data);
        }