Skip to content

GatheringInfo beta ​

Interface of @v12-engine/engine

ts
export interface GatheringInfo

What a worker's owner and their allies are told of what it carries (gathering's snapshot)

Members ​

carrying ​

ts
carrying: number;

How much of it

kind ​

ts
kind: ResourceId | null;

What it is that it carries, or last gathered. Null for a worker that has not gathered anything yet