Freeciv-3.2: goods_type Struct Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Data Fields
goods_type Struct Reference

`#include <traderoutes.h>`

## Data Fields

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
struct strvec * | helptext

## Detailed Description

Definition at line 182 of file traderoutes.h.

## Field Documentation

## ◆ flags

bv_goods_flags goods_type::flags

Definition at line 194 of file traderoutes.h.

## ◆ from_pct

int goods_type::from_pct

Definition at line 190 of file traderoutes.h.

## ◆ helptext

struct strvec* goods_type::helptext

Definition at line 196 of file traderoutes.h.

Referenced by goods_free(), and goods_init().

## ◆ id

int goods_type::id

Definition at line 184 of file traderoutes.h.

Referenced by goods_init().

## ◆ name

struct name_translation goods_type::name

Definition at line 185 of file traderoutes.h.

Referenced by tab_good::name_given().

## ◆ onetime_pct

int goods_type::onetime_pct

Definition at line 192 of file traderoutes.h.

## ◆ reqs

struct requirement_vector goods_type::reqs

Definition at line 188 of file traderoutes.h.

Referenced by tab_good::edit_reqs().

## ◆ ruledit_disabled

bool goods_type::ruledit_disabled

Definition at line 186 of file traderoutes.h.

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

## ◆ to_pct

int goods_type::to_pct

Definition at line 191 of file traderoutes.h.