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;
|
2021-07-28 22:36:41 +00:00
|
|
|
#[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;
|
2020-10-01 00:40:46 +00:00
|
|
|
pub mod buff;
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2019-08-23 10:11:37 +00:00
|
|
|
mod character_state;
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))] pub mod chat;
|
2021-03-01 18:00:44 +00:00
|
|
|
#[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"))]
|
2019-06-14 15:27:05 +00:00
|
|
|
mod controller;
|
2021-06-11 07:33:32 +00:00
|
|
|
#[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;
|
2021-06-11 07:33:32 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-03-23 09:51:53 +00:00
|
|
|
pub mod fluid_dynamics;
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))] pub mod group;
|
2020-10-31 22:34:08 +00:00
|
|
|
mod health;
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))] mod inputs;
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-01-08 19:12:09 +00:00
|
|
|
pub mod inventory;
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
2021-02-13 23:32:55 +00:00
|
|
|
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;
|
2021-07-28 22:36:41 +00:00
|
|
|
#[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"))]
|
2020-07-03 19:40:37 +00:00
|
|
|
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
|
|
|
|
2019-03-04 19:50:26 +00:00
|
|
|
// Reexports
|
2021-02-17 13:03:20 +00:00
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
|
|
pub use self::{
|
|
|
|
ability::{CharacterAbility, CharacterAbilityType},
|
Added non-admin moderators and timed bans.
The security model has been updated to reflect this change (for example,
moderators cannot revert a ban by an administrator). Ban history is
also now recorded in the ban file, and much more information about the
ban is stored (whitelists and administrators also have extra
information).
To support the new information without losing important information,
this commit also introduces a new migration path for editable settings
(both from legacy to the new format, and between versions). Examples
of how to do this correctly, and migrate to new versions of a settings
file, are in the settings/ subdirectory.
As part of this effort, editable settings have been revamped to
guarantee atomic saves (due to the increased amount of information in
each file), some latent bugs in networking were fixed, and server-cli
has been updated to go through StructOpt for both calls through TUI
and argv, greatly simplifying parsing logic.
2021-05-08 18:22:21 +00:00
|
|
|
admin::{Admin, AdminRole},
|
2021-05-29 18:45:46 +00:00
|
|
|
agent::{Agent, Alignment, Behavior, BehaviorCapability, BehaviorState, PidController},
|
2021-07-28 22:36:41 +00:00
|
|
|
anchor::Anchor,
|
2021-02-17 13:03:20 +00:00
|
|
|
aura::{Aura, AuraChange, AuraKind, Auras},
|
|
|
|
beam::{Beam, BeamSegment},
|
|
|
|
body::{
|
2021-04-02 00:04:32 +00:00
|
|
|
biped_large, biped_small, bird_large, bird_medium, dragon, fish_medium, fish_small, golem,
|
2021-03-12 22:14:08 +00:00
|
|
|
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,
|
2021-06-15 16:57:52 +00:00
|
|
|
InputKind, InventoryAction, InventoryEvent, InventoryManip, MountState, Mounting,
|
|
|
|
UtteranceKind,
|
2021-02-17 13:03:20 +00:00
|
|
|
},
|
|
|
|
energy::{Energy, EnergyChange, EnergySource},
|
2021-03-23 09:51:53 +00:00
|
|
|
fluid_dynamics::Fluid,
|
2021-02-17 13:03:20 +00:00
|
|
|
group::Group,
|
|
|
|
inputs::CanBuild,
|
|
|
|
inventory::{
|
2021-03-21 16:09:16 +00:00
|
|
|
item::{self, tool, Item, ItemConfig, ItemDrop},
|
2021-02-17 13:03:20 +00:00
|
|
|
slot, Inventory, InventoryUpdate, InventoryUpdateEvent,
|
|
|
|
},
|
|
|
|
last::Last,
|
|
|
|
location::{Waypoint, WaypointArea},
|
|
|
|
misc::Object,
|
|
|
|
ori::Ori,
|
2021-07-28 22:36:41 +00:00
|
|
|
pet::Pet,
|
2021-02-17 13:03:20 +00:00
|
|
|
phys::{
|
2021-07-18 00:13:36 +00:00
|
|
|
Collider, Density, ForceUpdate, Mass, PhysicsState, Pos, PosVelOriDefer, PreviousPhysCache,
|
2021-03-16 07:40:31 +00:00
|
|
|
Scale, Sticky, Vel,
|
2021-02-17 13:03:20 +00:00
|
|
|
},
|
2021-05-06 09:43:10 +00:00
|
|
|
player::DisconnectReason,
|
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},
|
2021-02-22 20:37:59 +00:00
|
|
|
};
|
|
|
|
|
2021-09-09 04:07:17 +00:00
|
|
|
pub use health::{Health, HealthChange};
|