Freeciv-3.1: ai_trait Struct Reference

Freeciv-3.1

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

`#include <traits.h>`

## Data Fields

int | val
int | mod

## Detailed Description

Definition at line 36 of file traits.h.

## Field Documentation

## ◆ mod

int ai_trait::mod

Definition at line 39 of file traits.h.

Referenced by ai_trait_get_value(), ai_traits_init(), api_edit_trait_mod_set(), api_methods_player_trait_current_mod(), sg_load_player_main(), sg_load_player_main(), and sg_save_player_main().

## ◆ val

int ai_trait::val

Definition at line 38 of file traits.h.

Referenced by ai_trait_get_value(), ai_traits_init(), api_methods_player_trait_base(), sg_load_player_main(), sg_load_player_main(), and sg_save_player_main().