sc2-gamedata
Public Attributes | List of all members
SCost Struct Reference

#include <Game.h>

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

Public Attributes

CFlags Display
 Cost Display. More...
 
std::vector< CFixedVital
 Vitals. More...
 
std::vector< CFixedVitalFraction
 Vital Fraction. More...
 
SCharge Charge
 Charge. More...
 
SCooldown Cooldown
 Cooldown. More...
 
- Public Attributes inherited from STechCost
std::vector< int32Resource
 Technology Resource Cost. More...
 

Detailed Description

Remarks
Struct

Member Data Documentation

◆ Charge

SCharge SCost::Charge

Charge.

Charge that is removed when the unit uses the ability

◆ Cooldown

SCooldown SCost::Cooldown

Cooldown.

Amount of time it takes for the charge to regenerate

◆ Display

CFlags SCost::Display

Cost Display.

When enabled, the specified cost appears in the ability's tooltip text.

Remarks
indexEnum: ECostDisplay

◆ Vital

std::vector<CFixed> SCost::Vital

Vitals.

Amount of vitals the unit must use in order to cast the ability

Remarks
indexEnum: EUnitVital

◆ VitalFraction

std::vector<CFixed> SCost::VitalFraction

Vital Fraction.

Fraction of vitals the unit must use in order to cast the ability

Remarks
indexEnum: EUnitVital

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