Skip to main content

UID

Type Alias UID 

Source
pub type UID = u64;
Expand description

64-bit unique identifier of an Open Multiplayer component.

In the SDK, it is resolved in priority order by samp-codegen:

  1. uid: declared explicitly in initialize_plugin!
  2. [package.metadata.samp] uid in Cargo.toml
  3. FNV-1a 64-bit of CARGO_PKG_NAME@CARGO_PKG_VERSION (generated and written to Cargo.toml if none of the above options exist)