Work towards adding external ammo sources
This commit is contained in:
@@ -34,6 +34,13 @@ data ProjectileUpdate
|
||||
| PJRemoteShellCollisionCheck
|
||||
deriving (Show, Eq, Ord, Read) --Generic, Flat)
|
||||
|
||||
data AmmoSourceType
|
||||
= BulletSource
|
||||
| ChargeSource
|
||||
| ChemfuelSource
|
||||
| BombSource
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
data AmmoType
|
||||
= ProjectileAmmo
|
||||
{ _amPayload :: Payload
|
||||
@@ -71,3 +78,4 @@ deriveJSON defaultOptions ''ProjectileUpdate
|
||||
deriveJSON defaultOptions ''GasCreate
|
||||
deriveJSON defaultOptions ''ForceFieldType
|
||||
deriveJSON defaultOptions ''AmmoType
|
||||
deriveJSON defaultOptions ''AmmoSourceType
|
||||
|
||||
Reference in New Issue
Block a user