diff --git a/internal/common/types.go b/internal/common/types.go index 5d97221..dee72a9 100644 --- a/internal/common/types.go +++ b/internal/common/types.go @@ -3,14 +3,14 @@ package common type EQ2DataType int const ( - TypeInt8 EQ2DataType = iota + TypeUint8 EQ2DataType = iota + TypeUint16 + TypeUint32 + TypeUint64 + TypeInt8 TypeInt16 TypeInt32 TypeInt64 - TypeSInt8 - TypeSInt16 - TypeSInt32 - TypeSInt64 TypeChar TypeFloat TypeDouble diff --git a/internal/packets/PARSER.md b/internal/packets/PARSER.md index e98d689..8d2e394 100644 --- a/internal/packets/PARSER.md +++ b/internal/packets/PARSER.md @@ -18,8 +18,8 @@ Fast XML-like parser for binary packet structures with versioning and conditiona | Type | Size | Description | |------|------|-------------| -| `i8`, `i16`, `i32`, `i64` | 1-8 bytes | Unsigned integers | -| `si8`, `si16`, `si32`, `si64` | 1-8 bytes | Signed integers | +| `u8`, `u16`, `u32`, `u64` | 1-8 bytes | Unsigned integers | +| `i8`, `i16`, `i32`, `i64` | 1-8 bytes | Signed integers | | `f32`, `f64`, `double` | 4-8 bytes | Floating point | | `str8`, `str16`, `str32` | Variable | Length-prefixed strings | | `char` | Fixed | Fixed-size byte array | @@ -30,7 +30,7 @@ Fast XML-like parser for binary packet structures with versioning and conditiona ## Multiple Field Names ```xml - + ``` @@ -38,7 +38,7 @@ Fast XML-like parser for binary packet structures with versioning and conditiona ```xml - + ``` @@ -109,9 +109,9 @@ Define reusable field groups that can be injected into packets: - +