pub struct DestinyCharacterCustomization {
pub personality: u32,
pub face: u32,
pub skin_color: u32,
pub lip_color: u32,
pub eye_color: u32,
pub hair_colors: Option<Vec<u32>>,
pub feature_colors: Option<Vec<u32>>,
pub decal_color: u32,
pub wear_helmet: bool,
pub hair_index: i32,
pub feature_index: i32,
pub decal_index: i32,
}Expand description
Raw data about the customization options chosen for a character’s face and appearance. You can look up the relevant class/race/gender combo in DestinyCharacterCustomizationOptionDefinition for the character, and then look up these values within the CustomizationOptions found to pull some data about their choices. Warning: not all of that data is meaningful. Some data has useful icons. Others have nothing, and are only meant for 3D rendering purposes (which we sadly do not expose yet)
Fields§
§personality: u32§face: u32§skin_color: u32§lip_color: u32§eye_color: u32§hair_colors: Option<Vec<u32>>§feature_colors: Option<Vec<u32>>§decal_color: u32§wear_helmet: bool§hair_index: i32§feature_index: i32§decal_index: i32Trait Implementations§
Source§impl<'de> Deserialize<'de> for DestinyCharacterCustomization
impl<'de> Deserialize<'de> for DestinyCharacterCustomization
Source§fn 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 Freeze for DestinyCharacterCustomization
impl RefUnwindSafe for DestinyCharacterCustomization
impl Send for DestinyCharacterCustomization
impl Sync for DestinyCharacterCustomization
impl Unpin for DestinyCharacterCustomization
impl UnwindSafe for DestinyCharacterCustomization
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