PlayerSession: { currentRoom: string; inventory: string[] }

Represents all data that should be stored for a player

Type declaration

  • currentRoom: string

    Alias of the room the player is in

  • inventory: string[]

    List of game object aliases the player owns

Can only contain JSON data types