Module veloren_common::comp
source · Re-exports§
pub use self::ability::Ability;
pub use self::ability::AbilityInput;
pub use self::ability::ActiveAbilities;
pub use self::ability::CharacterAbility;
pub use self::ability::CharacterAbilityType;
pub use self::ability::Stance;
pub use self::ability::BASE_ABILITY_LIMIT;
pub use self::agent::Agent;
pub use self::agent::Alignment;
pub use self::agent::Behavior;
pub use self::agent::BehaviorCapability;
pub use self::agent::BehaviorState;
pub use self::agent::PidController;
pub use self::agent::TradingBehavior;
pub use self::anchor::Anchor;
pub use self::aura::Aura;
pub use self::aura::AuraChange;
pub use self::aura::AuraKind;
pub use self::aura::Auras;
pub use self::aura::EnteredAuras;
pub use self::beam::Beam;
pub use self::body::arthropod;
pub use self::body::biped_large;
pub use self::body::biped_small;
pub use self::body::bird_large;
pub use self::body::bird_medium;
pub use self::body::crustacean;
pub use self::body::dragon;
pub use self::body::fish_medium;
pub use self::body::fish_small;
pub use self::body::golem;
pub use self::body::humanoid;
pub use self::body::item_drop;
pub use self::body::object;
pub use self::body::plugin;
pub use self::body::quadruped_low;
pub use self::body::quadruped_medium;
pub use self::body::quadruped_small;
pub use self::body::ship;
pub use self::body::theropod;
pub use self::body::AllBodies;
pub use self::body::Body;
pub use self::body::BodyData;
pub use self::body::Gender;
pub use self::buff::Buff;
pub use self::buff::BuffCategory;
pub use self::buff::BuffChange;
pub use self::buff::BuffData;
pub use self::buff::BuffEffect;
pub use self::buff::BuffKey;
pub use self::buff::BuffKind;
pub use self::buff::BuffSource;
pub use self::buff::Buffs;
pub use self::buff::ModifierKind;
pub use self::character_state::CharacterActivity;
pub use self::character_state::CharacterState;
pub use self::character_state::StateUpdate;
pub use self::chat::ChatMode;
pub use self::chat::ChatMsg;
pub use self::chat::ChatType;
pub use self::chat::Faction;
pub use self::chat::SpeechBubble;
pub use self::chat::SpeechBubbleType;
pub use self::chat::UnresolvedChatMsg;
pub use self::combo::Combo;
pub use self::controller::Climb;
pub use self::controller::ControlAction;
pub use self::controller::ControlEvent;
pub use self::controller::Controller;
pub use self::controller::ControllerInputs;
pub use self::controller::GroupManip;
pub use self::controller::InputAttr;
pub use self::controller::InputKind;
pub use self::controller::InventoryAction;
pub use self::controller::InventoryEvent;
pub use self::controller::InventoryManip;
pub use self::controller::UtteranceKind;
pub use self::fluid_dynamics::Fluid;
pub use self::group::Group;
pub use self::inventory::item;
pub use self::inventory::item::item_key::ItemKey;
pub use self::inventory::item::tool;
pub use self::inventory::item::tool::AbilityItem;
pub use self::inventory::item::FrontendItem;
pub use self::inventory::item::Item;
pub use self::inventory::item::ItemConfig;
pub use self::inventory::item::ItemDrops;
pub use self::inventory::item::PickupItem;
pub use self::inventory::recipe_book::RecipeBook;
pub use self::inventory::slot;
pub use self::inventory::CollectFailedReason;
pub use self::inventory::Inventory;
pub use self::inventory::InventoryUpdate;
pub use self::inventory::InventoryUpdateEvent;
pub use self::loot_owner::LootOwner;
pub use self::melee::Melee;
pub use self::melee::MeleeConstructor;
pub use self::melee::MeleeConstructorKind;
pub use self::misc::Object;
pub use self::ori::Ori;
pub use self::pet::Pet;
pub use self::poise::Poise;
pub use self::poise::PoiseChange;
pub use self::poise::PoiseState;
pub use self::presence::Presence;
pub use self::presence::PresenceKind;
pub use self::projectile::Projectile;
pub use self::projectile::ProjectileConstructor;
pub use self::shockwave::Shockwave;
pub use self::shockwave::ShockwaveHitEntities;
pub use self::skillset::skills;
pub use self::skillset::skills::Skill;
pub use self::skillset::SkillGroup;
pub use self::skillset::SkillGroupKind;
pub use self::skillset::SkillSet;
pub use self::teleport::Teleporting;
pub use self::visual::LightAnimation;
pub use self::visual::LightEmitter;
Modules§
- admin π
- energy π
- hardcore π
- health π
- inputs π
- last π
- location π
- phys π
- player π
- stats π
Structs§
- The average density (specific mass) of an entity. Units used for reference is kg/mΒ³
- Energy is represented by u32s within the module, but treated as a float by the rest of the game.
- Used to forcefully update the position, velocity, and orientation of the client
- Health is represented by u32s within the module, but treated as a float by the rest of the game.
- Specifies what and how much changed current health
- Marker on the map, used for sharing waypoint with group and persisting it server side.
- Position
- Used to defer writes to Pos/Vel in nested join loops
- Cache of Velocity (of last tick) * dt (of curent tick) Itβs updated and read in physics sys to speed up entity<->entity collisions no need to send it via network
- Velocity
Enums§
- The type to represent generic localization request, to be sent from server to client and then localized (or internationalized) there.
- A localisation argument for localised content (see
Content::Localized
).