pub struct CharacterStatsWelcome {
pub hp: i32,
pub max_hp: i32,
pub tp: i32,
pub max_tp: i32,
pub max_sp: i32,
pub stat_points: i32,
pub skill_points: i32,
pub karma: i32,
pub secondary: CharacterSecondaryStats,
pub base: CharacterBaseStatsWelcome,
}
Expand description
Character stats data. Sent upon selecting a character and entering the game.
Fields§
§hp: i32
§max_hp: i32
§tp: i32
§max_tp: i32
§max_sp: i32
§stat_points: i32
§skill_points: i32
§karma: i32
§secondary: CharacterSecondaryStats
§base: CharacterBaseStatsWelcome
Implementations§
Trait Implementations§
Source§impl Clone for CharacterStatsWelcome
impl Clone for CharacterStatsWelcome
Source§fn clone(&self) -> CharacterStatsWelcome
fn clone(&self) -> CharacterStatsWelcome
Returns a copy 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 CharacterStatsWelcome
impl Debug for CharacterStatsWelcome
Source§impl Default for CharacterStatsWelcome
impl Default for CharacterStatsWelcome
Source§fn default() -> CharacterStatsWelcome
fn default() -> CharacterStatsWelcome
Returns the “default value” for a type. Read more
Source§impl EoSerialize for CharacterStatsWelcome
impl EoSerialize for CharacterStatsWelcome
Source§fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
fn serialize(&self, writer: &mut EoWriter) -> Result<(), EoSerializeError>
Serializes a CharacterStatsWelcome into the given EoWriter instance
Source§fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
fn deserialize(reader: &EoReader) -> Result<Self, EoReaderError>
Deserializes a CharacterStatsWelcome from an EoReader instance
Source§impl PartialEq for CharacterStatsWelcome
impl PartialEq for CharacterStatsWelcome
impl Eq for CharacterStatsWelcome
impl StructuralPartialEq for CharacterStatsWelcome
Auto Trait Implementations§
impl Freeze for CharacterStatsWelcome
impl RefUnwindSafe for CharacterStatsWelcome
impl Send for CharacterStatsWelcome
impl Sync for CharacterStatsWelcome
impl Unpin for CharacterStatsWelcome
impl UnwindSafe for CharacterStatsWelcome
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