Esempio n. 1
0
        public void SetChannelLimit(int channelLimit)
        {
            CheckCreated();
            CheckChannelLimit(channelLimit);

            Native.enet_host_channel_limit(nativeHost, (IntPtr)channelLimit);
        }
Esempio n. 2
0
        public void SetChannelLimit(int channelLimit)
        {
            ThrowIfNotCreated();
            ThrowIfChannelsExceeded(channelLimit);

            Native.enet_host_channel_limit(nativeHost, (IntPtr)channelLimit);
        }
Esempio n. 3
0
        public void SetChannelLimit(int channelLimit)
        {
            IsCreated();
            IsChannelsLimited(channelLimit);

            Native.enet_host_channel_limit(nativeHost, (IntPtr)channelLimit);
        }