Beispiel #1
0
        public void ConfigureThrottle(uint interval, uint acceleration, uint deceleration)
        {
            CheckCreated();

            Native.enet_peer_throttle_configure(nativePeer, interval, acceleration, deceleration);
        }
Beispiel #2
0
        public void ConfigureThrottle(uint interval, uint acceleration, uint deceleration, uint threshold)
        {
            ThrowIfNotCreated();

            Native.enet_peer_throttle_configure(nativePeer, interval, acceleration, deceleration, threshold);
        }