Table of Contents

Enum EntityAttribution

Namespace
ElectricDrill.AstraRpgFramework.Ownership
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

Experimental — this API may still change. Specifies how the entity "responsible" for an action is derived from the acting entity's ownership chain (see Owner). Used by systems that need to attribute an outcome (damage, a kill, lifesteal, ...) to something other than the literal actor — e.g. crediting a ship (an entity) for damage dealt by its weapon (another entity).

public enum EntityAttribution

Fields

Direct = 0

The acting entity itself, ignoring ownership entirely. Preserves the behavior of every project that predates the ownership edge.

Owner = 1

The acting entity's immediate Owner, or the entity itself when unowned.

Root = 2

The topmost entity in the acting entity's ownership chain (see Root), or the entity itself when unowned.