veloren/common/src/comp/mod.rs

94 lines
3.2 KiB
Rust
Raw Normal View History

2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod ability;
#[cfg(not(target_arch = "wasm32"))] mod admin;
#[cfg(not(target_arch = "wasm32"))] pub mod agent;
#[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"))]
mod character_state;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] pub mod chat;
2021-02-27 19:55:06 +00:00
pub mod combo;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
mod controller;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))] mod energy;
#[cfg(not(target_arch = "wasm32"))] pub mod group;
mod health;
2021-02-17 13:03:20 +00:00
#[cfg(not(target_arch = "wasm32"))]
pub mod home_chunk;
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"))] 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 skills;
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::{
ability::{CharacterAbility, CharacterAbilityType},
admin::Admin,
agent::{Agent, Alignment},
aura::{Aura, AuraChange, AuraKind, Auras},
beam::{Beam, BeamSegment},
body::{
2021-02-26 06:19:46 +00:00
biped_large, biped_small, bird_medium, bird_small, dragon, fish_medium, fish_small, golem,
humanoid, object, quadruped_low, quadruped_medium, quadruped_small, theropod, AllBodies,
Body, BodyData,
2021-02-17 13:03:20 +00:00
},
buff::{
Buff, BuffCategory, BuffChange, BuffData, BuffEffect, BuffId, BuffKind, BuffSource, Buffs,
ModifierKind,
},
character_state::{CharacterState, Melee, StateUpdate},
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::{
Climb, ControlAction, ControlEvent, Controller, ControllerInputs, GroupManip, Input,
InventoryManip, LoadoutManip, MountState, Mounting, SlotManip,
},
energy::{Energy, EnergyChange, EnergySource},
group::Group,
home_chunk::HomeChunk,
inputs::CanBuild,
inventory::{
item,
item::{Item, ItemConfig, ItemDrop},
slot, Inventory, InventoryUpdate, InventoryUpdateEvent,
},
last::Last,
location::{Waypoint, WaypointArea},
misc::Object,
ori::Ori,
phys::{
Collider, ForceUpdate, Gravity, Mass, PhysicsState, Pos, PreviousPhysCache, Scale, Sticky,
Vel,
2021-02-17 13:03:20 +00:00
},
player::Player,
poise::{Poise, PoiseChange, PoiseSource, PoiseState},
projectile::{Projectile, ProjectileConstructor},
shockwave::{Shockwave, ShockwaveHitEntities},
skills::{Skill, SkillGroup, SkillGroupKind, SkillSet},
stats::Stats,
visual::{LightAnimation, LightEmitter},
};
pub use health::{Health, HealthChange, HealthSource};