Enum lu_packets::world::client::CharacterCreateResponse
source · [−]#[repr(u8)]
pub enum CharacterCreateResponse {
Success,
GeneralFailure,
NameNotAllowed,
PredefinedNameInUse,
CustomNameInUse,
}
Expand description
Reports the result of a character create request.
Trigger
Receipt of CharacterCreateRequest
.
Handling
If the variant is not Success
, display an appropriate error message and let the user try again. If successful, wait for the updated CharacterListResponse
packet to arrive and display the new character list.
Response
None.
Variants
Success
The character has been successfully created.
GeneralFailure
Something went wrong during creation.
NameNotAllowed
The selected name is not allowed by the name moderation policy.
PredefinedNameInUse
The ThreePartName is already in use.
CustomNameInUse
The custom name is already in use.
Trait Implementations
sourceimpl Debug for CharacterCreateResponse
impl Debug for CharacterCreateResponse
sourceimpl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for CharacterCreateResponsewhere
u8: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
impl<__ENDIO_ENDIANNESS: Endianness, __ENDIO_READER: Read + ERead<__ENDIO_ENDIANNESS>> Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER> for CharacterCreateResponsewhere
u8: Deserialize<__ENDIO_ENDIANNESS, __ENDIO_READER>,
sourcefn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
fn deserialize(reader: &mut __ENDIO_READER) -> Result<Self>
Deserializes the type by reading from the reader.
sourceimpl From<CharacterCreateResponse> for Message
impl From<CharacterCreateResponse> for Message
sourcefn from(msg: CharacterCreateResponse) -> Self
fn from(msg: CharacterCreateResponse) -> Self
Converts to this type from the input type.
sourceimpl From<CharacterCreateResponse> for Message
impl From<CharacterCreateResponse> for Message
sourcefn from(msg: CharacterCreateResponse) -> Self
fn from(msg: CharacterCreateResponse) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CharacterCreateResponse> for CharacterCreateResponse
impl PartialEq<CharacterCreateResponse> for CharacterCreateResponse
sourcefn eq(&self, other: &CharacterCreateResponse) -> bool
fn eq(&self, other: &CharacterCreateResponse) -> bool
sourceimpl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME CharacterCreateResponsewhere
u8: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl<'__ENDIO_LIFETIME, __ENDIO_ENDIANNESS: Endianness, __ENDIO_WRITER: Write + EWrite<__ENDIO_ENDIANNESS>> Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER> for &'__ENDIO_LIFETIME CharacterCreateResponsewhere
u8: Serialize<__ENDIO_ENDIANNESS, __ENDIO_WRITER>,
impl StructuralPartialEq for CharacterCreateResponse
Auto Trait Implementations
impl RefUnwindSafe for CharacterCreateResponse
impl Send for CharacterCreateResponse
impl Sync for CharacterCreateResponse
impl Unpin for CharacterCreateResponse
impl UnwindSafe for CharacterCreateResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more