载入中...
搜索中...
未找到
Species reproduction parameters selected by ReproductionMode. 更多...
#include <Species.h>
Public 属性 | |
| ReproductionMode | mode = ReproductionMode::None |
| double | gestationDays = 0.0 |
| PairGestation only. | |
| double | intervalDays = 0.0 |
| SelfBud / Fission / SporeBurst cooldown. | |
| int | offspringCountMin = 1 |
| int | offspringCountMax = 1 |
| std::string | offspringSpeciesId |
| bool | requiresPartner = false |
| bool | partnerMustSameSpecies = true |
| bool | parentDiesOnBirth = false |
| bool | parentResetsStagesOnBirth = false |
详细描述
Species reproduction parameters selected by ReproductionMode.
类成员变量说明
◆ gestationDays
| double eve::growth::ReproductionDef::gestationDays = 0.0 |
PairGestation only.
被这些函数引用 eve::growth::normalizeSpeciesDef() , 以及 eve::growth::GrowthWorld::tryBreed().
◆ intervalDays
| double eve::growth::ReproductionDef::intervalDays = 0.0 |
SelfBud / Fission / SporeBurst cooldown.
被这些函数引用 eve::growth::normalizeSpeciesDef().
◆ mode
| ReproductionMode eve::growth::ReproductionDef::mode = ReproductionMode::None |
◆ offspringCountMax
| int eve::growth::ReproductionDef::offspringCountMax = 1 |
◆ offspringCountMin
| int eve::growth::ReproductionDef::offspringCountMin = 1 |
◆ offspringSpeciesId
| std::string eve::growth::ReproductionDef::offspringSpeciesId |
被这些函数引用 eve::growth::normalizeSpeciesDef().
◆ parentDiesOnBirth
◆ parentResetsStagesOnBirth
◆ partnerMustSameSpecies
| bool eve::growth::ReproductionDef::partnerMustSameSpecies = true |
被这些函数引用 eve::growth::GrowthWorld::tryBreed().
◆ requiresPartner
| bool eve::growth::ReproductionDef::requiresPartner = false |
该结构体的文档由以下文件生成:
- src/modules/growth/Species.h