#[repr(C)]pub struct CharInfo {Show 52 fields
pub id: CreateId,
pub name: CString16<11>,
pub font_region: FontRegion,
pub favorite_color: u8,
pub gender: Gender,
pub height: u8,
pub build: u8,
pub type_val: u8,
pub region_move: u8,
pub faceline_type: FacelineType,
pub faceline_color: FacelineColor,
pub faceline_wrinkle: FacelineWrinkle,
pub faceline_make: FacelineMake,
pub hair_type: HairType,
pub hair_color: CommonColor,
pub hair_flip: HairFlip,
pub eye_type: EyeType,
pub eye_color: CommonColor,
pub eye_scale: u8,
pub eye_aspect: u8,
pub eye_rotate: u8,
pub eye_x: u8,
pub eye_y: u8,
pub eyebrow_type: EyebrowType,
pub eyebrow_color: CommonColor,
pub eyebrow_scale: u8,
pub eyebrow_aspect: u8,
pub eyebrow_rotate: u8,
pub eyebrow_x: u8,
pub eyebrow_y: u8,
pub nose_type: NoseType,
pub nose_scale: u8,
pub nose_y: u8,
pub mouth_type: MouthType,
pub mouth_color: CommonColor,
pub mouth_scale: u8,
pub mouth_aspect: u8,
pub mouth_y: u8,
pub beard_color: CommonColor,
pub beard_type: BeardType,
pub mustache_type: MustacheType,
pub mustache_scale: u8,
pub mustache_y: u8,
pub glass_type: GlassType,
pub glass_color: CommonColor,
pub glass_scale: u8,
pub glass_y: u8,
pub mole_type: MoleType,
pub mole_scale: u8,
pub mole_x: u8,
pub mole_y: u8,
pub reserved: u8,
}
Fields
id: CreateId
name: CString16<11>
font_region: FontRegion
favorite_color: u8
gender: Gender
height: u8
build: u8
type_val: u8
region_move: u8
faceline_type: FacelineType
faceline_color: FacelineColor
faceline_wrinkle: FacelineWrinkle
faceline_make: FacelineMake
hair_type: HairType
hair_color: CommonColor
hair_flip: HairFlip
eye_type: EyeType
eye_color: CommonColor
eye_scale: u8
eye_aspect: u8
eye_rotate: u8
eye_x: u8
eye_y: u8
eyebrow_type: EyebrowType
eyebrow_color: CommonColor
eyebrow_scale: u8
eyebrow_aspect: u8
eyebrow_rotate: u8
eyebrow_x: u8
eyebrow_y: u8
nose_type: NoseType
nose_scale: u8
nose_y: u8
mouth_type: MouthType
mouth_color: CommonColor
mouth_scale: u8
mouth_aspect: u8
mouth_y: u8
beard_color: CommonColor
beard_type: BeardType
mustache_type: MustacheType
mustache_scale: u8
mustache_y: u8
glass_type: GlassType
glass_color: CommonColor
glass_scale: u8
glass_y: u8
mole_type: MoleType
mole_scale: u8
mole_x: u8
mole_y: u8
reserved: u8
Trait Implementations
impl Copy for CharInfo
impl Eq for CharInfo
impl StructuralEq for CharInfo
impl StructuralPartialEq for CharInfo
Auto Trait Implementations
impl RefUnwindSafe for CharInfo
impl Send for CharInfo
impl Sync for CharInfo
impl Unpin for CharInfo
impl UnwindSafe for CharInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more