Module comp

Source

Re-exports§

pub use self::ability::Ability;
pub use self::ability::AbilityInput;
pub use self::ability::ActiveAbilities;
pub use self::ability::BASE_ABILITY_LIMIT;
pub use self::ability::CharacterAbility;
pub use self::ability::CharacterAbilityType;
pub use self::ability::Stance;
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::AllBodies;
pub use self::body::Body;
pub use self::body::BodyData;
pub use self::body::Gender;
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::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::CollectFailedReason;
pub use self::inventory::Inventory;
pub use self::inventory::InventoryUpdate;
pub use self::inventory::InventoryUpdateEvent;
pub use self::inventory::item;
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::item::item_key::ItemKey;
pub use self::inventory::item::tool;
pub use self::inventory::item::tool::AbilityItem;
pub use self::inventory::recipe_book::RecipeBook;
pub use self::inventory::slot;
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::SkillGroup;
pub use self::skillset::SkillGroupKind;
pub use self::skillset::SkillSet;
pub use self::skillset::skills;
pub use self::skillset::skills::Skill;
pub use self::teleport::Teleporting;
pub use self::visual::LightAnimation;
pub use self::visual::LightEmitter;

Modules§

ability
admin πŸ”’
agent
anchor
aura
beam
body
buff
character_state
chat
combo
compass
controller
dialogue
energy πŸ”’
fluid_dynamics
group
hardcore πŸ”’
health πŸ”’
inputs πŸ”’
inventory
invite
last πŸ”’
location πŸ”’
loot_owner
melee
misc
ori
pet
phys πŸ”’
player πŸ”’
poise
presence
projectile
shockwave
skillset
stats πŸ”’
teleport
visual

Structs§

Admin
CanBuild
Density
The average density (specific mass) of an entity. Units used for reference is kg/mΒ³
Energy
Energy is represented by u32s within the module, but treated as a float by the rest of the game.
ForceUpdate
Used to forcefully update the position, velocity, and orientation of the client
Hardcore
Health
Health is represented by u32s within the module, but treated as a float by the rest of the game.
HealthChange
Specifies what and how much changed current health
Immovable
Last
MapMarker
Marker on the map, used for sharing waypoint with group and persisting it server side.
Mass
PhysicsState
Player
Pos
Position
PosVelOriDefer
Used to defer writes to Pos/Vel in nested join loops
PreviousPhysCache
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
Scale
Stats
StatsModifier
Sticky
Vel
Velocity
Waypoint
WaypointArea

Enums§

AdminRole
AliasError
Collider
Content
The type to represent generic localization request, to be sent from server to client and then localized (or internationalized) there.
DisconnectReason
LocalizationArg
A localisation argument for localised content (see Content::Localized).
MapMarkerChange
MapMarkerUpdate

Constants§

MAX_ALIAS_LEN

Functions§

is_downed
Returns true if an entity is downed, their character state is Crawl and their death protection has been consumed.
is_downed_or_dead