Daniel López Guimaraes
509b274086
station-url: Set flags when calling FromString
2024-04-10 19:38:29 +01:00
Daniel López Guimaraes
d5df60ef58
chore: Update module version to v2
2024-04-07 23:40:51 +01:00
Jonathan Barrow
58526f8a1a
prudp: fix StationURL.PlatformType comment
2024-04-01 22:00:02 -04:00
Jonathan Barrow
29b24b93bb
types: add OOB check in List.SetIndex
2024-03-29 21:20:51 -04:00
Jonathan Barrow
02078bf185
types: fix primitive number type shift methods
2024-03-29 21:18:39 -04:00
Daniel López Guimaraes
2ccb21dfd6
StationURL: Use strings.Cut for extracting parameters
...
This avoids crashes when a field with no value is given. This popped up
on Mario Kart 7.
2024-03-26 23:15:55 +00:00
Daniel López Guimaraes
a0d9eacb86
types/station_url: Remove unused parameter for Address getter
2024-03-17 22:29:58 +00:00
Jonathan Barrow
bfadcf1fc2
chore: StationURL does actually have a Remove method
2024-03-16 12:00:41 -04:00
Jonathan Barrow
ce2526f3dd
chore: spelling in StationURL comments
2024-03-16 11:59:50 -04:00
Jonathan Barrow
dde9a9921d
prudp: more accurate StationURL implementation
2024-03-16 11:49:41 -04:00
Jonathan Barrow
ab069f3410
chore: formatting
2024-03-15 13:17:00 -04:00
Daniel López Guimaraes
9215e65ec3
chore: bugfixes and cleanup
2024-02-11 14:44:16 +00:00
Jonathan Barrow
be784327c7
types: add nil and type ID checks to Variant
2024-01-24 15:57:48 -05:00
Jonathan Barrow
00d12db583
types: added List.SetIndex receiver
2024-01-22 12:38:51 -05:00
Jonathan Barrow
af9a57eca0
types: added List.DeleteIndex and List.Remove receivers
2024-01-22 11:00:22 -05:00
Jonathan Barrow
af072671da
types: added List.Slice receiver
2024-01-21 21:15:13 -05:00
Jonathan Barrow
bfc793b039
types: added List.Contains receiver
2024-01-21 21:06:22 -05:00
Jonathan Barrow
af6a183ecb
types: added List.Each receiver
2024-01-20 13:44:09 -05:00
Jonathan Barrow
a9cf3d73cb
types: added bitwise receivers to numeric types
2024-01-20 13:20:48 -05:00
Jonathan Barrow
cc18168f0e
types: added List.Length receiver
2024-01-20 13:20:01 -05:00
Jonathan Barrow
9dc57ac1ff
types: Result -> QResult
2024-01-15 16:39:05 -05:00
Jonathan Barrow
b82f545a03
types: update some bad Equals methods
2024-01-07 16:52:30 -05:00
Jonathan Barrow
7c38a411fe
types: update Map FormatToString to remove linter warning
2024-01-07 16:19:24 -05:00
Jonathan Barrow
2c4d6aa662
types: update Godoc comments
2024-01-07 16:18:32 -05:00
Daniel López Guimaraes
04220dfcd1
types: Add String printing overrides to all types
2024-01-03 00:29:15 +00:00
Jonathan Barrow
059da89429
types: Data e to d
2023-12-31 22:42:00 -05:00
Daniel López Guimaraes
6933349e91
structure: Remove ParentType
...
As we know a structure's parent type inside the child structure, this
isn't needed anymore now that we are writing all the structure from
itself.
2023-12-28 00:39:06 +00:00
Daniel López Guimaraes
03434ad777
types: Use RV types for AnyDataHolder and Variant
...
Also fix a typo in the `ExtractFrom` funcions.
2023-12-27 23:07:51 +00:00
Daniel López Guimaraes
34fa2d53de
types: Replace type aliases with struct wrappers
...
Also remove StructureInterface, and make all structures initialize all
their fields. The structure header is now added as a common function
`ExtractHeaderFrom` and `WriteHeaderTo`.
2023-12-27 22:16:06 +00:00
Jonathan Barrow
e61cddf06e
types: rename Empty to Data and update AnyDataHolder docs
2023-12-25 22:16:31 -05:00
Jonathan Barrow
9a1db6b090
types: fix types Copy methods
2023-12-23 15:50:33 -05:00
Jonathan Barrow
793664257a
types: remove unused generic from PID type
2023-12-23 15:21:22 -05:00
Jonathan Barrow
c6edc9108c
types: rename NullData to Empty
2023-12-23 15:04:41 -05:00
Jonathan Barrow
93965aa836
types: removed TODO comment for NewPrimitiveU64
2023-12-23 15:02:41 -05:00
Jonathan Barrow
919cabda7d
types: added constructor values to primitive types
2023-12-23 15:01:55 -05:00
Jonathan Barrow
ba29ad816a
types: remove List constructor type
2023-12-23 14:48:31 -05:00
Jonathan Barrow
86d13513da
types: remove Map constructor types
2023-12-23 14:48:16 -05:00
Jonathan Barrow
715e3182cd
expanded all types into dedicated files and made the stream API generic
2023-12-23 13:03:32 -05:00