Skip to main content

Entities

Namespace: DeadworksManaged.Api

Provides enumeration over all server entities. Uses the existing GetEntityByIndex native callback.

Properties

PropertyDescription
AllEnumerates all valid entities on the server.

Methods

MethodDescription
ByClass<T>()Enumerates all entities whose native DLL class matches T.
ByDesignerName(string name)Enumerates all entities with the given designer name (e.g. "trigger_multiple", "npc_boss_tier3").

EntityData

Namespace: DeadworksManaged.Api

Dictionary-like store that associates arbitrary per-entity data with entities by their handle. Automatically removes entries when an entity is deleted.


EntityDataRegistry

Namespace: DeadworksManaged.Api

Global registry of all active EntityData stores. Notifies them when an entity is deleted to purge stale entries.


IEntityData

Namespace: DeadworksManaged.Api

Internal interface for entity-keyed data stores, allowing cleanup on entity deletion.