Freeciv-3.3: clause_info Struct Reference

Freeciv-3.3

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

`#include <diptreaty.h>`

## Data Fields

enum clause_type | type
bool | enabled
struct requirement_vector | giver_reqs
struct requirement_vector | receiver_reqs
struct requirement_vector | either_reqs

## Detailed Description

Definition at line 54 of file diptreaty.h.

## Field Documentation

## ◆ either_reqs

struct requirement_vector clause_info::either_reqs

Definition at line 60 of file diptreaty.h.

Referenced by add_clause(), handle_ruleset_clause(), load_ruleset_game(), save_game_ruleset(), and send_ruleset_clauses().

## ◆ enabled

bool clause_info::enabled

Definition at line 57 of file diptreaty.h.

Referenced by clause_enabled(), clause_infos_init(), handle_ruleset_clause(), is_universal_needed(), load_ruleset_game(), save_game_ruleset(), and send_ruleset_clauses().

## ◆ giver_reqs

struct requirement_vector clause_info::giver_reqs

Definition at line 58 of file diptreaty.h.

Referenced by add_clause(), handle_diplomacy_accept_treaty_req(), handle_ruleset_clause(), is_universal_needed(), load_ruleset_game(), save_game_ruleset(), and send_ruleset_clauses().

## ◆ receiver_reqs

struct requirement_vector clause_info::receiver_reqs

Definition at line 59 of file diptreaty.h.

Referenced by add_clause(), handle_diplomacy_accept_treaty_req(), handle_ruleset_clause(), is_universal_needed(), load_ruleset_game(), save_game_ruleset(), and send_ruleset_clauses().

## ◆ type

enum clause_type clause_info::type

Definition at line 56 of file diptreaty.h.

Referenced by clause_infos_init(), is_universal_needed(), and save_game_ruleset().