aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/event.rs20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/event.rs b/src/event.rs
index 27ed2db..4e0cbd1 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -220,10 +220,7 @@ pub enum EventKind {
/// The given agent has a new barrier percentage.
///
/// The percentage is given multiplied by 100, so 95% is given as 9500.
- BarrierUpdate {
- agent_addr: u64,
- percentage: u32,
- },
+ BarrierUpdate { agent_addr: u64, percentage: u32 },
/// The arcdps stats have been reset.
///
@@ -233,9 +230,7 @@ pub enum EventKind {
/// When the map instance has been started.
///
/// The instance age is given in milliseconds.
- InstanceStart {
- age: u64,
- },
+ InstanceStart { age: u64 },
/// The log's boss agent changed.
LogNpcUpdate {
@@ -264,21 +259,16 @@ pub enum EventKind {
},
/// Version string of the arcdps build.
- ArcBuild {
- build: String,
- },
+ ArcBuild { build: String },
/// Glider state of the given agent.
- Glider {
- agent_addr: u64,
- deployed: bool,
- },
+ Glider { agent_addr: u64, deployed: bool },
/// A stun has been broken early.
Stunbreak {
agent_addr: u64,
remaining_duration: i32,
- }
+ },
}
/// A higher-level representation of a combat event.