Struct lu_packets::world::client::CharacterListResponse
source · [−]pub struct CharacterListResponse {
pub selected_char: u8,
pub chars: Vec<CharListChar>,
}
Expand description
Provides the list of characters of the client’s account.
Trigger
Receipt of CharacterListRequest
. Also sent in response to CharacterCreateRequest
after CharacterCreateResponse
if the creation is successful.
Handling
Display the characters to the user for selection.
Response
None.
Notes
The LU client can’t handle sending more than four characters.
Fields
selected_char: u8
Index into the list of characters below, specifying which character was used last.
chars: Vec<CharListChar>
The list of characters.
Trait Implementations
sourceimpl Debug for CharacterListResponse
impl Debug for CharacterListResponse
sourceimpl<R: LERead> Deserialize<LittleEndian, R> for CharacterListResponsewhere
u8: Deserialize<LE, R>,
CharListChar: Deserialize<LE, R>,
impl<R: LERead> Deserialize<LittleEndian, R> for CharacterListResponsewhere
u8: Deserialize<LE, R>,
CharListChar: Deserialize<LE, R>,
sourcefn deserialize(reader: &mut R) -> Res<Self>
fn deserialize(reader: &mut R) -> Res<Self>
Deserializes the type by reading from the reader.
sourceimpl From<CharacterListResponse> for Message
impl From<CharacterListResponse> for Message
sourcefn from(msg: CharacterListResponse) -> Self
fn from(msg: CharacterListResponse) -> Self
Converts to this type from the input type.
sourceimpl From<CharacterListResponse> for Message
impl From<CharacterListResponse> for Message
sourcefn from(msg: CharacterListResponse) -> Self
fn from(msg: CharacterListResponse) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CharacterListResponse> for CharacterListResponse
impl PartialEq<CharacterListResponse> for CharacterListResponse
sourcefn eq(&self, other: &CharacterListResponse) -> bool
fn eq(&self, other: &CharacterListResponse) -> bool
sourceimpl<'a, W: LEWrite> Serialize<LittleEndian, W> for &'a CharacterListResponsewhere
u8: Serialize<LE, W>,
&'a CharListChar: Serialize<LE, W>,
impl<'a, W: LEWrite> Serialize<LittleEndian, W> for &'a CharacterListResponsewhere
u8: Serialize<LE, W>,
&'a CharListChar: Serialize<LE, W>,
impl StructuralPartialEq for CharacterListResponse
Auto Trait Implementations
impl RefUnwindSafe for CharacterListResponse
impl Send for CharacterListResponse
impl Sync for CharacterListResponse
impl Unpin for CharacterListResponse
impl UnwindSafe for CharacterListResponse
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