[−][src]Struct df_st_core::df_world::historical_event::HistoricalEvent
An historical event that happened at some point in the world. This is (usually are large) list of things that happened.
Fields
id: i32
Identifier for the historical event.
id
must be unique for the whole world.
type_: Option<String>
year: Option<i32>
seconds72: Option<i32>
a_hf_ids: Vec<i32>
The attacking squad in squad vs squad ( Since = "0.2.0" )
a_leader_hf_id: Option<i32>
The attacking leader in squad vs squad ( Since = "0.2.0" )
a_leadership_roll: Option<i32>
The attacking leaders role? in squad vs squad ( Since = "0.2.0" )
a_squad_id: Option<i32>
The attacking squad in squad vs squad ( Since = "0.2.0" )
a_support_merc_en_id: Option<i32>
a_tactician_hf_id: Option<i32>
The attacking side tactician (commander) in tactical situations ( Since = "0.2.0" )
a_tactics_roll: Option<i32>
Used in tactical situations ( Since = "0.2.0" )
abandoned: Option<bool>
In a site died
type, define if the site is abandoned afterwards.
( Since = "0.2.0" )
account_shift: Option<i32>
acquirer_en_id: Option<i32>
acquirer_hf_id: Option<i32>
action: Option<String>
actor_hf_id: Option<i32>
agreement_id: Option<i32>
allotment: Option<i32>
allotment_index: Option<i32>
ally_defense_bonus: Option<i32>
appointer_hf_id: Option<i32>
arresting_en_id: Option<i32>
art_id: Option<i32>
In a masterpiece_created_item_improvement
type, id to art_image_chunk
(not in legends).
( Since = "0.2.0" )
art_sub_id: Option<i32>
In a masterpiece_created_item_improvement
type,
id to art_image
(together with art_id
) (not in legends).
( Since = "0.2.0" )
artifact_id: Option<i32>
attacker_civ_id: Option<i32>
attacker_general_hf_id: Option<i32>
attacker_hf_id: Option<i32>
attacker_merc_en_id: Option<i32>
abuse_type: Option<String>
anon_3: Option<i32>
anon_4: Option<i32>
body_state: Option<String>
builder_hf_id: Option<i32>
building_profile_id: Option<i32>
bodies_hf_id: Vec<i32>
body_part: Option<i32>
building_custom: Option<i32>
In a masterpiece_created_arch_construct
type, ??.
( Since = "0.2.0" )
building_type: Option<String>
building_subtype: Option<String>
cause: Option<String>
changee_hf_id: Option<i32>
changer_hf_id: Option<i32>
circumstance: Option<String>
circumstance_id: Option<i32>
civ_entity_id: Option<i32>
civ_id: Option<i32>
claim: Option<String>
coconspirator_bonus: Option<i32>
coconspirator_hf_id: Option<i32>
competitor_hf_id: Vec<i32>
confessed_after_apb_arrest_en_id: Option<i32>
conspirator_hf_id: Vec<i32>
contact_hf_id: Option<i32>
contacted_en_id: Option<i32>
In a first contact
type event, the side that got contacted (not initiator).
See contactor_en_id
for the initiator.
( Since = "0.2.0" )
contactor_en_id: Option<i32>
In a first contact
type event, the side that initiated the contact.
See contacted_en_id
for the side that was contacted.
( Since = "0.2.0" )
convict_is_contact: Option<bool>
convicted_hf_id: Option<i32>
convicter_en_id: Option<i32>
coord: Option<String>
corrupt_convicter_hf_id: Option<i32>
corruptor_hf_id: Option<i32>
corruptor_identity: Option<i32>
corruptor_seen_as: Option<String>
creation_he_id: Option<i32>
In a masterpiece_lost
type,
the historical event when the masterpiece was created.
( Since = "0.2.0" )
creator_hf_id: Option<i32>
crime: Option<String>
caste: Option<String>
circumstance_obj: Option<HECircumstance>
creator_unit_id: Option<i32>
d_effect: Option<i32>
The ?? on the defending side in squad vs squad ( Since = "0.2.0" )
d_hf_ids: Vec<i32>
The defending figures of the squad in squad vs squad ( Since = "0.2.0" )
d_interaction: Option<i32>
The ?? on the defending side in squad vs squad ( Since = "0.2.0" )
d_number: Option<i32>
The ?? on the defending side in squad vs squad ( Since = "0.2.0" )
d_race: Option<i32>
The ?? on the defending side in squad vs squad ( Since = "0.2.0" )
d_slain: Option<i32>
The amount?? of killed members on the defending side in squad vs squad ( Since = "0.2.0" )
d_squad_id: Option<i32>
The defending squad in squad vs squad ( Since = "0.2.0" )
d_support_merc_en_id: Option<i32>
d_tactician_hf_id: Option<i32>
The defending side tactician (commander) in tactical situations ( Since = "0.2.0" )
d_tactics_roll: Option<i32>
Used in tactical situations ( Since = "0.2.0" )
death_penalty: Option<bool>
defender_civ_id: Option<i32>
defender_general_hf_id: Option<i32>
defender_merc_en_id: Option<i32>
delegated: Option<bool>
depot_entity_id: Option<i32>
The depot of entity where the merchant traded with? Used in merchant events. ( Since = "0.2.0" )
dest_entity_id: Option<i32>
dest_site_id: Option<i32>
dest_structure_id: Option<i32>
destroyed_structure_id: Option<i32>
destroyer_en_id: Option<i32>
detected: Option<bool>
did_not_reveal_all_in_interrogation: Option<bool>
disturbance: Option<bool>
dispute: Option<String>
doer_hf_id: Option<i32>
death_cause: Option<String>
destination: Option<i32>
doer: Option<i32>
dye_mat: Option<String>
dye_mat_index: Option<i32>
dye_mat_type: Option<i32>
enslaved_hf_id: Option<i32>
entity_id: Option<i32>
entity_id_1: Option<i32>
entity_id_2: Option<i32>
exiled: Option<bool>
expelled_creature: Vec<i32>
expelled_hf_id: Vec<i32>
expelled_number: Vec<i32>
expelled_pop_id: Vec<i32>
eater_hf_id: Option<i32>
failed_judgment_test: Option<bool>
feature_layer_id: Option<i32>
first: Option<bool>
fled_civ_id: Option<i32>
In a entity fled site
type event, the civilization id that is going away??
( Since = "0.2.0" )
fooled_hf_id: Option<i32>
form_id: Option<i32>
framer_hf_id: Option<i32>
from_original: Option<bool>
gambler_hf_id: Option<i32>
ghost: Option<String>
The name of the ghost? type of ghost? ( Since = "0.2.0" )
giver_entity_id: Option<i32>
giver_hf_id: Option<i32>
group_1_hf_id: Option<i32>
group_2_hf_id: Option<i32>
group_hf_id: Option<i32>
groups_hf_id: Vec<i32>
hardship: Option<bool>
In a merchant
type event, ??
( Since = "0.2.0" )
held_firm_in_interrogation: Option<bool>
hf_rep_1_of_2: Option<String>
hf_rep_2_of_1: Option<String>
hf_id: Option<i32>
hf_id1: Option<i32>
hf_id2: Option<i32>
hf_id_target: Option<i32>
honor_id: Option<i32>
identity_id: Option<i32>
identity_id1: Option<i32>
identity_id2: Option<i32>
implicated_hf_id: Vec<i32>
inherited: Option<bool>
initiating_en_id: Option<i32>
instigator_hf_id: Option<i32>
interaction: Option<i32>
interrogator_hf_id: Option<i32>
identity_caste: Option<String>
identity_hf_id: Option<i32>
identity_name: Option<String>
identity_nemesis_id: Option<i32>
identity_race: Option<String>
imp_mat: Option<String>
imp_mat_index: Option<i32>
imp_mat_type: Option<i32>
improvement_subtype: Option<String>
The subtype of the item that was improved
in masterpiece_created_item_improvement
type event
( Since = "0.2.0" )
improvement_type: Option<String>
Updated in v0.2.0 from i32
to String
( Updated in "0.2.0" )
injury_type: Option<String>
interaction_action: Option<String>
interaction_string: Option<String>
item_id: Option<i32>
The id of the item? Same as item
?
ID seems to large to refer to artifact id.
Occurs in masterpiece_created_item
type events
( Since = "0.2.0" )
item_mat: Option<String>
item_subtype: Option<String>
item_type: Option<String>
join_entity_id: Option<i32>
joined_entity_id: Option<i32>
joiner_entity_id: Option<i32>
joining_en_id: Vec<i32>
knowledge: Option<String>
last_owner_hf_id: Option<i32>
law_add: Option<String>
law_remove: Option<String>
leader_hf_id: Option<i32>
leaver_civ_id: Option<i32>
A civilization leaving a site in "spotted leaving site" ( Since = "0.2.0" )
link: Option<String>
lost_value: Option<bool>
In a merchant
type event, define if the merchant lost valuables?
( Since = "0.2.0" )
lure_hf_id: Option<i32>
link_type: Option<String>
master_wc_id: Option<i32>
method: Option<String>
modification: Option<String>
modifier_hf_id: Option<i32>
mood: Option<String>
moved_to_site_id: Option<i32>
maker_hf_id: Option<i32>
In a masterpiece_created_arch_construct
type event, define the maker of the masterpiece.
( Since = "0.2.0" )
maker_en_id: Option<i32>
In a masterpiece_created_arch_construct
type event,
define the entity of the maker that created the masterpiece.
( Since = "0.2.0" )
mat: Option<String>
mat_type: Option<i32>
mat_index: Option<i32>
name_only: Option<bool>
new_ab_id: Option<i32>
new_account: Option<i32>
new_artifact_id: Option<i32>
In a artifact transformed
type event, the id of the new artifact.
( Since = "0.2.0" )
new_caste: Option<i32>
new_equipment_level: Option<i32>
new_leader_hf_id: Option<i32>
new_race_id: Option<String>
new_site_civ_id: Option<i32>
new_job: Option<String>
new_structure_id: Option<i32>
no_defeat_mention: Option<bool>
In a plundered site
type event ??.
( Since = "0.2.0" )
no_prison_available: Option<bool>
On a hf convicted
type event it tells us that there is no
prison empty for the new criminal.
( Since = "0.2.0" )
occasion_id: Option<i32>
Used by hf_relationship
and others.
old_ab_id: Option<i32>
old_account: Option<i32>
old_artifact_id: Option<i32>
In a artifact transformed
type event, the id of the old artifact.
( Since = "0.2.0" )
old_caste: Option<i32>
old_job: Option<String>
old_race_id: Option<String>
old_structure_id: Option<i32>
outcome: Option<String>
In a insurrection started
type event, the outcome of the insurrection.
Example value: "population gone"
( Since = "0.2.0" )
overthrown_hf_id: Option<i32>
partial_incorporation: Option<bool>
payer_entity_id: Option<i32>
payer_hf_id: Option<i32>
persecutor_en_id: Option<i32>
persecutor_hf_id: Option<i32>
plotter_hf_id: Option<i32>
pop_fl_id: Option<i32>
pop_number_moved: Option<i32>
pop_race: Option<i32>
pop_sr_id: Option<i32>
pos_taker_hf_id: Option<i32>
position_id: Option<i32>
position_profile_id: Option<i32>
prison_months: Option<i32>
production_zone_id: Option<i32>
promise_to_hf_id: Option<i32>
property_confiscated_from_hf_id: Option<i32>
purchased_unowned: Option<bool>
part_lost: Option<bool>
pets: Vec<String>
pile_type: Option<String>
position: Option<String>
props_item_mat: Option<String>
props_item_mat_index: Option<i32>
props_item_mat_type: Option<i32>
props_item_subtype: Option<String>
props_item_type: Option<String>
props_pile_type: Option<i32>
quality: Option<i32>
rampage_civ_id: Option<i32>
In a entity rampaged in site
type event ??.
( Since = "0.2.0" )
ransomed_hf_id: Option<i32>
ransomer_hf_id: Option<i32>
reason: Option<i32>
reason_id: Option<i32>
rebuilt_ruined: Option<bool>
receiver_entity_id: Option<i32>
receiver_hf_id: Option<i32>
relationship: Option<String>
relevant_entity_id: Option<i32>
relevant_id_for_method: Option<i32>
relevant_position_profile_id: Option<i32>
religion_id: Option<i32>
resident_civ_id: Option<i32>
result: Option<String>
In a entity searched site
type event the result of the site searched.
Example: "found nothing"
( Since = "0.2.0" )
return_: Option<bool>
race_id: Option<String>
reason_obj: Option<HEReason>
rebuild: Option<bool>
region_id: Option<i32>
saboteur_hf_id: Option<i32>
schedule_id: Option<i32>
searcher_civ_id: Option<i32>
In a entity searched site
type event the civilization id that searched the site.
( Since = "0.2.0" )
season: Option<String>
secret_goal: Option<String>
seeker_hf_id: Option<i32>
seller_hf_id: Option<i32>
shrine_amount_destroyed: Option<i32>
site_civ_id: Option<i32>
site_entity_id: Option<i32>
site_hf_id: Option<i32>
site_id: Option<i32>
site_id_1: Option<i32>
site_id_2: Option<i32>
site_property_id: Option<i32>
situation: Option<String>
skill_at_time: Option<i32>
The skill of the hf_id
at the time of creating this masterpiece?
( Since = "0.2.0" )
slayer_caste: Option<i32>
slayer_hf_id: Option<i32>
slayer_item_id: Option<i32>
slayer_race: Option<String>
slayer_shooter_item_id: Option<i32>
snatcher_hf_id: Option<i32>
source_entity_id: Option<i32>
source_hf_id: Option<i32>
The hf_id
in a hf_relationship
type event
( Since = "0.2.0" )
source_site_id: Option<i32>
source_structure_id: Option<i32>
speaker_hf_id: Option<i32>
spotter_hf_id: Option<i32>
A civilization leaving a site was spotted by this historical figure in "spotted leaving site". ( Since = "0.2.0" )
start: Option<bool>
Start of a tactical situations
If false
it denotes an ongoing tactical situation.
( Since = "0.2.0" )
state: Option<String>
structure_id: Option<i32>
student_hf_id: Option<i32>
subregion_id: Option<i32>
subtype: Option<String>
successful: Option<bool>
surveiled_coconspirator: Option<bool>
surveiled_contact: Option<bool>
surveiled_convicted: Option<bool>
surveiled_target: Option<bool>
sanctify_hf_id: Option<i32>
secret_text: Option<String>
shooter_artifact_id: Option<i32>
shooter_item: Option<String>
shooter_item_subtype: Option<String>
shooter_item_type: Option<String>
shooter_mat: Option<String>
source: Option<i32>
stash_site_id: Option<i32>
target_civ_id: Option<i32>
In a insurrection started
type event,
the civilization that is targeted.
( Since = "0.2.0" )
target_en_id: Option<i32>
target_hf_id: Option<i32>
Used in hf_relationship
event and others.
target_identity: Option<i32>
target_seen_as: Option<String>
teacher_hf_id: Option<i32>
took_items: Option<bool>
In a plundered site
type event, define if the attacker took items with them.
( Since = "0.2.0" )
took_livestock: Option<bool>
In a plundered site
type event, define if the attacker took animals with them.
( Since = "0.2.0" )
top_facet: Option<String>
top_facet_modifier: Option<i32>
top_facet_rating: Option<i32>
top_relationship_factor: Option<String>
top_relationship_modifier: Option<i32>
top_relationship_rating: Option<i32>
top_value: Option<String>
top_value_modifier: Option<i32>
top_value_rating: Option<i32>
topic: Option<String>
trader_entity_id: Option<i32>
trader_hf_id: Option<i32>
trickster_hf_id: Option<i32>
theft_method: Option<String>
tree: Option<i32>
trickster: Option<i32>
unit_id: Option<i32>
unit_type: Option<String>
unretire: Option<bool>
In a reclaim site
type event, define if the site is being unretired or never was retired.
( Since = "0.2.0" )
victim: Option<i32>
victim_entity: Option<i32>
victim_hf_id: Option<i32>
wanted_and_recognized: Option<bool>
was_raid: Option<bool>
In a plundered site
type event, ??.
( Since = "0.2.0" )
was_torture: Option<bool>
wc_id: Option<i32>
winner_hf_id: Option<i32>
woundee_hf_id: Option<i32>
wounder_hf_id: Option<i32>
wrongful_conviction: Option<bool>
woundee_caste: Option<i32>
woundee_race: Option<i32>
Implementations
impl HistoricalEvent
[src]
Trait Implementations
impl Clone for HistoricalEvent
[src]
fn clone(&self) -> HistoricalEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HistoricalEvent
[src]
impl Default for HistoricalEvent
[src]
fn default() -> HistoricalEvent
[src]
impl<'de> Deserialize<'de> for HistoricalEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Fillable for HistoricalEvent
[src]
impl Filler<HistoricalEvent, HistoricalEvent> for HistoricalEvent
[src]
fn add_missing_data(&mut self, source: &HistoricalEvent)
[src]
fn never_replace_data(&mut self, source: &HistoricalEvent)
[src]
fn replace_data(&mut self, source: &HistoricalEvent)
[src]
fn add_missing_data_indexed(&mut self, source: &S, _index: u64)
[src]
fn check_mergeable(&self, source: &S) -> bool where
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
[src]
Self: Debug + Default + PartialEq<Self>,
S: PartialEq<Self> + Debug,
impl<__S> GraphQLType<__S> for HistoricalEvent where
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
[src]
__S: ScalarValue,
&'__b __S: ScalarRefValue<'__b>,
type Context = ()
The expected context type for this GraphQL type Read more
type TypeInfo = ()
Type that may carry additional schema information Read more
fn name(_: &Self::TypeInfo) -> Option<&str>
[src]
fn meta<'r>(
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
[src]
info: &Self::TypeInfo,
registry: &mut Registry<'r, __S>
) -> MetaType<'r, __S> where
__S: 'r,
&'z __S: ScalarRefValue<'z>,
fn resolve_field(
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
[src]
&self,
_info: &(),
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, Self::Context, __S>
) -> ExecutionResult<__S>
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
[src]
fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
[src]
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Result<Value<S>, FieldError<S>>
fn resolve(
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
[src]
&self,
info: &Self::TypeInfo,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, Self::Context, S>
) -> Value<S>
impl Hash for HistoricalEvent
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl JsonSchema for HistoricalEvent
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
impl PartialEq<HistoricalEvent> for HistoricalEvent
[src]
impl SchemaExample for HistoricalEvent
[src]
impl Serialize for HistoricalEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for HistoricalEvent
impl Send for HistoricalEvent
impl Sync for HistoricalEvent
impl Unpin for HistoricalEvent
impl UnwindSafe for HistoricalEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,