pub struct ExtendedLocalizedString {Show 17 fields
pub en_gb: String,
pub ko_kr: String,
pub fr_fr: String,
pub de_de: String,
pub en_cn: String,
pub en_tw: String,
pub es_es: String,
pub es_mx: String,
pub ru_ru: String,
pub ja_jp: String,
pub pt_pt: String,
pub it_it: String,
pub unknown_12: String,
pub unknown_13: String,
pub unknown_14: String,
pub unknown_15: String,
pub flags: u32,
}Available on crate features
tbc or wrath only.Expand description
DBCs from the English version of the game will only have English version strings, while other localizations will have other languages.
You are most likely interested in, LocalizedString::en_gb, the English version.
Fields§
§en_gb: StringEnglish, Great Britain
ko_kr: StringKorean, Korea
fr_fr: StringFrench, France
de_de: StringGerman, Germany
en_cn: StringEnglish, China
en_tw: StringEnglish, Taiwan
es_es: StringSpanish, Spain
es_mx: StringSpanish, Mexico
ru_ru: StringRussian, Russia
ja_jp: StringJapanese, Japan
pt_pt: StringPortuguese, Portugal
Also works as Portuguese, Brazil
it_it: StringItalian, Italy
unknown_12: StringPossibly unused.
unknown_13: StringPossibly unused.
unknown_14: StringPossibly unused.
unknown_15: StringPossibly unused.
flags: u32Unknown flags.
Trait Implementations§
Source§impl Clone for ExtendedLocalizedString
impl Clone for ExtendedLocalizedString
Source§fn clone(&self) -> ExtendedLocalizedString
fn clone(&self) -> ExtendedLocalizedString
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedLocalizedString
impl Debug for ExtendedLocalizedString
Source§impl Default for ExtendedLocalizedString
impl Default for ExtendedLocalizedString
Source§fn default() -> ExtendedLocalizedString
fn default() -> ExtendedLocalizedString
Returns the “default value” for a type. Read more
Source§impl Hash for ExtendedLocalizedString
impl Hash for ExtendedLocalizedString
Source§impl Ord for ExtendedLocalizedString
impl Ord for ExtendedLocalizedString
Source§fn cmp(&self, other: &ExtendedLocalizedString) -> Ordering
fn cmp(&self, other: &ExtendedLocalizedString) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExtendedLocalizedString
impl PartialEq for ExtendedLocalizedString
Source§impl PartialOrd for ExtendedLocalizedString
impl PartialOrd for ExtendedLocalizedString
impl Eq for ExtendedLocalizedString
impl StructuralPartialEq for ExtendedLocalizedString
Auto Trait Implementations§
impl Freeze for ExtendedLocalizedString
impl RefUnwindSafe for ExtendedLocalizedString
impl Send for ExtendedLocalizedString
impl Sync for ExtendedLocalizedString
impl Unpin for ExtendedLocalizedString
impl UnwindSafe for ExtendedLocalizedString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more