Skip to content

Commit

Permalink
comment update. min max channels is 2 realistically
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Aug 30, 2024
1 parent 5e7282a commit b128d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/yojimbo_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace yojimbo
{
const int MaxClients = 64; ///< The maximum number of clients supported by this library. You can increase this if you want, but this library is designed around patterns that work best for [2,64] player games. If your game has less than 64 clients, reducing this will save memory.

const int MaxChannels = 2; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory.
const int MaxChannels = 2; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory. Minimum is 2.

const int KeyBytes = 32; ///< Size of encryption key for dedicated client/server in bytes. Must be equal to key size for libsodium encryption primitive. Do not change.

Expand Down

0 comments on commit b128d94

Please sign in to comment.