Freeciv21
Develop your civilization from humble roots to a global empire
goods_type Struct Reference

#include <traderoutes.h>

+ Collaboration diagram for goods_type:

Public Attributes

int id
 
struct name_translation name
 
bool ruledit_disabled
 
struct requirement_vector reqs
 
int from_pct
 
int to_pct
 
int onetime_pct
 
bv_goods_flags flags
 
QVector< QString > * helptext
 

Detailed Description

Definition at line 180 of file traderoutes.h.

Member Data Documentation

◆ flags

bv_goods_flags goods_type::flags

Definition at line 191 of file traderoutes.h.

Referenced by goods_has_flag(), and handle_ruleset_goods().

◆ from_pct

int goods_type::from_pct

Definition at line 187 of file traderoutes.h.

Referenced by handle_ruleset_goods(), helptext_goods(), and trade_from_route().

◆ helptext

QVector<QString>* goods_type::helptext

Definition at line 193 of file traderoutes.h.

Referenced by goods_free(), goods_init(), handle_ruleset_goods(), and helptext_goods().

◆ id

int goods_type::id

Definition at line 181 of file traderoutes.h.

Referenced by goods_by_number(), goods_init(), goods_number(), and handle_ruleset_goods().

◆ name

◆ onetime_pct

int goods_type::onetime_pct

◆ reqs

struct requirement_vector goods_type::reqs

◆ ruledit_disabled

bool goods_type::ruledit_disabled

Definition at line 183 of file traderoutes.h.

Referenced by tab_good::delete_now(), goods_init(), and tab_good::name_given().

◆ to_pct

int goods_type::to_pct

Definition at line 188 of file traderoutes.h.

Referenced by handle_ruleset_goods(), helptext_goods(), and trade_from_route().