Interface ResourceRequest

Request resource

interface ResourceRequest {
    amount: number;
    priority: number;
    resourceType: ResourceConstant;
    roomName: string;
    terminal?: boolean;
    timeout?: number;
}

Properties

amount: number

The amount of the resource needed.

priority: number

The priority of the resource request, ranging from 0 to 1 where 1 is the highest consideration.

resourceType: ResourceConstant

The type of resource needed.

roomName: string

The name of the room where the resource is needed.

terminal?: boolean

If set to false, allies can haul resources to us.

timeout?: number

Tick after which the request should be ignored.

Generated using TypeDoc