@temporary-escape/mod-sdk / DestroyReason
Enumeration: DestroyReason
Defined in: templates.ts:41
Reason an entity is being removed, forwarded to a template's onDestroy hook.
Enumeration Members
| Enumeration Member | Value | Defined in |
|---|---|---|
Despawned | 3 | templates.ts:45 |
Destroyed | 1 | templates.ts:43 |
Killed | 2 | templates.ts:44 |
SectorUnload | 4 | templates.ts:46 |
Unknown | 0 | templates.ts:42 |
