Commit graph

28 commits

Author SHA1 Message Date
Daniel López Guimaraes
f83d9061ee
fix(ranking): Fix inlined DateTime declaration
Instead of instantiating a new DateTime we can use the one that already
exists on the result param.
2025-02-11 22:41:48 +00:00
Daniel López Guimaraes
d7f8b585c1
feat: Migrate to new nex-go types 2025-01-01 19:55:13 +00:00
Daniel López Guimaraes
dfe7dba66b
chore: Update module version to v2 2024-04-07 23:56:20 +01:00
Jonathan Barrow
2728968441
update: added OnAfter event handlers for common methods 2024-02-13 16:34:03 -05:00
Daniel López Guimaraes
b6c8028476
refactor: Remove common protocols global variables 2024-02-11 14:51:26 +00:00
Daniel López Guimaraes
410ca40c01
refactor: Update ServerInterface to EndpointInterface
Also update method handlers to use the new nex.Error return.
2024-02-11 00:33:30 +00:00
Daniel López Guimaraes
bbb4872e89
Fix typos and use account getters from endpoint 2024-01-25 17:39:32 +00:00
Jonathan Barrow
d15b82cc12
chore: nex.Errors -> nex.ResultCodes 2024-01-24 16:51:45 -05:00
Jonathan Barrow
ce83fe9720
chore: update to new types 2024-01-22 12:40:37 -05:00
Daniel López Guimaraes
33c6ccc225
Update RMC method creation 2023-12-16 15:46:55 +00:00
Daniel López Guimaraes
6aa24a9ccf
Rename common protocols to CommonProtocol
This reduces the redundancy and follows better the Go style.
2023-12-14 23:21:01 +00:00
Jonathan Barrow
c8ca7cab4a
most common protocols now use interfaces 2023-12-10 00:30:53 -05:00
Jonathan Barrow
cf7a3ef105
merge: fix merge conflict 2023-12-09 23:30:48 -05:00
Daniel López Guimaraes
161f95da5f
Use ServerInterface and ClientInterface
There are some places where the PRUDP implementation is still needed,
but they aren't needed for HPP.
2023-12-07 14:05:33 +00:00
Jonathan Barrow
5dd7310eda
export most helpers rather than use setters 2023-12-01 02:54:56 -05:00
Jonathan Barrow
7e6bd47ff4
updated to new stream functions 2023-11-19 14:05:35 -05:00
Jonathan Barrow
0e39f84cf9
use new PID, DateTime and method returns 2023-11-14 22:47:15 -05:00
Jonathan Barrow
045afaab5b
use new PID type 2023-11-13 01:22:16 -05:00
Jonathan Barrow
edcc444a36
work with new nex-go 2023-11-12 06:47:56 -05:00
Jonathan Barrow
6404c51293
grab server from common protocols 2023-11-01 08:00:58 -04:00
Jonathan Barrow
011d7a1753
pass the original packet to method handlers instead of client 2023-11-01 07:50:32 -04:00
Daniel López Guimaraes
5160332968
Move logger to globals
This allows us to log inside the matchmaking globals.
2023-10-20 23:27:38 +01:00
shutterbug2000
f495b0b755 Formatting fixes 2023-10-11 08:04:09 -05:00
shutterbug2000
470f32c0de Code Review Changes 2023-10-11 07:50:27 -05:00
shutterbug2000
962aecdbd5 Adjust spacing 2023-10-11 05:39:01 -05:00
shutterbug2000
6b243dea56 Fix compile errors and move returned errors to end 2023-10-11 05:37:20 -05:00
shutterbug2000
d60b6b58ad Code review changes 2023-10-11 05:28:34 -05:00
shutterbug2000
5c006a0683 Add common Ranking protocol
Tested on both Ultimate NES Remix and DKC:TF without issues
2023-10-06 23:07:57 -05:00