miwarnec / DOTSNET

Public DOTSNET issue tracker
20 stars 0 forks source link

Expose Transport Configurations #22

Closed Piefayth closed 4 years ago

Piefayth commented 4 years ago

Is your feature request related to a problem? Please describe. Can't configure my transport (in my case, LiteNetLib) to use all the available features. I assume the other transports are similarly underexposed, but I honestly haven't looked.

Describe the solution you'd like I think what would be nice is a way to let the user customize the whole client creation, maybe by offering some sort of hook where we can return a custom NetManager.

I know you've talked about doing this a bit on Discord, I just wanna confirm the scope of access to NetManager will allow me to do all the fun LNL things. I realize I can just make my own transport if I want to muck around with, say, the listener settings, but I'd rather not, haha.

miwarnec commented 4 years ago

@Piefayth sure, can expose more settings. which ones do you need?

Piefayth commented 4 years ago

The ones that made me ask are

SimulatePacketLoss SimulateLatency SimulationPacketLossChance SimulationMinLatency SimulationMaxLatency

miwarnec commented 4 years ago

thanks for report. settings are exposed in V1.18: 2020-08-28_17-11-02