Expand description
Primitive types for the Open Multiplayer ABI: UID, SemanticVersion, StringView,
Colour, Vector{2,3,4}, ComponentType.
All use #[repr(C)] to guarantee binary layout identical to the C++ SDK’s
types.hpp header — do not reorder fields.
Structs§
- Colour
- RGBA color.
- Semantic
Version - Semantic version major.minor.patch with pre-release support.
- String
View - Non-owning string —
(pointer, length)pair, no\0terminator. - Vector2
- 2D vector.
- Vector3
- 3D vector — used for world positions in SA-MP/Open Multiplayer.
- Vector4
- 4D vector.
Enums§
- Component
Type - Component type.
Type Aliases§
- UID
- 64-bit unique identifier of an Open Multiplayer component.