载入中...
搜索中...
未找到
eve::growth::ReproductionDef结构体 参考

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.

在文件 Species.h 第 53 行定义.

类成员变量说明

◆ gestationDays

double eve::growth::ReproductionDef::gestationDays = 0.0

PairGestation only.

在文件 Species.h 第 55 行定义.

被这些函数引用 eve::growth::normalizeSpeciesDef() , 以及 eve::growth::GrowthWorld::tryBreed().

◆ intervalDays

double eve::growth::ReproductionDef::intervalDays = 0.0

SelfBud / Fission / SporeBurst cooldown.

在文件 Species.h 第 56 行定义.

被这些函数引用 eve::growth::normalizeSpeciesDef().

◆ mode

◆ offspringCountMax

int eve::growth::ReproductionDef::offspringCountMax = 1

在文件 Species.h 第 58 行定义.

被这些函数引用 eve::growth::GrowthWorld::tryReproduce().

◆ offspringCountMin

int eve::growth::ReproductionDef::offspringCountMin = 1

在文件 Species.h 第 57 行定义.

被这些函数引用 eve::growth::GrowthWorld::tryReproduce().

◆ offspringSpeciesId

std::string eve::growth::ReproductionDef::offspringSpeciesId

在文件 Species.h 第 59 行定义.

被这些函数引用 eve::growth::normalizeSpeciesDef().

◆ parentDiesOnBirth

bool eve::growth::ReproductionDef::parentDiesOnBirth = false

在文件 Species.h 第 62 行定义.

◆ parentResetsStagesOnBirth

bool eve::growth::ReproductionDef::parentResetsStagesOnBirth = false

在文件 Species.h 第 63 行定义.

◆ partnerMustSameSpecies

bool eve::growth::ReproductionDef::partnerMustSameSpecies = true

在文件 Species.h 第 61 行定义.

被这些函数引用 eve::growth::GrowthWorld::tryBreed().

◆ requiresPartner

bool eve::growth::ReproductionDef::requiresPartner = false

在文件 Species.h 第 60 行定义.

被这些函数引用 eve::growth::normalizeSpeciesDef() , 以及 eve::growth::GrowthWorld::tryBreed().


该结构体的文档由以下文件生成: