RevenantX / LiteNetLib

Lite reliable UDP library for Mono and .NET
https://revenantx.github.io/LiteNetLib/index.html
MIT License
3.06k stars 495 forks source link

NetConstants configurable at runtime #541

Closed emrys90 closed 8 months ago

emrys90 commented 8 months ago

It would be nice if NetConstants could be modified at runtime, that way you do not have to modify source code to tweak settings. It would make updating to newer versions easier with less risk of forgetting to change something.

RevenantX commented 8 months ago

@emrys90 most constants is really constants. Also this is critical for performance

emrys90 commented 8 months ago

Alright. The only reason I wanted it was to increase DefaultWindowScale to 128. I believe this feature request would cover that anyways though which would make this one not needed. https://github.com/RevenantX/LiteNetLib/issues/110