Safe Haskell | None |
---|---|
Language | Haskell2010 |
Server and client game state types and operations.
- data StateServer = StateServer {
- sactorTime :: !ActorTime
- sdiscoKind :: !DiscoveryKind
- sdiscoKindRev :: !DiscoveryKindRev
- suniqueSet :: !UniqueSet
- sdiscoAspect :: !DiscoveryAspect
- sitemSeedD :: !ItemSeedDict
- sitemRev :: !ItemRev
- sflavour :: !FlavourMap
- sacounter :: !ActorId
- sicounter :: !ItemId
- snumSpawned :: !(EnumMap LevelId Int)
- sundo :: ![CmdAtomic]
- sperFid :: !PerFid
- sperValidFid :: !PerValidFid
- sperCacheFid :: !PerCacheFid
- sactorAspect :: !ActorAspect
- sfovLucidLid :: !FovLucidLid
- sfovClearLid :: !FovClearLid
- sfovLitLid :: !FovLitLid
- sarenas :: ![LevelId]
- svalidArenas :: !Bool
- srandom :: !StdGen
- srngs :: !RNGs
- squit :: !Bool
- swriteSave :: !Bool
- sdebugSer :: !DebugModeSer
- sdebugNxt :: !DebugModeSer
- emptyStateServer :: StateServer
- data DebugModeSer = DebugModeSer {
- sknowMap :: !Bool
- sknowEvents :: !Bool
- sknowItems :: !Bool
- sniffIn :: !Bool
- sniffOut :: !Bool
- sallClear :: !Bool
- sboostRandomItem :: !Bool
- sgameMode :: !(Maybe (GroupName ModeKind))
- sautomateAll :: !Bool
- skeepAutomated :: !Bool
- sdungeonRng :: !(Maybe StdGen)
- smainRng :: !(Maybe StdGen)
- snewGameSer :: !Bool
- scurChalSer :: !Challenge
- sdumpInitRngs :: !Bool
- ssavePrefixSer :: !String
- sdbgMsgSer :: !Bool
- sdebugCli :: !DebugModeCli
- defDebugModeSer :: DebugModeSer
- data RNGs = RNGs {}
- type ActorTime = EnumMap FactionId (EnumMap LevelId (EnumMap ActorId Time))
- updateActorTime :: FactionId -> LevelId -> ActorId -> Time -> ActorTime -> ActorTime
- ageActor :: FactionId -> LevelId -> ActorId -> Delta Time -> ActorTime -> ActorTime
Documentation
data StateServer Source #
Global, server state.
StateServer | |
|
emptyStateServer :: StateServer Source #
Initial, empty game server state.
data DebugModeSer Source #
Debug commands. See debugArgs
for the descriptions.
DebugModeSer | |
|
RNGs | |
|