Add Store instances
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
module Dodge.Data.Damage.Type where
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import Data.Aeson
|
||||
@@ -27,7 +29,7 @@ data DamageType
|
||||
| POISONDAM
|
||||
| ENTERREMENT
|
||||
deriving (Eq, Ord, Show, Read, Enum, Bounded, Generic, Flat)
|
||||
instance Binary DamageType
|
||||
$($(derive [d| instance Deriving (Store DamageType) |]))
|
||||
|
||||
instance ToJSONKey DamageType
|
||||
|
||||
|
||||
Reference in New Issue
Block a user