Skip to main content

samp_sdk/omp/generated/
variables.rs

1//! `IVariablesComponent` — generated by `cargo xtask gen-omp` from `Server/Components/Variables/variables.hpp`.
2//! Implemented by `VariablesComponent` in the server's `Variables`.
3//!
4//! Do not edit: change `xtask/omp-wrappers.toml` or the generator and
5//! regenerate. Slots are clang's layout of the header for each ABI, checked
6//! against the official binaries by `cargo xtask check-abi --generated`.
7
8#![allow(unused_imports)]
9
10use crate::omp::containers::{FlatSet, HybridString, Pair, Span};
11use crate::omp::types::{
12    Colour, GTAQuat, Hours, Microseconds, Milliseconds, Minutes, Seconds, StringView, TimePoint,
13    UID, Vector2, Vector3, Vector4, WorldTimePoint,
14};
15use crate::omp::vtable::{call_vtable_small_struct, opaque, slots, virtual_fns};
16use crate::omp::*;
17
18opaque! {
19    /// Opaque handle for `IVariablesComponent*`.
20    pub IVariablesComponent;
21}
22
23/// `VariablesComponent_UID` in `Server/Components/Variables/variables.hpp`.
24pub const VARIABLES_COMPONENT_UID: UID = 0x75e121848bc01fa2;
25
26impl ComponentInterface for IVariablesComponent {
27    const UID: UID = VARIABLES_COMPONENT_UID;
28}