Empire

Members

Methods

void flagDesignOld( Design& arg0 )

Marks a design as out of date, to be updated whenever it is requested for construction.

double get_EstTotalPopulation( ) const

Returns double : Estimated amount of population in this empire, visible to everyone.

double get_TotalPopulation( ) const

Returns double : Total exact amount of population in this empire.

double get_FTLIncome( ) const

Returns double : FTL income per second.

double get_FTLStored( ) const

Returns double : Current stored FTL.

double get_FTLCapacity( ) const

Returns double : Total FTL storage capacity.

double get_FTLUse( ) const

Returns double : Current used ftl per second.

bool get_FTLShortage( ) const

Returns bool : Whether there isn't currently enough ftl to run.

bool isFTLShortage( double amt ) const

Returns bool : Whether we would be in ftl shortage using this much energy.

double get_EnergyIncome( ) const

Returns double : Energy income per second.

double get_EnergyStored( ) const

Returns double : Current stored Energy.

double get_EnergyUse( ) const

Returns double : Current used energy per second.

double get_EnergyEfficiency( ) const

Returns double : Current efficiency of energy income based on storage.

bool get_EnergyShortage( ) const

Returns bool : Whether there isn't currently enough energy to run.

bool isEnergyShortage( double amt ) const

Returns bool : Whether we would be in energy shortage using this much energy.

int get_TotalBudget( ) const

Returns int : Money generated before reduction by maintenance.

int get_MaintenanceBudget( ) const

Returns int : Maintenance being paid every budget cycle.

int get_RemainingBudget( ) const

Returns int : Money still available for spending in this budget cycle.

int get_ForwardBudget( ) const

Returns int : Money added to the next budget as a single-time modifier.

int get_BonusBudget( ) const

Returns int : Special funds bonus budget gotten from one-time incomes.

int get_EstNextBudget( ) const

Returns int : Estimated value of the next budget amount.

int getMoneyFromType( uint type ) const

Returns int : The contribution to the budget from a particular type of income/expense.

uint get_WelfareMode( ) const

Returns uint : The type of welfare exchange mode the empire is using.

int getEstBudgetConsuming( int amount ) const

Returns int : The estimated budget after consuming the given amount.

double get_BorrowRate( ) const

Returns double : Factor of borrowed money the next budget is reduced by.

double get_BudgetCycle( ) const

Returns double : Total amount of time a single budget cycle lasts.

double get_BudgetTimer( ) const

Returns double : Time remaining until the next budget cycle.

bool canBorrow( int amount ) const

Returns bool : Whether it's possible to borrow that amount of money without getting a negative next budget.

bool canPay( int amount ) const

Returns bool : Whether it's possible to spend that amount of money, including borrowing, without getting a negative next budget.

float get_DebtFactor( ) const

Returns float : The factor of income the empire is currently in debt.

void set_WelfareMode( uint mode )