sc2-gamedata
Public Attributes | List of all members
CBehaviorResource Class Reference

Resource. More...

#include <Behavior.h>

Inheritance diagram for CBehaviorResource:
Inheritance graph
[legend]
Collaboration diagram for CBehaviorResource:
Collaboration graph
[legend]

Public Attributes

uint32 Capacity
 Capacity. More...
 
uint32 Contents
 Amount. More...
 
CGameTime HarvestTime
 Harvest Time. More...
 
uint32 HarvestAmount
 Harvest Amount. More...
 
uint32 EmptyHarvestAmount
 Empty Harvest Amount. More...
 
CUnitLink EmptyUnit
 Empty Unit. More...
 
CFlags Flags
 Resource Flags. More...
 
EAllianceId RequiredAlliance
 Required Alliance. More...
 
CGameTime ReturnDelay
 Return Delay. More...
 
CAlertLink ExhaustedAlert
 Exhausted Alert. More...
 
CAlertLink DepletionAlert
 Depletion Alert. More...
 
uint32 DepletionThreshold
 Depletion Threshold. More...
 
uint32 DepletionVariationCount
 Depletion Variation Count. More...
 
CBehaviorLink CarryResourceBehavior
 Carry Resource Behavior. More...
 
uint32 IdealHarvesterCount
 Ideal Harvester Count. More...
 
CTargetFilters EnabledSearchFilters
 Enabled Search Filters. More...
 
CFixed EnabledSearchRadius
 Enabled Search Radius. More...
 

Detailed Description

Resource.

Remarks
Unknown

Member Data Documentation

◆ Capacity

uint32 CBehaviorResource::Capacity

Capacity.

Maximum amount of resource the unit with this behavior can have

◆ CarryResourceBehavior

CBehaviorLink CBehaviorResource::CarryResourceBehavior

Carry Resource Behavior.

Behavior applied to worker units that carry this resource

◆ Contents

uint32 CBehaviorResource::Contents

Amount.

◆ DepletionAlert

CAlertLink CBehaviorResource::DepletionAlert

Depletion Alert.

◆ DepletionThreshold

uint32 CBehaviorResource::DepletionThreshold

Depletion Threshold.

◆ DepletionVariationCount

uint32 CBehaviorResource::DepletionVariationCount

Depletion Variation Count.

◆ EmptyHarvestAmount

uint32 CBehaviorResource::EmptyHarvestAmount

Empty Harvest Amount.

Amount of the resource that can be harvested per trip once the resources have been exhausted

Remarks
minValue: 0

◆ EmptyUnit

CUnitLink CBehaviorResource::EmptyUnit

Empty Unit.

The resource node is swapped to this unit once the resources have been exhausted

◆ EnabledSearchFilters

CTargetFilters CBehaviorResource::EnabledSearchFilters

Enabled Search Filters.

◆ EnabledSearchRadius

CFixed CBehaviorResource::EnabledSearchRadius

Enabled Search Radius.

Remarks
minValue: 0
maxValue: 0

◆ ExhaustedAlert

CAlertLink CBehaviorResource::ExhaustedAlert

Exhausted Alert.

Alert that plays when no resources remain in this node

◆ Flags

CFlags CBehaviorResource::Flags

Resource Flags.

Remarks
indexEnum: EBehaviorResourceFlag

◆ HarvestAmount

uint32 CBehaviorResource::HarvestAmount

Harvest Amount.

Amount of the resource that is harvested per trip

Remarks
minValue: 0

◆ HarvestTime

CGameTime CBehaviorResource::HarvestTime

Harvest Time.

Amount of time it takes to harvest the resource

Remarks
minValue: 0

◆ IdealHarvesterCount

uint32 CBehaviorResource::IdealHarvesterCount

Ideal Harvester Count.

◆ RequiredAlliance

EAllianceId CBehaviorResource::RequiredAlliance

Required Alliance.

◆ ReturnDelay

CGameTime CBehaviorResource::ReturnDelay

Return Delay.

Delay time before the harvester will deliver its resource cargo

Remarks
minValue: 0

The documentation for this class was generated from the following file: