#include <RacialTrait.h>
Public Member Functions | |
string | Name () const |
double | GroundAttackFactor () const |
double | GroundDefenseFactor () const |
double | GrowthRateFactor () const |
double | PopulationFactor () const |
HullType | InherentCloakHull () const |
long | InherentCloakAmount () const |
bool | CloakCargo () const |
long | MineSpeedBonus () const |
double | SpyTechBonus () const |
double | BattleSpeedBonus () const |
double | ComponentCostFactor (ComponentType ct) const |
double | PermaformChance () const |
bool | CanSeeHabSettings () const |
bool | TemporaryTerraform () const |
bool | ScanDesign () const |
double | RepairFactor () const |
double | FreighterReproduction () const |
bool | MineFieldScanning () const |
bool | CanRemoteDetonate () const |
double | MineDecayFactor () const |
bool | PacketTerraform () const |
bool | PacketScanning () const |
double | PacketCostMinFactor () const |
long | PacketSizeOneMin () const |
long | PacketSizeMixed () const |
long | PacketCostResources () const |
double | PacketDecayFactor () const |
double | PacketCatchFactor () const |
long | PacketDecayPenalty () const |
long | StartingTech (TechType tt) const |
long | StartAtBonus () const |
bool | HasSecondPlanet () const |
bool | GateCargo () const |
double | OvergateLossFactor () const |
bool | GateScanning () const |
long | ARTechType () const |
double | FuelFactor () const |
bool | GeneralResearch () const |
bool | UltimateRecycle () const |
double | EngineFailure (long speed) const |
double | SpaceScanFactor () const |
double | PenScanFactor () const |
double | StartingPopFactor () const |
double | MaxMiniturize () const |
double | MiniturizeRate () const |
double | ZeroTechCost () const |
double | ShieldFactor () const |
double | ArmorFactor () const |
double | ShieldRegenRate () const |
double | DefenseFactor () const |
void | ParseStartShips (const TiXmlNode *node) |
long | StartShipCount () const |
const Ship * | GetStartDesign (long i) const |
long | GetStartCount (long i) const |
long | GetStart2ndCount (long i) const |
long | BuiltinScan (const Player *player, HullType hc, bool PenScan, long pop=0) const |
Static Public Member Functions | |
static RacialTrait * | ParseNode (const TiXmlNode *node) |
Private Attributes | |
string | mName |
double | mGroundAttackFactor |
double | mGroundDefenseFactor |
double | mGrowthRateFactor |
double | mPopulationFactor |
HullType | mInherentCloakHull |
long | mInherentCloakAmount |
bool | mCloakCargo |
long | mMineSpeedBonus |
double | mSpyTechBonus |
double | mBattleSpeedBonus |
deque< ComponentType > | mComponentCostType |
deque< double > | mComponentCostFactor |
double | mPermaformChance |
bool | mCanSeeHabSettings |
bool | mTemporaryTerraform |
bool | mScanDesign |
double | mRepairFactor |
double | mFreighterReproduction |
bool | mMineFieldScanning |
bool | mCanRemoteDetonate |
double | mMineDecayFactor |
bool | mPacketTerraform |
bool | mPacketScanning |
double | mPacketCostMinFactor |
long | mPacketSizeOneMin |
long | mPacketSizeMixed |
long | mPacketCostResources |
double | mPacketDecayFactor |
double | mPacketCatchFactor |
long | mPacketDecayPenalty |
deque< long > | mStartingTech |
long | mStartAtBonus |
bool | mSecondPlanet |
bool | mGateCargo |
double | mOvergateLossFactor |
bool | mGateScanning |
long | mARTechType |
double | mFuelFactor |
bool | mGeneralResearch |
bool | mUltimateRecycle |
long | mEngineFailureSpeed |
double | mEngineFailureRate |
double | mSpaceScanFactor |
double | mPenScanFactor |
double | mStartingPopFactor |
double | mMaxMiniturize |
double | mMiniturizeRate |
double | mZeroTechCost |
double | mShieldFactor |
double | mArmorFactor |
double | mShieldRegenRate |
double | mDefenseFactor |
HullType | mBISHull |
HullType | mBISHullPen |
TechType | mBISTech |
long | mBISMultiplier |
bool | mBISCheckPenFactor |
double | mBISPopFactor |
deque< Ship * > | mShipDesigns |
deque< long > | mShipCounts |
deque< long > | mShip2ndCounts |
A Racial Trait is a special ability of a race. It modifies game behavior, giving special bonuses or penalties.
Definition at line 50 of file RacialTrait.h.