Struct EntityLockConfig

Struct Documentation

struct EntityLockConfig

Per-entity or per-type lock configuration.

Allows overriding lock behavior for specific entity types or individual entities (e.g., making certain components non-breakable).

Public Members

std::vector<std::string> required_scopes

Scopes that must be locked (empty = no requirement)

bool breakable = true

Whether locks on this entity can be broken.

int max_expiration = 0

Max expiration seconds (0 = use global default)