Struct eu4save::TagResolver [−][src]
pub struct TagResolver { /* fields omitted */ }Expand description
The tag resolver is important to answering questions like “where are they now?” when looking at historic events like province changes or wars. When countries tag switch the tag resolver is able to connect historic events to country’s current selves. For instance in a TYR -> IRE -> GBR game, the provinces and wars gained while playing as TYR should still be aggregated under the current GBR tag.
Implementations
impl TagResolver[src]
impl TagResolver[src]pub fn create(nation_events: &[NationEvents]) -> Self[src]
pub fn resolve(&self, tag: CountryTag, date: Eu4Date) -> CountryTag[src]
pub fn resolve(&self, tag: CountryTag, date: Eu4Date) -> CountryTag[src]Given a date and tag associated with the date, return the current tag where the argument is stored.