aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-05-19 15:09:39 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-05-19 15:09:39 +0200
commitd995183a299305224863c4f24344acbd06b22bbd (patch)
treece7195534b943bfbfb0965d4976cd671177d1c3b /src/event.rs
parent6aea177d76a8ba67a9902740706abeb03f4cf6da (diff)
downloadevtclib-d995183a299305224863c4f24344acbd06b22bbd.tar.gz
evtclib-d995183a299305224863c4f24344acbd06b22bbd.tar.bz2
evtclib-d995183a299305224863c4f24344acbd06b22bbd.zip
add BreakbarState, BreakbarPercent & Error states
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 072c7d5..cf2a42f 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -362,7 +362,10 @@ impl TryFrom<&raw::CbtEvent> for Event {
| CbtStateChange::BuffInfo
| CbtStateChange::BuffFormula
| CbtStateChange::SkillInfo
- | CbtStateChange::SkillTiming => {
+ | CbtStateChange::SkillTiming
+ | CbtStateChange::BreakbarState
+ | CbtStateChange::BreakbarPercent
+ | CbtStateChange::Error => {
return Err(FromRawEventError::UnknownStateChange(
raw_event.is_statechange,
))