pub struct GameState {Show 23 fields
pub players_countries: Vec<String>,
pub current_age: String,
pub start_date: Eu4Date,
pub map_area_data: HashMap<String, MapAreaDatum>,
pub military_hegemon: Option<Hegemon>,
pub naval_hegemon: Option<Hegemon>,
pub economic_hegemon: Option<Hegemon>,
pub religions: Vec<(String, ReligionGameState)>,
pub religion_instance_data: HashMap<String, ReligionInstanceDatum>,
pub empire: Option<HRE>,
pub countries: Vec<(CountryTag, Country)>,
pub provinces: HashMap<ProvinceId, Province>,
pub income_statistics: LedgerData,
pub nation_size_statistics: LedgerData,
pub score_statistics: LedgerData,
pub inflation_statistics: LedgerData,
pub active_wars: Vec<ActiveWar>,
pub previous_wars: Vec<PreviousWar>,
pub achievement_ok: bool,
pub achievement: Vec<i32>,
pub completed_achievements: Vec<i32>,
pub gameplay_settings: GameplaySettings,
pub diplomacy: Diplomacy,
}
Fields
players_countries: Vec<String>
current_age: String
start_date: Eu4Date
map_area_data: HashMap<String, MapAreaDatum>
military_hegemon: Option<Hegemon>
economic_hegemon: Option<Hegemon>
religions: Vec<(String, ReligionGameState)>
religion_instance_data: HashMap<String, ReligionInstanceDatum>
empire: Option<HRE>
countries: Vec<(CountryTag, Country)>
provinces: HashMap<ProvinceId, Province>
income_statistics: LedgerData
nation_size_statistics: LedgerData
score_statistics: LedgerData
inflation_statistics: LedgerData
active_wars: Vec<ActiveWar>
previous_wars: Vec<PreviousWar>
achievement_ok: bool
achievement: Vec<i32>
completed_achievements: Vec<i32>
gameplay_settings: GameplaySettings
diplomacy: Diplomacy
Trait Implementations
sourceimpl<'de> Deserialize<'de> for GameState
impl<'de> Deserialize<'de> for GameState
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GameState
impl Send for GameState
impl Sync for GameState
impl Unpin for GameState
impl UnwindSafe for GameState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more