veloren/common/src/comp/mod.rs

111 lines
3.7 KiB
Rust
Raw Normal View History

2021-11-11 22:55:14 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub mod ability;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod admin;
#[cfg(not(target_arch = "wasm32"))] pub mod agent;
#[cfg(not(target_arch = "wasm32"))]
pub mod anchor;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] pub mod aura;
#[cfg(not(target_arch = "wasm32"))] pub mod beam;
#[cfg(not(target_arch = "wasm32"))] pub mod body;
pub mod buff;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub mod character_state;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] pub mod chat;
#[cfg(not(target_arch = "wasm32"))] pub mod combo;
2021-03-29 14:47:42 +00:00
pub mod compass;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
2021-10-05 21:27:11 +00:00
pub mod controller;
#[cfg(not(target_arch = "wasm32"))]
2021-03-29 14:47:42 +00:00
pub mod dialogue;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod energy;
#[cfg(not(target_arch = "wasm32"))]
pub mod fluid_dynamics;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] pub mod group;
mod health;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod inputs;
#[cfg(not(target_arch = "wasm32"))]
pub mod inventory;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub mod invite;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod last;
#[cfg(not(target_arch = "wasm32"))] mod location;
#[cfg(not(target_arch = "wasm32"))] mod misc;
#[cfg(not(target_arch = "wasm32"))] pub mod ori;
#[cfg(not(target_arch = "wasm32"))] pub mod pet;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod phys;
#[cfg(not(target_arch = "wasm32"))] mod player;
#[cfg(not(target_arch = "wasm32"))] pub mod poise;
#[cfg(not(target_arch = "wasm32"))]
2019-09-17 12:43:19 +00:00
pub mod projectile;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
2020-08-08 20:53:55 +00:00
pub mod shockwave;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub mod skillset;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod stats;
#[cfg(not(target_arch = "wasm32"))]
2020-07-05 12:10:58 +00:00
pub mod visual;
2019-01-02 19:22:01 +00:00
// Reexports
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub use self::{
2021-11-12 03:37:37 +00:00
ability::{Ability, AbilityInput, ActiveAbilities, CharacterAbility, CharacterAbilityType},
admin::{Admin, AdminRole},
agent::{Agent, Alignment, Behavior, BehaviorCapability, BehaviorState, PidController},
anchor::Anchor,
2021-02-17 13:03:20 +00:00
aura::{Aura, AuraChange, AuraKind, Auras},
beam::{Beam, BeamSegment},
body::{
biped_large, biped_small, bird_large, bird_medium, dragon, fish_medium, fish_small, golem,
humanoid, object, quadruped_low, quadruped_medium, quadruped_small, ship, theropod,
AllBodies, Body, BodyData,
2021-02-17 13:03:20 +00:00
},
buff::{
Buff, BuffCategory, BuffChange, BuffData, BuffEffect, BuffId, BuffKind, BuffSource, Buffs,
ModifierKind,
},
2021-03-21 17:45:01 +00:00
character_state::{CharacterState, Melee, StateUpdate},
2021-02-17 13:03:20 +00:00
chat::{
ChatMode, ChatMsg, ChatType, Faction, SpeechBubble, SpeechBubbleType, UnresolvedChatMsg,
},
2021-02-27 19:55:06 +00:00
combo::Combo,
2021-02-17 13:03:20 +00:00
controller::{
2021-03-21 17:45:01 +00:00
Climb, ControlAction, ControlEvent, Controller, ControllerInputs, GroupManip, InputAttr,
InputKind, InventoryAction, InventoryEvent, InventoryManip, MountState, Mounting,
UtteranceKind,
2021-02-17 13:03:20 +00:00
},
energy::Energy,
fluid_dynamics::Fluid,
2021-02-17 13:03:20 +00:00
group::Group,
inputs::CanBuild,
inventory::{
2021-11-12 03:37:37 +00:00
item::{
self,
tool::{self, AbilityItem},
Item, ItemConfig, ItemDrop,
},
2021-02-17 13:03:20 +00:00
slot, Inventory, InventoryUpdate, InventoryUpdateEvent,
},
last::Last,
location::{Waypoint, WaypointArea},
misc::Object,
ori::Ori,
pet::Pet,
2021-02-17 13:03:20 +00:00
phys::{
Collider, Density, ForceUpdate, Mass, PhysicsState, Pos, PosVelOriDefer, PreviousPhysCache,
Scale, Sticky, Vel,
2021-02-17 13:03:20 +00:00
},
player::DisconnectReason,
2021-10-14 18:37:51 +00:00
player::{AliasError, Player, MAX_ALIAS_LEN},
poise::{Poise, PoiseChange, PoiseState},
2021-02-17 13:03:20 +00:00
projectile::{Projectile, ProjectileConstructor},
shockwave::{Shockwave, ShockwaveHitEntities},
skillset::{
skills::{self, Skill},
SkillGroup, SkillGroupKind, SkillSet,
},
stats::{Stats, StatsModifier},
2021-02-17 13:03:20 +00:00
visual::{LightAnimation, LightEmitter},
};
pub use health::{Health, HealthChange};