diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-08-29 20:29:25 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-08-29 20:29:25 +0200 |
commit | 807413119ccfe431ffc4633980dcf2d73eebc65d (patch) | |
tree | 8f023395bc6280fd65b7fd4feb0e774c53c0fd41 | |
parent | cbbbbd67679ed85135775a477557dd68d210f47a (diff) | |
download | evtclib-807413119ccfe431ffc4633980dcf2d73eebc65d.tar.gz evtclib-807413119ccfe431ffc4633980dcf2d73eebc65d.tar.bz2 evtclib-807413119ccfe431ffc4633980dcf2d73eebc65d.zip |
fix formatting
-rw-r--r-- | src/event.rs | 20 |
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. |