pub struct OtherPlayer {Show 30 fields
pub player_id: PlayerId,
pub name: String,
pub level: u16,
pub description: String,
pub guild: Option<String>,
pub mount: Option<Mount>,
pub portrait: Portrait,
pub relationship: Relationship,
pub wall_combat_lvl: u16,
pub equipment: Equipment,
pub experience: u64,
pub next_level_xp: u64,
pub honor: u32,
pub rank: u32,
pub fortress_rank: Option<u32>,
pub portal_hp_bonus: u32,
pub portal_dmg_bonus: u32,
pub base_attributes: EnumMap<AttributeType, u32>,
pub bonus_attributes: EnumMap<AttributeType, u32>,
pub pet_attribute_bonus_perc: EnumMap<AttributeType, u32>,
pub class: Class,
pub race: Race,
pub mirror: Mirror,
pub scrapbook_count: Option<u32>,
pub active_potions: [Option<Potion>; 3],
pub armor: u64,
pub min_damage_base: u32,
pub max_damage_base: u32,
pub soldier_advice: Option<u16>,
pub fortress: Option<OtherFortress>,
}Expand description
All information about another player, that was queried via the ViewPlayer
command
Fields§
§player_id: PlayerIdThe id of this player. This is mainly just useful to lookup this player
in Lookup, if you do not know the name
name: StringThe name of the player
level: u16The level of the player
description: StringThe description this player has set for themselves
guild: Option<String>If the player is in a guild, this will contain the name
mount: Option<Mount>The mount the player currently ahs rented
portrait: PortraitInformation about the players visual apperarence
relationship: RelationshipThe relation the own character has set towards this player
wall_combat_lvl: u16The level their fortress wall would have in combat
equipment: EquipmentThe equipment this player is currently wearing
experience: u64§next_level_xp: u64§honor: u32§rank: u32§fortress_rank: Option<u32>§portal_hp_bonus: u32The hp bonus in percent this player has from the personal demon portal
portal_dmg_bonus: u32The damage bonus in percent this player has from the guild demon portal
base_attributes: EnumMap<AttributeType, u32>§bonus_attributes: EnumMap<AttributeType, u32>§pet_attribute_bonus_perc: EnumMap<AttributeType, u32>This should be the percentage bonus to skills from pets
class: Class§race: Race§mirror: Mirror§scrapbook_count: Option<u32>None if they do not have a scrapbook
active_potions: [Option<Potion>; 3]§armor: u64§min_damage_base: u32§max_damage_base: u32§soldier_advice: Option<u16>§fortress: Option<OtherFortress>Trait Implementations§
Source§impl Clone for OtherPlayer
impl Clone for OtherPlayer
Source§fn clone(&self) -> OtherPlayer
fn clone(&self) -> OtherPlayer
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more