pub struct CodexEntryEvent {Show 15 fields
pub entry_id: u64,
pub name: CodexEntry,
pub name_localized: Option<String>,
pub category: CodexEntryEventCategory,
pub category_localized: Option<String>,
pub sub_category: CodexEntryEventSubcategory,
pub sub_category_localized: Option<String>,
pub region: Region,
pub region_localized: Option<String>,
pub system: String,
pub system_address: u64,
pub body_id: Option<u8>,
pub nearest_destination: Option<String>,
pub planetary_location: Option<CodexEntryEventPlanetaryLocation>,
pub is_new_entry: bool,
}
Expand description
Fired when the player registers a new entry in their codex.
Fields§
§entry_id: u64
The id of the entry.
name: CodexEntry
The name of the codex entry.
name_localized: Option<String>
The localized name of the codex entry.
category: CodexEntryEventCategory
The category for this entry.
category_localized: Option<String>
The localized name of the category for this entry.
sub_category: CodexEntryEventSubcategory
The subcategory for this entry.
sub_category_localized: Option<String>
The localized name of the subcategory for this entry.
region: Region
The region the codex entry has been scanned.
region_localized: Option<String>
The localized name of the region the codex entry has been scanned.
system: String
The name of the system the codex entry has been scanned.
system_address: u64
The address of the system the codex entry has been scanned.
body_id: Option<u8>
The body id of the subject of the entry or has been scanned on.
nearest_destination: Option<String>
§planetary_location: Option<CodexEntryEventPlanetaryLocation>
Filled for exobiology entries detailing where on the planet the entry has been scanned.
is_new_entry: bool
Whether the player has never encountered this entry before, including in other regions.
Trait Implementations§
Source§impl Clone for CodexEntryEvent
impl Clone for CodexEntryEvent
Source§fn clone(&self) -> CodexEntryEvent
fn clone(&self) -> CodexEntryEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more