Commit graph

210 commits

Author SHA1 Message Date
Jonathan Barrow
8fe373c2b1
Added type check to DataHolder reading 2023-04-10 22:26:07 -04:00
Jonathan Barrow
d65b2f2d4c
Added Station URL methods to StreamIn 2023-04-07 19:35:34 -04:00
Jonathan Barrow
ebc095e782
Added generic StreamIn::ReadListStructure 2023-04-07 19:32:45 -04:00
Jonathan Barrow
cd950eff9e
More consistent PRUDP method naming 2023-04-05 19:31:00 -04:00
Jonathan Barrow
86eb9b08e0
Removed SetNexVersion and added methods for setting specific NEX protocol versions 2023-04-05 19:28:18 -04:00
Jonathan Barrow
67e64f3fe7
Merge pull request #22 from hauntii/feature-write-date-time
Add WriteDateTime for clarity
2023-04-02 00:05:02 -04:00
light
127f685036 Add WriteDateTime for clarity 2023-04-01 17:02:22 -04:00
Jonathan Barrow
21416aab1c
Added BE for uint32 and uint64 on StreamIn 2023-03-30 00:52:33 -04:00
Jonathan Barrow
935836805e
Merge branch 'master' of https://github.com/PretendoNetwork/nex-go 2023-03-26 12:29:26 -04:00
Jonathan Barrow
44f40a5dbf
Merge pull request #21 from DaniElectra/rmcrequest
Fix RMCRequest parameters
2023-03-26 12:27:50 -04:00
Jonathan Barrow
aa7f415a24
Acknowledge disconnect packet 3 times 2023-03-25 20:55:58 -04:00
Daniel López Guimaraes
c7ce81502e
Fix RMCRequest parameters
Don't use a fixed value to get the parameters, as a custom ID can extend
the header size and cause issues when reading the parameters. Get the
offset dynamically instead.
2023-03-25 22:56:46 +00:00
Jonathan Barrow
cc21f763bb
Merge pull request #20 from PretendoNetwork/chore-linting-updates
Fixed linking issues
2023-01-02 14:21:43 -05:00
Jonathan Barrow
dfbab77c47
Removed unnecessary nil checks for v0 packet payloads 2023-01-01 14:02:27 -05:00
Jonathan Barrow
55ad872c07
Added ReadDataHolder error check 2023-01-01 14:01:19 -05:00
Jonathan Barrow
252726d5e3
Added WriteToUDP error check 2023-01-01 13:58:25 -05:00
Jonathan Barrow
7afc45a760
Removed additional type assertions in server.Emit method 2023-01-01 13:55:16 -05:00
Jonathan Barrow
914d8dd667
Removed unused hierarchy from RVConnectionData 2023-01-01 13:53:45 -05:00
Jonathan Barrow
b010f6d2aa
Fixed all incorrect Godoc comments 2023-01-01 13:51:53 -05:00
Jonathan Barrow
a466103550
Unexport InitErrorsData 2023-01-01 13:47:27 -05:00
Jonathan Barrow
bc9dd4601b
Changed ErrorsStruct to nexerrors and unexport 2023-01-01 13:46:52 -05:00
Jonathan Barrow
32d0632ab3
Added all missing Godoc comments 2023-01-01 13:45:06 -05:00
Jonathan Barrow
e7d991fafc
Fixed all naming convention issues 2023-01-01 13:30:45 -05:00
Jonathan Barrow
48d90055bb
Removed unused Client struct properties 2022-12-31 17:37:43 -05:00
Jonathan Barrow
b25f1d040b
rename RC4Key -> key 2022-12-31 17:36:18 -05:00
Jonathan Barrow
6be86dec58
localStationUrl -> localStationURL 2022-12-31 17:35:22 -05:00
Jonathan Barrow
7523648ecb
Added golangci-lint config for aggregated linting 2022-12-31 13:16:55 -05:00
Jonathan Barrow
3efe2d90b8
Added godoc package comment 2022-12-31 11:21:52 -05:00
Jonathan Barrow
d35cec6121
Added DateTime.UTC() 2022-12-29 23:06:08 -05:00
Jonathan Barrow
3b717bdfee
Merge pull request #19 from DaniElectra/custom-id 2022-12-13 15:57:42 -05:00
Daniel López Guimaraes
74a72fc436
Fix comments
I left that one behind
2022-12-13 20:53:05 +00:00
Daniel López Guimaraes
246bbb195e
Fix comments 2022-12-13 20:51:33 +00:00
Daniel López Guimaraes
d50cb48ef3
Add RMCResponse getter and setter for Custom ID 2022-12-13 20:35:58 +00:00
Jonathan Barrow
de6ce6cb0c
Merge pull request #18 from shutterbug2000/master 2022-09-17 06:14:05 -04:00
shutterbug2000
8a5d8d23eb Fix connection issues in Splatoon. 2022-09-17 06:58:53 +00:00
Jonathan Barrow
7ee7af5f38
Disconnect lingering connections 2022-09-11 14:55:31 -04:00
Jonathan Barrow
bb6d6348b0
Removed duplicate code in V1 ACK encoding 2022-09-05 09:51:38 -04:00
Jonathan Barrow
95ecd962f0
Remove event handler type assertion 2022-09-05 09:48:11 -04:00
Jonathan Barrow
27ad758bd7
Fixed Client constructor 2022-09-05 09:46:06 -04:00
Jonathan Barrow
4bb09fd0ea
Track client PRUDP minor version and supported functions 2022-09-05 09:45:36 -04:00
Jonathan Barrow
55b5f287ec
Properly encode supported functions in V1 packets 2022-09-05 09:43:34 -04:00
Jonathan Barrow
92e596657f
Added (Set)PRUDPProtocolMinorVersion methods on V1 packets 2022-09-05 09:42:41 -04:00
Jonathan Barrow
4d1c7455d8
Properly decode supported functions option 2022-09-05 09:19:39 -04:00
Jonathan Barrow
52b2001c00
Removed useless line breaks 2022-09-05 09:11:55 -04:00
Jonathan Barrow
7273e142d1
Added PRUDP minor version and support functions methods to client 2022-09-05 09:11:09 -04:00
Jonathan Barrow
d62f77a58f
Added (Set)SupportedFunctions methods 2022-09-05 09:08:54 -04:00
Jonathan Barrow
eef299b0bf
Corrected structure header check 2022-09-05 08:59:53 -04:00
Jonathan Barrow
003b4c2baa
Added (Set)PRUDPProtocolMinorVersion methods and corrected misuse of server NEX version 2022-09-05 08:57:56 -04:00
Jonathan Barrow
d46c1e7928
Updated README.md 2022-09-03 17:13:42 -04:00
Jonathan Barrow
fdd50063d0
Updated .gitignore 2022-08-29 18:06:53 -04:00