Skip to content

EntityTypeId

@vimp-mp/types 2.0.1

Type alias · Client API

Discriminant matching EntityType::as_u8 on the server. Used by the generic vimp.entities.* reader API to address any entity type. Player has class-level shortcuts (me.getStreamSyncedMeta(key)) that bind Player (=0) implicitly.

ts
type EntityTypeId = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7

VIMP developer documentation