PretendoNetwork / nex-protocols-common-go

Reusable implementations of NEX methods found in many servers
GNU Affero General Public License v3.0
19 stars 8 forks source link

Implement various functions and player disconnects #18

Closed DaniElectra closed 1 year ago

DaniElectra commented 1 year ago

This PR implements the UpdateSessionURL and the JoinMatchmakeSession functions, as well as better handling when a player leaves unreliably (after a timeout).

This implements the same functionality as on CTGP-7 Network, with the new addition of JoinMatchmakeSession (which I just copy-pasted from JoinMatchmakeSessionWithParam with little modifications) to allow players to join to their friends or people who they have played before.

jonbarrow commented 1 year ago

Looks good to me :+1: