NetworkedMultiplayerENet.CompressionMode

Values

ValueMeaning
compressNone0

No compression. This uses the most bandwidth, but has the upside of requiring the fewest CPU resources.

compressRangeCoder1

ENet's built-in range encoding.

compressFastlz2

url=http://fastlz.org/FastLZ/url compression. This option uses less CPU resources compared to constant COMPRESS_ZLIB, at the expense of using more bandwidth.

compressZlib3

url=https://www.zlib.net/Zlib/url compression. This option uses less bandwidth compared to constant COMPRESS_FASTLZ, at the expense of using more CPU resources.

compressZstd4

url=https://facebook.github.io/zstd/Zstandard/url compression.

Meta