Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
caravan_parameter Struct Reference

#include <caravan.h>

Data Fields

int horizon
 
double discount
 
bool consider_windfall
 
bool consider_trade
 
bool consider_wonders
 
bool account_for_broken_routes
 
enum foreign_trade_limit allow_foreign_trade
 
bool ignore_transit_time
 
bool convert_trade
 
void(* callback )(const struct caravan_result *result, void *data)
 
voidcallback_data
 

Detailed Description

Definition at line 61 of file caravan.h.

Field Documentation

◆ account_for_broken_routes

bool caravan_parameter::account_for_broken_routes

◆ allow_foreign_trade

enum foreign_trade_limit caravan_parameter::allow_foreign_trade

◆ callback

void(* caravan_parameter::callback) (const struct caravan_result *result, void *data)

◆ callback_data

void* caravan_parameter::callback_data

Definition at line 125 of file caravan.h.

Referenced by dai_manage_caravan(), and get_discounted_reward().

◆ consider_trade

bool caravan_parameter::consider_trade

◆ consider_windfall

bool caravan_parameter::consider_windfall

◆ consider_wonders

bool caravan_parameter::consider_wonders

◆ convert_trade

bool caravan_parameter::convert_trade

◆ discount

double caravan_parameter::discount

◆ horizon

int caravan_parameter::horizon

◆ ignore_transit_time

bool caravan_parameter::ignore_transit_time