interface ResourceData {
    absorb: null | number;
    additionalResources: null | ClassResource;
    armor: null | number;
    attackPower: number;
    facing: null | number;
    hitPoints: number;
    itemLevel: number;
    mapId: null | number;
    maxHitPoints: number;
    resolve: null | number;
    resourceAmount: number;
    resourceCap: number;
    resourceCost: number;
    resourceType: number;
    spellPower: number;
    x: number;
    y: number;
}

Properties

absorb: null | number

The current absorb shield on the actor. Does not exist in older logs.

additionalResources: null | ClassResource
armor: null | number

The current armor of the actor. Does not exist in older logs.

attackPower: number

The current attack power of the actor.

facing: null | number

The unit's facing. Null for games that do not support facing.

hitPoints: number

The unit's current hit points.

itemLevel: number

The current item level of the actor.

mapId: null | number

The map id that the logging unit is on (not the unit represented by the resources). Not present in older logs.

maxHitPoints: number

The unit's maximum hit points.

resolve: null | number

Only for Mists of Pandaria Logs, the resolve of a tank actor. Null for other expansions.

resourceAmount: number
resourceCap: number
resourceCost: number
resourceType: number
spellPower: number

The current spell power of the actor.

x: number

The unit's x position.

y: number

The unit's y position.