Project Alice
Loading...
Searching...
No Matches
ui::trade_flow_data Class Reference

#include <gui_trade_window.hpp>

Public Types

enum class  type : uint8_t {
  factory , province , pop , military_army ,
  military_navy
}
 
enum class  value_type : uint8_t { used_by , produced_by , may_be_used_by }
 

Public Member Functions

bool operator== (trade_flow_data const &o) const
 
bool operator!= (trade_flow_data const &o) const
 

Public Attributes

dcon::commodity_id trade_good
 
enum ui::trade_flow_data::type type
 
enum ui::trade_flow_data::value_type value_type
 
union {
   dcon::factory_id   factory_id
 
   dcon::province_id   province_id
 
   dcon::province_id   pop_province_id
 
   dcon::army_id   army_id
 
   dcon::navy_id   navy_id
 
data
 

Detailed Description

Definition at line 712 of file gui_trade_window.hpp.

Member Enumeration Documentation

◆ type

enum class ui::trade_flow_data::type : uint8_t
strong
Enumerator
factory 
province 
pop 
military_army 
military_navy 

Definition at line 715 of file gui_trade_window.hpp.

◆ value_type

Enumerator
used_by 
produced_by 
may_be_used_by 

Definition at line 722 of file gui_trade_window.hpp.

Member Function Documentation

◆ operator!=()

bool ui::trade_flow_data::operator!= ( trade_flow_data const &  o) const
inline

Definition at line 760 of file gui_trade_window.hpp.

◆ operator==()

bool ui::trade_flow_data::operator== ( trade_flow_data const &  o) const
inline

Definition at line 731 of file gui_trade_window.hpp.

Member Data Documentation

◆ army_id

dcon::army_id ui::trade_flow_data::army_id

Definition at line 727 of file gui_trade_window.hpp.

◆ 

union { ... } ui::trade_flow_data::data

◆ factory_id

dcon::factory_id ui::trade_flow_data::factory_id

Definition at line 724 of file gui_trade_window.hpp.

◆ navy_id

dcon::navy_id ui::trade_flow_data::navy_id

Definition at line 728 of file gui_trade_window.hpp.

◆ pop_province_id

dcon::province_id ui::trade_flow_data::pop_province_id

Definition at line 726 of file gui_trade_window.hpp.

◆ province_id

dcon::province_id ui::trade_flow_data::province_id

Definition at line 725 of file gui_trade_window.hpp.

◆ trade_good

dcon::commodity_id ui::trade_flow_data::trade_good

Definition at line 714 of file gui_trade_window.hpp.

◆ type

◆ value_type


The documentation for this class was generated from the following file: