antagonist-0.1.0.22: A web interface to Antisplice dungeons.

Safe HaskellNone

Web.Antagonist.Server.Data

Description

Datatypes for a subsite serving a single-user dungeon.

Synopsis

Documentation

type SessionState = ((((DungeonState, TST Token), AVL (Int, Container)), Int), [(String, EnvVar)])Source

Server-side session state. Everything we need to know about the dungeon.

data SingleUserSub Source

Subsite foundation type, containing the dungeon constructor and the session states.

Constructors

SingleUserSub 

Fields

currentCounter :: IORef Int
 
dungeonStates :: IORef (AVL (Int, SessionState, String, NominalDiffTime))
 
constructor :: Constructor ()