onimp / oni_multiplayer

Oxygen Not Included multiplayer mod. Work in progress.
MIT License
225 stars 17 forks source link

Synchronizers as dependencies #372

Open polycone opened 3 months ago

polycone commented 3 months ago

Note: After several attempts to erase state machines generic types from our customizers the only one seemingly good solution was to wrap everything with simple classes and route everything via dynamic delegates, basically making a wrapper for the entire state machines ecosystem, but this is too unjustified just for the sake of improving "excessive generics usage". The best way is to design the system with non-generic access and since we have no control over it - we stuck with this, I guess. Max line length was set to 160 characters long, in hopes to maybe improve readability.