Skip to content

five-on-it / packages/sim/src/interactables / ROLE_CLS_BASE

Variable: ROLE_CLS_BASE ​

const ROLE_CLS_BASE: 16 = 16

Defined in: packages/sim/src/interactables.ts:64

Where a character's role starts in its snapshot cls: below it a pedestrian's role (an index into PEDESTRIAN_ROLES), from it up ROLE_CLS_BASE + Character.role.