diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index 1b7eaa0..f8f1f62 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -1,3 +1,4 @@ +use crate::shared::activation::*; use crate::shared::champion::*; use crate::shared::cooldown::*; use crate::shared::health::*; @@ -5,6 +6,7 @@ use crate::shared::health_event::*; use crate::shared::imperative::*; use crate::shared::player::*; use crate::shared::projectile::*; +use crate::shared::stats::*; use bevy::prelude::*; use lightyear::prelude::*; use serde::Deserialize; @@ -13,6 +15,7 @@ use serde::Serialize; #[derive(Serialize, Deserialize, Debug, PartialEq, Clone)] pub enum Inputs { Imperative(Imperative), + Activation(Activation), None, } impl UserAction for Inputs {} @@ -38,6 +41,7 @@ pub enum Components { Cooldown(Cooldown), Health(Health), Champion(Champion), + EffectiveStats(EffectiveStats), } #[derive(Channel)] |