|
sc2-gamedata
|
Generic. More...
#include <Upgrade.h>

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< SUpgradeEffect > | EffectArray |
| Effects. More... | |
| TEditorCategories | EditorCategories |
| Editor Categories. More... | |
| std::vector< TTechAlias > | TechAliasArray |
| Tech Alias. More... | |
| std::vector< CUnitLink > | AffectedUnitArray |
| Affected Unit Array. More... | |
| uint8 | MaxLevel |
| Max Level. More... | |
| CUpgradeLink | LeaderAlias |
| Leader Alias. More... | |
| uint32 | LeaderPriority |
| Leader Priority. More... | |
Generic.
| 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.
| CAlertLink CUpgrade::Alert |
Alert.
Alert that occurs when the upgrade is complete
| TEditorCategories CUpgrade::EditorCategories |
Editor Categories.
Editor Categories are used for filtering and organization within the StarCraft II Editor.
| 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.
| CFlags CUpgrade::Flags |
Flags.
| CImagePath CUpgrade::Icon |
Icon.
Icon for the upgrade
| uint32 CUpgrade::InfoTooltipPriority |
Tooltip Priority.
| CUpgradeLink CUpgrade::LeaderAlias |
Leader Alias.
| uint32 CUpgrade::LeaderPriority |
Leader Priority.
| uint8 CUpgrade::MaxLevel |
Max Level.
| CStringLink CUpgrade::Name |
Name.
Name of the upgrade
| CRaceLink CUpgrade::Race |
Race.
Race to which the upgrade belongs
| uint32 CUpgrade::ScoreAmount |
Score Amount.
| EScoreValue CUpgrade::ScoreCount |
Score Count.
| CScoreResultLink CUpgrade::ScoreResult |
Score Result.
| EScoreValue CUpgrade::ScoreValue |
Score Value.
| std::vector<TTechAlias> CUpgrade::TechAliasArray |
Tech Alias.
Tech aliases used to reference the upgrade
| uint32 CUpgrade::WebPriority |
Web Priority.
1.8.14