etamoo

Safe HaskellNone
LanguageHaskell2010

MOO.Database

Synopsis

Documentation

data Database Source

Instances

VCacheable Database Source 

data ServerOptions Source

Constructors

Options 

Fields

bgSeconds :: Int

The number of seconds allotted to background tasks

bgTicks :: Int

The number of ticks allotted to background tasks

connectTimeout :: IntT

The maximum number of seconds to allow an un-logged-in in-bound connection to remain open

defaultFlushCommand :: Text

The initial setting of each new connection’s flush command

fgSeconds :: Int

The number of seconds allotted to foreground tasks

fgTicks :: Int

The number of ticks allotted to foreground tasks

maxStackDepth :: Int

The maximum number of levels of nested verb calls

queuedTaskLimit :: Maybe Int

The default maximum number of tasks a player can have

nameLookupTimeout :: IntT

The maximum number of seconds to wait for a network hostname/address lookup

outboundConnectTimeout :: IntT

The maximum number of seconds to wait for an outbound network connection to successfully open

protectProperty :: Id -> Bool

Restrict reading of built-in property to wizards

protectFunction :: Id -> Bool

Restrict use of built-in function to wizards

supportNumericVerbnameStrings :: Bool

Enables use of an obsolete verb-naming mechanism

renumber :: ObjId -> Database -> VTx (ObjId, Database) Source

Renumber an object in the database to be the least nonnegative object number not currently in use pursuant to the renumber() built-in function.

modifyObject :: ObjId -> Database -> (Object -> VTx Object) -> VTx () Source

getServerMessage :: ObjId -> Id -> MOO [Text] -> MOO [Text] Source

saveDatabase :: VCache -> (Database, Connected) -> IO () Source