| 1 |
class CUnitType |
| 2 |
{ |
| 3 |
std::string Ident; |
| 4 |
std::string Name; |
| 5 |
tolua_readonly int Slot; |
| 6 |
|
| 7 |
int MinAttackRange; |
| 8 |
|
| 9 |
tolua_property__s int MaxEnergyUtilizationRate; |
| 10 |
tolua_property__s int MaxMagmaUtilizationRate; |
| 11 |
tolua_property__s int EnergyProductionRate; |
| 12 |
tolua_property__s int MagmaProductionRate; |
| 13 |
tolua_property__s int EnergyValue; |
| 14 |
tolua_property__s int MagmaValue; |
| 15 |
tolua_property__s int EnergyStorageCapacity; |
| 16 |
tolua_property__s int MagmaStorageCapacity; |
| 17 |
}; |
| 18 |
|
| 19 |
CUnitType *UnitTypeByIdent(const std::string ident); |
| 20 |
|