{-# LANGUAGE TemplateHaskell #-}
module Rattletrap.Type.SpawnedReplication
( SpawnedReplication(..)
)
where
import Rattletrap.Type.Common
import Rattletrap.Type.Initialization
import Rattletrap.Type.Str
import Rattletrap.Type.Word32le
data SpawnedReplication = SpawnedReplication
{ spawnedReplicationFlag :: Bool
, spawnedReplicationNameIndex :: Maybe Word32le
, spawnedReplicationName :: Maybe Str
, spawnedReplicationObjectId :: Word32le
, spawnedReplicationObjectName :: Str
, spawnedReplicationClassName :: Str
, spawnedReplicationInitialization :: Initialization
} deriving (Eq, Ord, Show)
$(deriveJson ''SpawnedReplication)