saltysystems / overworld

Open source framework for scalable multiplayer games.
Mozilla Public License 2.0
22 stars 4 forks source link

Session changes, documentation #53

Closed cmdrk closed 1 month ago

cmdrk commented 1 month ago

Make the session status more failsafe by changing ow_session:status/2 to specific setter functions for setting connected/disconnected state. This will avoid having arbitrary states in the session field that might cause things to blow up weirdly.

Start adding documentation for Sessions.

Made a bunch of cosmetic changes and thought a bit about what kind of information can be accessed about a session during 'part'.