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

Generic. More...

#include <Upgrade.h>

Collaboration diagram for CUpgrade:
Collaboration graph
[legend]

Public Attributes

CFlags Flags
 Flags. More...
 
CStringLink Name
 Name. More...
 
uint32 InfoTooltipPriority
 Tooltip Priority. More...
 
uint32 WebPriority
 Web Priority. More...
 
CImagePath Icon
 Icon. More...
 
CAlertLink Alert
 Alert. More...
 
CRaceLink Race
 Race. More...
 
uint32 ScoreAmount
 Score Amount. More...
 
EScoreValue ScoreCount
 Score Count. More...
 
EScoreValue ScoreValue
 Score Value. More...
 
CScoreResultLink ScoreResult
 Score Result. More...
 
std::vector< SUpgradeEffectEffectArray
 Effects. More...
 
TEditorCategories EditorCategories
 Editor Categories. More...
 
std::vector< TTechAliasTechAliasArray
 Tech Alias. More...
 
std::vector< CUnitLinkAffectedUnitArray
 Affected Unit Array. More...
 
uint8 MaxLevel
 Max Level. More...
 
CUpgradeLink LeaderAlias
 Leader Alias. More...
 
uint32 LeaderPriority
 Leader Priority. More...
 

Detailed Description

Generic.

Remarks
Unknown

Member Data Documentation

◆ AffectedUnitArray

std::vector<CUnitLink> CUpgrade::AffectedUnitArray

Affected Unit Array.

When an upgrade is applied, any units matching the unit types listed here will be notified that their upgrades have changed. This sends an Upgrade actor message as a result and will also update certain properties of Weapons and Abilities for each unit. To have your Upgrade actually affect game data, you need to configure the Effects field.

◆ Alert

CAlertLink CUpgrade::Alert

Alert.

Alert that occurs when the upgrade is complete

◆ EditorCategories

TEditorCategories CUpgrade::EditorCategories

Editor Categories.

Editor Categories are used for filtering and organization within the StarCraft II Editor.

◆ EffectArray

std::vector<SUpgradeEffect> CUpgrade::EffectArray

Effects.

Researching this upgrade will apply the changes to game data configured in this field. For example if you want the upgrade to add 10 health to a Marine, you need to add an effect, choose Unit from the Type dropdown, choose Marine from the Object dropdown, and choose Life Maximum from the Field tree. Change the Operation to Add and the Value to 10. Thus researching this upgrade will Add 10 to the Marine's Life Maximum field.

◆ Flags

CFlags CUpgrade::Flags

Flags.

Remarks
indexEnum: EUpgradeFlag

◆ Icon

CImagePath CUpgrade::Icon

Icon.

Icon for the upgrade

◆ InfoTooltipPriority

uint32 CUpgrade::InfoTooltipPriority

Tooltip Priority.

◆ LeaderAlias

CUpgradeLink CUpgrade::LeaderAlias

Leader Alias.

◆ LeaderPriority

uint32 CUpgrade::LeaderPriority

Leader Priority.

◆ MaxLevel

uint8 CUpgrade::MaxLevel

Max Level.

◆ Name

CStringLink CUpgrade::Name

Name.

Name of the upgrade

◆ Race

CRaceLink CUpgrade::Race

Race.

Race to which the upgrade belongs

◆ ScoreAmount

uint32 CUpgrade::ScoreAmount

Score Amount.

◆ ScoreCount

EScoreValue CUpgrade::ScoreCount

Score Count.

◆ ScoreResult

CScoreResultLink CUpgrade::ScoreResult

Score Result.

◆ ScoreValue

EScoreValue CUpgrade::ScoreValue

Score Value.

◆ TechAliasArray

std::vector<TTechAlias> CUpgrade::TechAliasArray

Tech Alias.

Tech aliases used to reference the upgrade

◆ WebPriority

uint32 CUpgrade::WebPriority

Web Priority.


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