briyah 1.5.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1272 -994
- package/data/common/config/markup +1 -1
- package/data/common/prompts/character/progress_character.json +5 -5
- package/data/common/prompts/illustrator/describe_scene.json +11 -3
- package/data/common/prompts/perceive.json +2 -2
- package/data/common/prompts/room_moderator/moderate.json +34 -34
- package/data/common/prompts/story_moderator/moderate.json +62 -62
- package/data/packs/dnd5e/agents/battle-master.json +6 -0
- package/data/packs/dnd5e/agents/campaign-designer.json +6 -0
- package/data/packs/dnd5e/agents/character-creator.json +6 -0
- package/data/packs/dnd5e/agents/dungeon-master.json +6 -0
- package/data/packs/dnd5e/agents/player.json +13 -0
- package/data/packs/dnd5e/agents/table-moderator.json +6 -0
- package/data/{common/artifacts/dnd5e/dungeon_master-procedure.md → packs/dnd5e/artifacts/battle_master-combat.md} +31 -131
- package/data/packs/dnd5e/artifacts/dungeon_master-procedure.md +192 -0
- package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/manifest.json +8 -2
- package/data/packs/dnd5e/pack.json +6 -0
- package/data/packs/dnd5e/prompts/battle_master/defaults_config.json +23 -0
- package/data/packs/dnd5e/prompts/battle_master/perceive.json +33 -0
- package/data/packs/dnd5e/prompts/battle_master/perceive.prompt +378 -0
- package/data/{common → packs/dnd5e}/prompts/character_creator/defaults_config.json +1 -1
- package/data/{common → packs/dnd5e}/prompts/character_creator/perceive.prompt +29 -0
- package/data/{common → packs/dnd5e}/prompts/dnd_player/perceive.prompt +40 -22
- package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/moderate.json +34 -34
- package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/moderate.prompt +14 -3
- package/data/{common → packs/dnd5e}/prompts/dungeon_master/defaults_config.json +1 -0
- package/data/{common → packs/dnd5e}/prompts/dungeon_master/perceive.prompt +122 -115
- package/data/packs/dnd5e/prompts/dungeon_master/system_instruction.prompt +0 -0
- package/data/packs/dnd5e/rooms/table.json +16 -0
- package/dist-sdk/server/src/ai/LLM/base-ai.service.js +4 -13
- package/dist-sdk/server/src/ai/LLM/deepseek.service.d.ts +2 -1
- package/dist-sdk/server/src/ai/LLM/deepseek.service.js +65 -77
- package/dist-sdk/server/src/ai/agent-config.d.ts +2 -0
- package/dist-sdk/server/src/ai/agent-store.service.js +8 -0
- package/dist-sdk/server/src/ai/agent.d.ts +6 -0
- package/dist-sdk/server/src/ai/agent.js +25 -2
- package/dist-sdk/server/src/ai/artifact.service.d.ts +3 -1
- package/dist-sdk/server/src/ai/artifact.service.js +12 -5
- package/dist-sdk/server/src/ai/pack-artifacts.d.ts +3 -3
- package/dist-sdk/server/src/ai/pack-artifacts.js +21 -15
- package/dist-sdk/server/src/app/user-service-factory.js +9 -1
- package/dist-sdk/server/src/app.controller.d.ts +11 -11
- package/dist-sdk/server/src/app.controller.js +179 -89
- package/dist-sdk/server/src/app.service.d.ts +30 -7
- package/dist-sdk/server/src/app.service.js +146 -95
- package/dist-sdk/server/src/common/errors.d.ts +0 -3
- package/dist-sdk/server/src/common/errors.js +1 -11
- package/dist-sdk/server/src/config/prompt-resolver.d.ts +41 -0
- package/dist-sdk/server/src/config/prompt-resolver.js +196 -0
- package/dist-sdk/server/src/config/user-config.service.d.ts +17 -0
- package/dist-sdk/server/src/config/user-config.service.js +103 -0
- package/dist-sdk/server/src/config/user-paths.service.d.ts +4 -4
- package/dist-sdk/server/src/config/user-paths.service.js +12 -16
- package/dist-sdk/server/src/packs/pack-instantiation.service.d.ts +36 -0
- package/dist-sdk/server/src/packs/pack-instantiation.service.js +165 -0
- package/dist-sdk/server/src/packs/pack-manifest.d.ts +52 -0
- package/dist-sdk/server/src/packs/pack-manifest.js +256 -0
- package/dist-sdk/server/src/packs/pack.service.d.ts +24 -0
- package/dist-sdk/server/src/packs/pack.service.js +151 -0
- package/dist-sdk/server/src/room/room-config.d.ts +5 -0
- package/dist-sdk/server/src/room/room-message.service.d.ts +2 -1
- package/dist-sdk/server/src/room/room-message.service.js +3 -2
- package/dist-sdk/server/src/room/room-store.service.d.ts +3 -0
- package/dist-sdk/server/src/room/room-store.service.js +41 -5
- package/dist-sdk/server/src/room/room.d.ts +7 -0
- package/dist-sdk/server/src/room/room.js +33 -3
- package/dist-sdk/server/src/sdk/briyah.d.ts +2 -0
- package/dist-sdk/server/src/sdk/briyah.js +45 -8
- package/dist-sdk/server/src/sdk/index.d.ts +7 -2
- package/dist-sdk/server/src/sdk/index.js +6 -2
- package/dist-sdk/server/src/shared/shared.module.js +0 -3
- package/dist-sdk/server/src/story/story.service.d.ts +2 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.d.ts +17 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/kits.js +54 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/races.d.ts +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/races.js +6 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/data/srd.js +4 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.d.ts +1 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/backgrounds.js +6 -3
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.d.ts +3 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/character.js +45 -5
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.d.ts +27 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/encounter.js +103 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.d.ts +7 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/foes.js +83 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.d.ts +19 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/kits.js +130 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.d.ts +2 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/races.js +13 -2
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.d.ts +6 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/rules.js +16 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.d.ts +10 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/engine/sheet.js +82 -1
- package/dist-sdk/server/src/tools/packs/dnd5e/index.js +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/check.tool.js +51 -6
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/dice.tools.js +19 -9
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/encounter.tool.js +134 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/monster.tool.js +31 -13
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.d.ts +2 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/shared.js +25 -8
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +70 -4
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/world.tools.js +27 -0
- package/dist-sdk/server/src/tools/packs/index.d.ts +1 -2
- package/dist-sdk/server/src/tools/packs/index.js +5 -11
- package/dist-sdk/shared/types/app.types.d.ts +81 -13
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/highlight.css +15 -1
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +4 -4
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +18 -3
- package/docs/classes/Agent.html +702 -37
- package/docs/classes/Briyah.html +250 -33
- package/docs/classes/BriyahConfigService.html +117 -10
- package/docs/classes/NativeToolRegistry.html +156 -11
- package/docs/classes/PackInstantiationService.html +157 -0
- package/docs/classes/PackService.html +247 -0
- package/docs/classes/Room.html +1190 -77
- package/docs/classes/RoomMessage.html +260 -29
- package/docs/enums/MessageAction.html +123 -3
- package/docs/functions/availableToolPacks.html +41 -2
- package/docs/functions/dnd5eTools.html +42 -3
- package/docs/functions/installToolPacks.html +48 -0
- package/docs/functions/registerToolPacks.html +54 -6
- package/docs/hierarchy.html +42 -1
- package/docs/index.html +301 -54
- package/docs/interfaces/AgentCreationOptions.html +110 -11
- package/docs/interfaces/AgentInfo.html +188 -3
- package/docs/interfaces/AgentMessagesResponse.html +71 -2
- package/docs/interfaces/AppService.html +2806 -474
- package/docs/interfaces/Artifact.html +81 -4
- package/docs/interfaces/ArtifactMetadata.html +104 -3
- package/docs/interfaces/ArtifactWriteOptions.html +75 -6
- package/docs/interfaces/AttachDocumentResponse.html +61 -2
- package/docs/interfaces/BriyahConfigOptions.html +107 -10
- package/docs/interfaces/ChapterInfo.html +61 -2
- package/docs/interfaces/Character.html +81 -2
- package/docs/interfaces/CreateAgentResponse.html +56 -2
- package/docs/interfaces/CreateRoomResponse.html +61 -2
- package/docs/interfaces/CreateStoryResponse.html +56 -2
- package/docs/interfaces/FileList.html +56 -2
- package/docs/interfaces/FileMetadata.html +84 -3
- package/docs/interfaces/IConfigService.html +76 -3
- package/docs/interfaces/InstantiateModels.html +64 -0
- package/docs/interfaces/InstantiateRoomResult.html +70 -0
- package/docs/interfaces/LoadedPack.html +131 -0
- package/docs/interfaces/LoggingOptions.html +86 -7
- package/docs/interfaces/Message.html +80 -2
- package/docs/interfaces/ModelChoice.html +73 -0
- package/docs/interfaces/ModelInfo.html +71 -2
- package/docs/interfaces/NativeToolDefinition.html +96 -9
- package/docs/interfaces/PackAgentTemplate.html +101 -0
- package/docs/interfaces/PackRoomTemplate.html +108 -0
- package/docs/interfaces/PackView.html +172 -0
- package/docs/interfaces/PreparedPromptResponse.html +61 -2
- package/docs/interfaces/ProcessTextResponse.html +81 -2
- package/docs/interfaces/PromptFile.html +69 -2
- package/docs/interfaces/PromptFileContent.html +75 -2
- package/docs/interfaces/PromptFilesResponse.html +56 -2
- package/docs/interfaces/PromptFolder.html +79 -2
- package/docs/interfaces/PromptFolderDefaults.html +136 -5
- package/docs/interfaces/PromptFolderDefaultsResponse.html +78 -4
- package/docs/interfaces/PromptFoldersResponse.html +56 -2
- package/docs/interfaces/RoomDetails.html +133 -4
- package/docs/interfaces/RoomErrorUpdate.html +82 -0
- package/docs/interfaces/RoomInfo.html +84 -2
- package/docs/interfaces/RoomMessageUpdate.html +106 -2
- package/docs/interfaces/RoomMessagesResponse.html +61 -2
- package/docs/interfaces/SendMessageResult.html +61 -2
- package/docs/interfaces/StoryErrorEvent.html +76 -4
- package/docs/interfaces/StoryIdea.html +71 -2
- package/docs/interfaces/StoryInfo.html +173 -3
- package/docs/interfaces/StoryIntroduceCharacterEvent.html +71 -4
- package/docs/interfaces/StoryProgressChapterEvent.html +64 -3
- package/docs/interfaces/StoryState.html +99 -6
- package/docs/interfaces/StoryStateEvent.html +69 -3
- package/docs/interfaces/ToolArtifact.html +81 -4
- package/docs/interfaces/ToolCaller.html +75 -6
- package/docs/interfaces/ToolDefinition.html +76 -2
- package/docs/interfaces/ToolHelpers.html +91 -6
- package/docs/interfaces/ToolParameter.html +71 -2
- package/docs/interfaces/ToolRoomAccess.html +200 -24
- package/docs/interfaces/ToolSummary.html +71 -2
- package/docs/interfaces/ToolsResponse.html +66 -2
- package/docs/interfaces/Transaction.html +96 -2
- package/docs/interfaces/TransactionHistoryResponse.html +61 -2
- package/docs/modules.html +53 -1
- package/docs/types/PackOrigin.html +34 -0
- package/docs/types/PromptScope.html +34 -1
- package/docs/types/RoomTurnMode.html +36 -2
- package/docs/types/RoomUpdate.html +36 -0
- package/docs/types/RosterOverrides.html +42 -0
- package/docs/types/ToolContext.html +36 -2
- package/docs/types/ToolRunResult.html +34 -1
- package/package.json +139 -139
- package/src/tools/packs/dnd5e/README.md +186 -27
- package/dist-sdk/server/src/library/library.service.d.ts +0 -14
- package/dist-sdk/server/src/library/library.service.js +0 -165
- package/docs/functions/enabledToolPacks.html +0 -2
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/campaign_designer-setting.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/character_creator-basics.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-barbarian.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-bard.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-cleric.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-druid.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-fighter.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-monk.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-paladin.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-ranger.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-rogue.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-sorcerer.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-warlock.md +0 -0
- /package/data/{common/artifacts/dnd5e → packs/dnd5e/artifacts}/class-wizard.md +0 -0
- /package/data/{common/prompts/campaign_designer → packs/dnd5e/prompts/battle_master}/system_instruction.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/campaign_designer/defaults_config.json +0 -0
- /package/data/{common → packs/dnd5e}/prompts/campaign_designer/perceive.json +0 -0
- /package/data/{common → packs/dnd5e}/prompts/campaign_designer/perceive.prompt +0 -0
- /package/data/{common/prompts/character_creator → packs/dnd5e/prompts/campaign_designer}/system_instruction.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/character_creator/perceive.json +0 -0
- /package/data/{common/prompts/dnd_player → packs/dnd5e/prompts/character_creator}/system_instruction.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/dnd_player/defaults_config.json +0 -0
- /package/data/{common → packs/dnd5e}/prompts/dnd_player/perceive.json +0 -0
- /package/data/{common/prompts/dnd_room_moderator → packs/dnd5e/prompts/dnd_player}/system_instruction.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/dnd_room_moderator/defaults_config.json +0 -0
- /package/data/{common/prompts/dungeon_master → packs/dnd5e/prompts/dnd_room_moderator}/system_instruction.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/dungeon_master/compact_agent.prompt +0 -0
- /package/data/{common → packs/dnd5e}/prompts/dungeon_master/perceive.json +0 -0
package/docs/classes/Room.html
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Room | Briyah SDK -
|
|
2
|
-
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Room | Briyah SDK - v2.0.1</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.1</a>
|
|
3
|
+
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">Room</a></li></ul>
|
|
12
|
+
<h1>Class Room</h1></div><aside class="tsd-sources">
|
|
13
|
+
<ul>
|
|
14
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L37">server/src/room/room.ts:37</a></li></ul></aside>
|
|
15
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
16
|
+
<section class="tsd-panel tsd-index-panel">
|
|
17
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
18
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
19
|
+
<div class="tsd-accordion-details">
|
|
20
|
+
<section class="tsd-index-section">
|
|
21
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="constructors">Constructors<a href="#constructors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
22
|
+
<div class="tsd-index-list"><a href="#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
23
|
+
</div></section>
|
|
24
|
+
<section class="tsd-index-section">
|
|
25
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="methods">Methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
26
|
+
<div class="tsd-index-list"><a href="#addpendingmessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pending<wbr/>Message</span></a>
|
|
3
27
|
<a href="#addroommessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Message</span></a>
|
|
4
28
|
<a href="#addroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Messages</span></a>
|
|
5
29
|
<a href="#arrive" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>arrive</span></a>
|
|
@@ -27,6 +51,8 @@
|
|
|
27
51
|
<a href="#getmoderator" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator</span></a>
|
|
28
52
|
<a href="#getmoderatoragent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator<wbr/>Agent</span></a>
|
|
29
53
|
<a href="#getname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a>
|
|
54
|
+
<a href="#getpack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack</span></a>
|
|
55
|
+
<a href="#getpackroomkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span></a>
|
|
30
56
|
<a href="#getpaused" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Paused</span></a>
|
|
31
57
|
<a href="#getroomleader" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Leader</span></a>
|
|
32
58
|
<a href="#getroommessagestats" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span></a>
|
|
@@ -71,6 +97,8 @@
|
|
|
71
97
|
<a href="#setonmoderatorresponse" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span></a>
|
|
72
98
|
<a href="#setonsituationupdate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span></a>
|
|
73
99
|
<a href="#setonstatechange" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>State<wbr/>Change</span></a>
|
|
100
|
+
<a href="#setpack" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack</span></a>
|
|
101
|
+
<a href="#setpackroomkey" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span></a>
|
|
74
102
|
<a href="#setpublished" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Published</span></a>
|
|
75
103
|
<a href="#setroomleader" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Leader</span></a>
|
|
76
104
|
<a href="#setroommessages" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Messages</span></a>
|
|
@@ -80,33 +108,356 @@
|
|
|
80
108
|
<a href="#setstoragedir" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Storage<wbr/>Dir</span></a>
|
|
81
109
|
<a href="#settemplateroomid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span></a>
|
|
82
110
|
<a href="#setturnmode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Turn<wbr/>Mode</span></a>
|
|
83
|
-
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Constructors</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="constructorroom"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Room</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">baseRoomDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">storageDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">roomStoreService</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Room</a><a href="#constructorroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li><li><span><span class="tsd-kind-parameter">baseRoomDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></span></li><li><span><span class="tsd-kind-parameter">storageDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></span></li><li><span><span class="tsd-kind-parameter">roomStoreService</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Room</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L110">server/src/room/room.ts:110</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Methods</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="addpendingmessage"><span>add<wbr/>Pending<wbr/>Message</span><a href="#addpendingmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="addpendingmessage-1"><span class="tsd-kind-call-signature">addPendingMessage</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">clearQueue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a><a href="#addpendingmessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li><li><span><span class="tsd-kind-parameter">clearQueue</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L1963">server/src/room/room.ts:1963</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="addroommessage"><span>add<wbr/>Room<wbr/>Message</span><a href="#addroommessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="addroommessage-1"><span class="tsd-kind-call-signature">addRoomMessage</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L358">server/src/room/room.ts:358</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="addroommessages"><span>add<wbr/>Room<wbr/>Messages</span><a href="#addroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="addroommessages-1"><span class="tsd-kind-call-signature">addRoomMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L372">server/src/room/room.ts:372</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="arrive"><span>arrive</span><a href="#arrive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="arrive-1"><span class="tsd-kind-call-signature">arrive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#arrive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Adds an agent to the room</p>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
<
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<
|
|
95
|
-
|
|
96
|
-
<
|
|
111
|
+
</div></section></div></details></section></section>
|
|
112
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
113
|
+
<h2 class="tsd-anchor-link" id="constructors-1">Constructors<a href="#constructors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
114
|
+
<section>
|
|
115
|
+
<section class="tsd-panel tsd-member">
|
|
116
|
+
<h3 class="tsd-anchor-link" id="constructor"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
117
|
+
<ul class="tsd-signatures">
|
|
118
|
+
<li class="">
|
|
119
|
+
<div class="tsd-signature tsd-anchor-link" id="constructorroom"><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">Room</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">baseRoomDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">storageDir</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">roomStoreService</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="" class="tsd-signature-type tsd-kind-class">Room</a><a href="#constructorroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
120
|
+
<div class="tsd-description">
|
|
121
|
+
<div class="tsd-parameters">
|
|
122
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
123
|
+
<ul class="tsd-parameter-list">
|
|
124
|
+
<li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
125
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
126
|
+
<li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
127
|
+
<li><span><span class="tsd-kind-parameter">baseRoomDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></span></li>
|
|
128
|
+
<li><span><span class="tsd-kind-parameter">storageDir</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></span></li>
|
|
129
|
+
<li><span><span class="tsd-kind-parameter">roomStoreService</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> = null</span></span></li></ul></div>
|
|
130
|
+
<h4 class="tsd-returns-title">Returns <a href="" class="tsd-signature-type tsd-kind-class">Room</a></h4><aside class="tsd-sources">
|
|
131
|
+
<ul>
|
|
132
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L114">server/src/room/room.ts:114</a></li></ul></aside></div></li></ul></section></section></details>
|
|
133
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
134
|
+
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
135
|
+
<section>
|
|
136
|
+
<section class="tsd-panel tsd-member">
|
|
137
|
+
<h3 class="tsd-anchor-link" id="addpendingmessage"><span>add<wbr/>Pending<wbr/>Message</span><a href="#addpendingmessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
138
|
+
<ul class="tsd-signatures">
|
|
139
|
+
<li class="">
|
|
140
|
+
<div class="tsd-signature tsd-anchor-link" id="addpendingmessage-1"><span class="tsd-kind-call-signature">addPendingMessage</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">clearQueue</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a><a href="#addpendingmessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
141
|
+
<div class="tsd-description">
|
|
142
|
+
<div class="tsd-parameters">
|
|
143
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
144
|
+
<ul class="tsd-parameter-list">
|
|
145
|
+
<li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
|
|
146
|
+
<li><span><span class="tsd-kind-parameter">clearQueue</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li>
|
|
147
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
148
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/SendMessageResult.html" class="tsd-signature-type tsd-kind-interface">SendMessageResult</a></h4><aside class="tsd-sources">
|
|
149
|
+
<ul>
|
|
150
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2005">server/src/room/room.ts:2005</a></li></ul></aside></div></li></ul></section>
|
|
151
|
+
<section class="tsd-panel tsd-member">
|
|
152
|
+
<h3 class="tsd-anchor-link" id="addroommessage"><span>add<wbr/>Room<wbr/>Message</span><a href="#addroommessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
153
|
+
<ul class="tsd-signatures">
|
|
154
|
+
<li class="">
|
|
155
|
+
<div class="tsd-signature tsd-anchor-link" id="addroommessage-1"><span class="tsd-kind-call-signature">addRoomMessage</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessage-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
156
|
+
<div class="tsd-description">
|
|
157
|
+
<div class="tsd-parameters">
|
|
158
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
159
|
+
<ul class="tsd-parameter-list">
|
|
160
|
+
<li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
|
|
161
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">suppressSituationUpdate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span></span></li></ul></div>
|
|
162
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
163
|
+
<ul>
|
|
164
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L384">server/src/room/room.ts:384</a></li></ul></aside></div></li></ul></section>
|
|
165
|
+
<section class="tsd-panel tsd-member">
|
|
166
|
+
<h3 class="tsd-anchor-link" id="addroommessages"><span>add<wbr/>Room<wbr/>Messages</span><a href="#addroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
167
|
+
<ul class="tsd-signatures">
|
|
168
|
+
<li class="">
|
|
169
|
+
<div class="tsd-signature tsd-anchor-link" id="addroommessages-1"><span class="tsd-kind-call-signature">addRoomMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
170
|
+
<div class="tsd-description">
|
|
171
|
+
<div class="tsd-parameters">
|
|
172
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
173
|
+
<ul class="tsd-parameter-list">
|
|
174
|
+
<li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
|
|
175
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
176
|
+
<ul>
|
|
177
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L398">server/src/room/room.ts:398</a></li></ul></aside></div></li></ul></section>
|
|
178
|
+
<section class="tsd-panel tsd-member">
|
|
179
|
+
<h3 class="tsd-anchor-link" id="arrive"><span>arrive</span><a href="#arrive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
180
|
+
<ul class="tsd-signatures">
|
|
181
|
+
<li class="">
|
|
182
|
+
<div class="tsd-signature tsd-anchor-link" id="arrive-1"><span class="tsd-kind-call-signature">arrive</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#arrive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
183
|
+
<div class="tsd-description">
|
|
184
|
+
<div class="tsd-comment tsd-typography"><p>Adds an agent to the room</p>
|
|
185
|
+
</div>
|
|
186
|
+
<div class="tsd-parameters">
|
|
187
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
188
|
+
<ul class="tsd-parameter-list">
|
|
189
|
+
<li><span><span class="tsd-kind-parameter">agent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
|
|
190
|
+
<div class="tsd-comment tsd-typography"><p>The agent to add</p>
|
|
191
|
+
</div></li></ul></div>
|
|
192
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the agent was added, false if it was already in the room</p>
|
|
193
|
+
<aside class="tsd-sources">
|
|
194
|
+
<ul>
|
|
195
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L217">server/src/room/room.ts:217</a></li></ul></aside></div></li></ul></section>
|
|
196
|
+
<section class="tsd-panel tsd-member">
|
|
197
|
+
<h3 class="tsd-anchor-link" id="checkagentnicknamematch"><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span><a href="#checkagentnicknamematch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
198
|
+
<ul class="tsd-signatures">
|
|
199
|
+
<li class="">
|
|
200
|
+
<div class="tsd-signature tsd-anchor-link" id="checkagentnicknamematch-1"><span class="tsd-kind-call-signature">checkAgentNicknameMatch</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">existingNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">targetNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#checkagentnicknamematch-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
201
|
+
<div class="tsd-description">
|
|
202
|
+
<div class="tsd-parameters">
|
|
203
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
204
|
+
<ul class="tsd-parameter-list">
|
|
205
|
+
<li><span><span class="tsd-kind-parameter">existingNickname</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
206
|
+
<li><span><span class="tsd-kind-parameter">targetNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
207
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
208
|
+
<ul>
|
|
209
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2176">server/src/room/room.ts:2176</a></li></ul></aside></div></li></ul></section>
|
|
210
|
+
<section class="tsd-panel tsd-member">
|
|
211
|
+
<h3 class="tsd-anchor-link" id="clearonerror"><span>clear<wbr/>On<wbr/>Error</span><a href="#clearonerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
212
|
+
<ul class="tsd-signatures">
|
|
213
|
+
<li class="">
|
|
214
|
+
<div class="tsd-signature tsd-anchor-link" id="clearonerror-1"><span class="tsd-kind-call-signature">clearOnError</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearonerror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
215
|
+
<div class="tsd-description">
|
|
216
|
+
<div class="tsd-comment tsd-typography"><p>Stops delivering errors to a subscriber.</p>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="tsd-parameters">
|
|
219
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
220
|
+
<ul class="tsd-parameter-list">
|
|
221
|
+
<li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
|
|
222
|
+
<div class="tsd-comment tsd-typography"><p>The key it registered with</p>
|
|
223
|
+
</div></li></ul></div>
|
|
224
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
225
|
+
<ul>
|
|
226
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1754">server/src/room/room.ts:1754</a></li></ul></aside></div></li></ul></section>
|
|
227
|
+
<section class="tsd-panel tsd-member">
|
|
228
|
+
<h3 class="tsd-anchor-link" id="clearroommessages"><span>clear<wbr/>Room<wbr/>Messages</span><a href="#clearroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
229
|
+
<ul class="tsd-signatures">
|
|
230
|
+
<li class="">
|
|
231
|
+
<div class="tsd-signature tsd-anchor-link" id="clearroommessages-1"><span class="tsd-kind-call-signature">clearRoomMessages</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#clearroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
232
|
+
<div class="tsd-description">
|
|
233
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
234
|
+
<ul>
|
|
235
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L208">server/src/room/room.ts:208</a></li></ul></aside></div></li></ul></section>
|
|
236
|
+
<section class="tsd-panel tsd-member">
|
|
237
|
+
<h3 class="tsd-anchor-link" id="deleteartifact"><span>delete<wbr/>Artifact</span><a href="#deleteartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
238
|
+
<ul class="tsd-signatures">
|
|
239
|
+
<li class="">
|
|
240
|
+
<div class="tsd-signature tsd-anchor-link" id="deleteartifact-1"><span class="tsd-kind-call-signature">deleteArtifact</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#deleteartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
241
|
+
<div class="tsd-description">
|
|
242
|
+
<div class="tsd-comment tsd-typography"><p>Deletes an artifact from the room</p>
|
|
243
|
+
</div>
|
|
244
|
+
<div class="tsd-parameters">
|
|
245
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
246
|
+
<ul class="tsd-parameter-list">
|
|
247
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
|
|
248
|
+
<div class="tsd-comment tsd-typography"><p>The name of the artifact to delete</p>
|
|
249
|
+
</div></li></ul></div>
|
|
250
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the artifact was found and deleted, false otherwise</p>
|
|
251
|
+
<aside class="tsd-sources">
|
|
252
|
+
<ul>
|
|
253
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1585">server/src/room/room.ts:1585</a></li></ul></aside></div></li></ul></section>
|
|
254
|
+
<section class="tsd-panel tsd-member">
|
|
255
|
+
<h3 class="tsd-anchor-link" id="deleteroom"><span>delete<wbr/>Room</span><a href="#deleteroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
256
|
+
<ul class="tsd-signatures">
|
|
257
|
+
<li class="">
|
|
258
|
+
<div class="tsd-signature tsd-anchor-link" id="deleteroom-1"><span class="tsd-kind-call-signature">deleteRoom</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#deleteroom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
259
|
+
<div class="tsd-description">
|
|
260
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
261
|
+
<ul>
|
|
262
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L133">server/src/room/room.ts:133</a></li></ul></aside></div></li></ul></section>
|
|
263
|
+
<section class="tsd-panel tsd-member">
|
|
264
|
+
<h3 class="tsd-anchor-link" id="describeagentsinroom"><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span><a href="#describeagentsinroom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
265
|
+
<ul class="tsd-signatures">
|
|
266
|
+
<li class="">
|
|
267
|
+
<div class="tsd-signature tsd-anchor-link" id="describeagentsinroom-1"><span class="tsd-kind-call-signature">describeAgentsInRoom</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#describeagentsinroom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
268
|
+
<div class="tsd-description">
|
|
269
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
270
|
+
<ul>
|
|
271
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L242">server/src/room/room.ts:242</a></li></ul></aside></div></li></ul></section>
|
|
272
|
+
<section class="tsd-panel tsd-member">
|
|
273
|
+
<h3 class="tsd-anchor-link" id="findartifact"><span>find<wbr/>Artifact</span><a href="#findartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
274
|
+
<ul class="tsd-signatures">
|
|
275
|
+
<li class="">
|
|
276
|
+
<div class="tsd-signature tsd-anchor-link" id="findartifact-1"><span class="tsd-kind-call-signature">findArtifact</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><a href="#findartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
277
|
+
<div class="tsd-description">
|
|
278
|
+
<div class="tsd-comment tsd-typography"><p>Gets an artifact by name</p>
|
|
279
|
+
</div>
|
|
280
|
+
<div class="tsd-parameters">
|
|
281
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
282
|
+
<ul class="tsd-parameter-list">
|
|
283
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
|
|
284
|
+
<div class="tsd-comment tsd-typography"><p>The name of the artifact</p>
|
|
285
|
+
</div></li></ul></div>
|
|
286
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a></h4><p>The artifact or undefined if not found</p>
|
|
287
|
+
<aside class="tsd-sources">
|
|
288
|
+
<ul>
|
|
289
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1514">server/src/room/room.ts:1514</a></li></ul></aside></div></li></ul></section>
|
|
290
|
+
<section class="tsd-panel tsd-member">
|
|
291
|
+
<h3 class="tsd-anchor-link" id="getagentcount"><span>get<wbr/>Agent<wbr/>Count</span><a href="#getagentcount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
292
|
+
<ul class="tsd-signatures">
|
|
293
|
+
<li class="">
|
|
294
|
+
<div class="tsd-signature tsd-anchor-link" id="getagentcount-1"><span class="tsd-kind-call-signature">getAgentCount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><a href="#getagentcount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
295
|
+
<div class="tsd-description">
|
|
296
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><aside class="tsd-sources">
|
|
297
|
+
<ul>
|
|
298
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L286">server/src/room/room.ts:286</a></li></ul></aside></div></li></ul></section>
|
|
299
|
+
<section class="tsd-panel tsd-member">
|
|
300
|
+
<h3 class="tsd-anchor-link" id="getagents"><span>get<wbr/>Agents</span><a href="#getagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
301
|
+
<ul class="tsd-signatures">
|
|
302
|
+
<li class="">
|
|
303
|
+
<div class="tsd-signature tsd-anchor-link" id="getagents-1"><span class="tsd-kind-call-signature">getAgents</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><a href="#getagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
304
|
+
<div class="tsd-description">
|
|
305
|
+
<h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
306
|
+
<ul>
|
|
307
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L227">server/src/room/room.ts:227</a></li></ul></aside></div></li></ul></section>
|
|
308
|
+
<section class="tsd-panel tsd-member">
|
|
309
|
+
<h3 class="tsd-anchor-link" id="getartifacts"><span>get<wbr/>Artifacts</span><a href="#getartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
310
|
+
<ul class="tsd-signatures">
|
|
311
|
+
<li class="">
|
|
312
|
+
<div class="tsd-signature tsd-anchor-link" id="getartifacts-1"><span class="tsd-kind-call-signature">getArtifacts</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#getartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
313
|
+
<div class="tsd-description">
|
|
314
|
+
<div class="tsd-comment tsd-typography"><p>Gets all artifacts in the room</p>
|
|
315
|
+
</div>
|
|
316
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of artifacts</p>
|
|
317
|
+
<aside class="tsd-sources">
|
|
318
|
+
<ul>
|
|
319
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L426">server/src/room/room.ts:426</a></li></ul></aside></div></li></ul></section>
|
|
320
|
+
<section class="tsd-panel tsd-member">
|
|
321
|
+
<h3 class="tsd-anchor-link" id="getbaseroomdir"><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span><a href="#getbaseroomdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
322
|
+
<ul class="tsd-signatures">
|
|
323
|
+
<li class="">
|
|
324
|
+
<div class="tsd-signature tsd-anchor-link" id="getbaseroomdir-1"><span class="tsd-kind-call-signature">getBaseRoomDir</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getbaseroomdir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
325
|
+
<div class="tsd-description">
|
|
326
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
327
|
+
<ul>
|
|
328
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L157">server/src/room/room.ts:157</a></li></ul></aside></div></li></ul></section>
|
|
329
|
+
<section class="tsd-panel tsd-member">
|
|
330
|
+
<h3 class="tsd-anchor-link" id="getcreatedat"><span>get<wbr/>Created<wbr/>At</span><a href="#getcreatedat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
331
|
+
<ul class="tsd-signatures">
|
|
332
|
+
<li class="">
|
|
333
|
+
<div class="tsd-signature tsd-anchor-link" id="getcreatedat-1"><span class="tsd-kind-call-signature">getCreatedAt</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><a href="#getcreatedat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
334
|
+
<div class="tsd-description">
|
|
335
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Date</span></h4><aside class="tsd-sources">
|
|
336
|
+
<ul>
|
|
337
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L414">server/src/room/room.ts:414</a></li></ul></aside></div></li></ul></section>
|
|
338
|
+
<section class="tsd-panel tsd-member">
|
|
339
|
+
<h3 class="tsd-anchor-link" id="getcurrentspeaker"><span>get<wbr/>Current<wbr/>Speaker</span><a href="#getcurrentspeaker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
340
|
+
<ul class="tsd-signatures">
|
|
341
|
+
<li class="">
|
|
342
|
+
<div class="tsd-signature tsd-anchor-link" id="getcurrentspeaker-1"><span class="tsd-kind-call-signature">getCurrentSpeaker</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getcurrentspeaker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
343
|
+
<div class="tsd-description">
|
|
344
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
345
|
+
<ul>
|
|
346
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L303">server/src/room/room.ts:303</a></li></ul></aside></div></li></ul></section>
|
|
347
|
+
<section class="tsd-panel tsd-member">
|
|
348
|
+
<h3 class="tsd-anchor-link" id="getdefaulthumanagent"><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span><a href="#getdefaulthumanagent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
349
|
+
<ul class="tsd-signatures">
|
|
350
|
+
<li class="">
|
|
351
|
+
<div class="tsd-signature tsd-anchor-link" id="getdefaulthumanagent-1"><span class="tsd-kind-call-signature">getDefaultHumanAgent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#getdefaulthumanagent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
352
|
+
<div class="tsd-description">
|
|
353
|
+
<div class="tsd-comment tsd-typography"><p>The human the room falls back to when it has to pick one, which is whoever
|
|
97
354
|
arrived first. Used to open the conversation and to attribute a message that
|
|
98
355
|
arrives with no sender. Which one it is carries no meaning.</p>
|
|
99
|
-
</div
|
|
356
|
+
</div>
|
|
357
|
+
<h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><aside class="tsd-sources">
|
|
358
|
+
<ul>
|
|
359
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1781">server/src/room/room.ts:1781</a></li></ul></aside></div></li></ul></section>
|
|
360
|
+
<section class="tsd-panel tsd-member">
|
|
361
|
+
<h3 class="tsd-anchor-link" id="getgoal"><span>get<wbr/>Goal</span><a href="#getgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
362
|
+
<ul class="tsd-signatures">
|
|
363
|
+
<li class="">
|
|
364
|
+
<div class="tsd-signature tsd-anchor-link" id="getgoal-1"><span class="tsd-kind-call-signature">getGoal</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
365
|
+
<div class="tsd-description">
|
|
366
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
367
|
+
<ul>
|
|
368
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L149">server/src/room/room.ts:149</a></li></ul></aside></div></li></ul></section>
|
|
369
|
+
<section class="tsd-panel tsd-member">
|
|
370
|
+
<h3 class="tsd-anchor-link" id="gethumanagentbyname"><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span><a href="#gethumanagentbyname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
371
|
+
<ul class="tsd-signatures">
|
|
372
|
+
<li class="">
|
|
373
|
+
<div class="tsd-signature tsd-anchor-link" id="gethumanagentbyname-1"><span class="tsd-kind-call-signature">getHumanAgentByName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">sender</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#gethumanagentbyname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
374
|
+
<div class="tsd-description">
|
|
375
|
+
<div class="tsd-comment tsd-typography"><p>The human-controlled agent a sender name refers to, matched the same way
|
|
100
376
|
message targets are, or undefined when no human answers to that name.</p>
|
|
101
|
-
</div
|
|
102
|
-
|
|
103
|
-
<
|
|
377
|
+
</div>
|
|
378
|
+
<div class="tsd-parameters">
|
|
379
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
380
|
+
<ul class="tsd-parameter-list">
|
|
381
|
+
<li><span><span class="tsd-kind-parameter">sender</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
382
|
+
<h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><aside class="tsd-sources">
|
|
383
|
+
<ul>
|
|
384
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1789">server/src/room/room.ts:1789</a></li></ul></aside></div></li></ul></section>
|
|
385
|
+
<section class="tsd-panel tsd-member">
|
|
386
|
+
<h3 class="tsd-anchor-link" id="gethumanagentname"><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span><a href="#gethumanagentname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
387
|
+
<ul class="tsd-signatures">
|
|
388
|
+
<li class="">
|
|
389
|
+
<div class="tsd-signature tsd-anchor-link" id="gethumanagentname-1"><span class="tsd-kind-call-signature">getHumanAgentName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#gethumanagentname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
390
|
+
<div class="tsd-description">
|
|
391
|
+
<div class="tsd-comment tsd-typography"><p>Gets the name of the default human-controlled agent</p>
|
|
392
|
+
</div>
|
|
393
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The human agent's name or empty string if not found</p>
|
|
394
|
+
<aside class="tsd-sources">
|
|
395
|
+
<ul>
|
|
396
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1823">server/src/room/room.ts:1823</a></li></ul></aside></div></li></ul></section>
|
|
397
|
+
<section class="tsd-panel tsd-member">
|
|
398
|
+
<h3 class="tsd-anchor-link" id="gethumanagents"><span>get<wbr/>Human<wbr/>Agents</span><a href="#gethumanagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
399
|
+
<ul class="tsd-signatures">
|
|
400
|
+
<li class="">
|
|
401
|
+
<div class="tsd-signature tsd-anchor-link" id="gethumanagents-1"><span class="tsd-kind-call-signature">getHumanAgents</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><a href="#gethumanagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
402
|
+
<div class="tsd-description">
|
|
403
|
+
<div class="tsd-comment tsd-typography"><p>Every human-controlled agent in the room, in arrival order.</p>
|
|
104
404
|
<p>A room may have more than one: several people can share a browser, and one
|
|
105
405
|
person can play several characters. Code that genuinely needs a single human
|
|
106
406
|
uses <a href="#getdefaulthumanagent" class="tsd-kind-method">getDefaultHumanAgent</a> — but anything reacting to a <em>message</em> must
|
|
107
407
|
resolve the human from its sender, because the sender is rarely the default.</p>
|
|
108
|
-
</div
|
|
109
|
-
<
|
|
408
|
+
</div>
|
|
409
|
+
<h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
410
|
+
<ul>
|
|
411
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1772">server/src/room/room.ts:1772</a></li></ul></aside></div></li></ul></section>
|
|
412
|
+
<section class="tsd-panel tsd-member">
|
|
413
|
+
<h3 class="tsd-anchor-link" id="getid"><span>get<wbr/>Id</span><a href="#getid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
414
|
+
<ul class="tsd-signatures">
|
|
415
|
+
<li class="">
|
|
416
|
+
<div class="tsd-signature tsd-anchor-link" id="getid-1"><span class="tsd-kind-call-signature">getId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
417
|
+
<div class="tsd-description">
|
|
418
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
419
|
+
<ul>
|
|
420
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1639">server/src/room/room.ts:1639</a></li></ul></aside></div></li></ul></section>
|
|
421
|
+
<section class="tsd-panel tsd-member">
|
|
422
|
+
<h3 class="tsd-anchor-link" id="getispublished"><span>get<wbr/>Is<wbr/>Published</span><a href="#getispublished" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
423
|
+
<ul class="tsd-signatures">
|
|
424
|
+
<li class="">
|
|
425
|
+
<div class="tsd-signature tsd-anchor-link" id="getispublished-1"><span class="tsd-kind-call-signature">getIsPublished</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#getispublished-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
426
|
+
<div class="tsd-description">
|
|
427
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
428
|
+
<ul>
|
|
429
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L165">server/src/room/room.ts:165</a></li></ul></aside></div></li></ul></section>
|
|
430
|
+
<section class="tsd-panel tsd-member">
|
|
431
|
+
<h3 class="tsd-anchor-link" id="getlatestroommessages"><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span><a href="#getlatestroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
432
|
+
<ul class="tsd-signatures">
|
|
433
|
+
<li class="">
|
|
434
|
+
<div class="tsd-signature tsd-anchor-link" id="getlatestroommessages-1"><span class="tsd-kind-call-signature">getLatestRoomMessages</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">fromIndex</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">includeThoughts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><a href="#getlatestroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
435
|
+
<div class="tsd-description">
|
|
436
|
+
<div class="tsd-parameters">
|
|
437
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
438
|
+
<ul class="tsd-parameter-list">
|
|
439
|
+
<li><span><span class="tsd-kind-parameter">fromIndex</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></span></li>
|
|
440
|
+
<li><span><span class="tsd-kind-parameter">includeThoughts</span>: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></span></li></ul></div>
|
|
441
|
+
<h4 class="tsd-returns-title">Returns <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
442
|
+
<ul>
|
|
443
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L359">server/src/room/room.ts:359</a></li></ul></aside></div></li></ul></section>
|
|
444
|
+
<section class="tsd-panel tsd-member">
|
|
445
|
+
<h3 class="tsd-anchor-link" id="getmoderator"><span>get<wbr/>Moderator</span><a href="#getmoderator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
446
|
+
<ul class="tsd-signatures">
|
|
447
|
+
<li class="">
|
|
448
|
+
<div class="tsd-signature tsd-anchor-link" id="getmoderator-1"><span class="tsd-kind-call-signature">getModerator</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getmoderator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
449
|
+
<div class="tsd-description">
|
|
450
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The configured moderator nickname, or '' when none is set</p>
|
|
451
|
+
<aside class="tsd-sources">
|
|
452
|
+
<ul>
|
|
453
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L274">server/src/room/room.ts:274</a></li></ul></aside></div></li></ul></section>
|
|
454
|
+
<section class="tsd-panel tsd-member">
|
|
455
|
+
<h3 class="tsd-anchor-link" id="getmoderatoragent"><span>get<wbr/>Moderator<wbr/>Agent</span><a href="#getmoderatoragent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
456
|
+
<ul class="tsd-signatures">
|
|
457
|
+
<li class="">
|
|
458
|
+
<div class="tsd-signature tsd-anchor-link" id="getmoderatoragent-1"><span class="tsd-kind-call-signature">getModeratorAgent</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><a href="#getmoderatoragent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
459
|
+
<div class="tsd-description">
|
|
460
|
+
<div class="tsd-comment tsd-typography"><p>Gets the agent that places messages the room cannot route mechanically.</p>
|
|
110
461
|
<p>Prefers the configured <a href="#setmoderator" class="tsd-kind-method">setModerator</a> nickname. The fallback to the
|
|
111
462
|
first agent is how story rooms have always chosen theirs — the narrator is
|
|
112
463
|
added first — and is kept so they keep working, but it is a guess: in any
|
|
@@ -117,24 +468,238 @@ one that does not fails in the worst way available: the prompt lookup throws,
|
|
|
117
468
|
the throw is swallowed, and the message disappears. Arrival order is only
|
|
118
469
|
consulted when nobody in the room can moderate, which keeps a room that was
|
|
119
470
|
working before this preference existed working now.</p>
|
|
120
|
-
</div
|
|
121
|
-
<
|
|
122
|
-
|
|
123
|
-
<
|
|
471
|
+
</div>
|
|
472
|
+
<h4 class="tsd-returns-title">Returns <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></h4><p>The moderator agent or undefined if the room is empty</p>
|
|
473
|
+
<aside class="tsd-sources">
|
|
474
|
+
<ul>
|
|
475
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1843">server/src/room/room.ts:1843</a></li></ul></aside></div></li></ul></section>
|
|
476
|
+
<section class="tsd-panel tsd-member">
|
|
477
|
+
<h3 class="tsd-anchor-link" id="getname"><span>get<wbr/>Name</span><a href="#getname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
478
|
+
<ul class="tsd-signatures">
|
|
479
|
+
<li class="">
|
|
480
|
+
<div class="tsd-signature tsd-anchor-link" id="getname-1"><span class="tsd-kind-call-signature">getName</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
481
|
+
<div class="tsd-description">
|
|
482
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
483
|
+
<ul>
|
|
484
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L141">server/src/room/room.ts:141</a></li></ul></aside></div></li></ul></section>
|
|
485
|
+
<section class="tsd-panel tsd-member">
|
|
486
|
+
<h3 class="tsd-anchor-link" id="getpack"><span>get<wbr/>Pack</span><a href="#getpack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
487
|
+
<ul class="tsd-signatures">
|
|
488
|
+
<li class="">
|
|
489
|
+
<div class="tsd-signature tsd-anchor-link" id="getpack-1"><span class="tsd-kind-call-signature">getPack</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getpack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
490
|
+
<div class="tsd-description">
|
|
491
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The pack this room is filed under, or undefined when it is not filed</p>
|
|
492
|
+
<aside class="tsd-sources">
|
|
493
|
+
<ul>
|
|
494
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L187">server/src/room/room.ts:187</a></li></ul></aside></div></li></ul></section>
|
|
495
|
+
<section class="tsd-panel tsd-member">
|
|
496
|
+
<h3 class="tsd-anchor-link" id="getpackroomkey"><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span><a href="#getpackroomkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
497
|
+
<ul class="tsd-signatures">
|
|
498
|
+
<li class="">
|
|
499
|
+
<div class="tsd-signature tsd-anchor-link" id="getpackroomkey-1"><span class="tsd-kind-call-signature">getPackRoomKey</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getpackroomkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
500
|
+
<div class="tsd-description">
|
|
501
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The pack template's key, when this room came from one</p>
|
|
502
|
+
<aside class="tsd-sources">
|
|
503
|
+
<ul>
|
|
504
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L200">server/src/room/room.ts:200</a></li></ul></aside></div></li></ul></section>
|
|
505
|
+
<section class="tsd-panel tsd-member">
|
|
506
|
+
<h3 class="tsd-anchor-link" id="getpaused"><span>get<wbr/>Paused</span><a href="#getpaused" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
507
|
+
<ul class="tsd-signatures">
|
|
508
|
+
<li class="">
|
|
509
|
+
<div class="tsd-signature tsd-anchor-link" id="getpaused-1"><span class="tsd-kind-call-signature">getPaused</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#getpaused-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
510
|
+
<div class="tsd-description">
|
|
511
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
512
|
+
<ul>
|
|
513
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L174">server/src/room/room.ts:174</a></li></ul></aside></div></li></ul></section>
|
|
514
|
+
<section class="tsd-panel tsd-member">
|
|
515
|
+
<h3 class="tsd-anchor-link" id="getroomleader"><span>get<wbr/>Room<wbr/>Leader</span><a href="#getroomleader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
516
|
+
<ul class="tsd-signatures">
|
|
517
|
+
<li class="">
|
|
518
|
+
<div class="tsd-signature tsd-anchor-link" id="getroomleader-1"><span class="tsd-kind-call-signature">getRoomLeader</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getroomleader-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
519
|
+
<div class="tsd-description">
|
|
520
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
521
|
+
<ul>
|
|
522
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L250">server/src/room/room.ts:250</a></li></ul></aside></div></li></ul></section>
|
|
523
|
+
<section class="tsd-panel tsd-member">
|
|
524
|
+
<h3 class="tsd-anchor-link" id="getroommessagestats"><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span><a href="#getroommessagestats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
525
|
+
<ul class="tsd-signatures">
|
|
526
|
+
<li class="">
|
|
527
|
+
<div class="tsd-signature tsd-anchor-link" id="getroommessagestats-1"><span class="tsd-kind-call-signature">getRoomMessageStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">numChars</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">numMessages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><a href="#getroommessagestats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
528
|
+
<div class="tsd-description">
|
|
529
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">numChars</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">numMessages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></h4><aside class="tsd-sources">
|
|
530
|
+
<ul>
|
|
531
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L353">server/src/room/room.ts:353</a></li></ul></aside></div></li></ul></section>
|
|
532
|
+
<section class="tsd-panel tsd-member">
|
|
533
|
+
<h3 class="tsd-anchor-link" id="getroomstoreservice"><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span><a href="#getroomstoreservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
534
|
+
<ul class="tsd-signatures">
|
|
535
|
+
<li class="">
|
|
536
|
+
<div class="tsd-signature tsd-anchor-link" id="getroomstoreservice-1"><span class="tsd-kind-call-signature">getRoomStoreService</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#getroomstoreservice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
537
|
+
<div class="tsd-description">
|
|
538
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources">
|
|
539
|
+
<ul>
|
|
540
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1655">server/src/room/room.ts:1655</a></li></ul></aside></div></li></ul></section>
|
|
541
|
+
<section class="tsd-panel tsd-member">
|
|
542
|
+
<h3 class="tsd-anchor-link" id="getsituation"><span>get<wbr/>Situation</span><a href="#getsituation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
543
|
+
<ul class="tsd-signatures">
|
|
544
|
+
<li class="">
|
|
545
|
+
<div class="tsd-signature tsd-anchor-link" id="getsituation-1"><span class="tsd-kind-call-signature">getSituation</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsituation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
546
|
+
<div class="tsd-description">
|
|
547
|
+
<div class="tsd-comment tsd-typography"><p>Gets the current story situation</p>
|
|
548
|
+
</div>
|
|
549
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The current situation string</p>
|
|
550
|
+
<aside class="tsd-sources">
|
|
551
|
+
<ul>
|
|
552
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1865">server/src/room/room.ts:1865</a></li></ul></aside></div></li></ul></section>
|
|
553
|
+
<section class="tsd-panel tsd-member">
|
|
554
|
+
<h3 class="tsd-anchor-link" id="getsituationtime"><span>get<wbr/>Situation<wbr/>Time</span><a href="#getsituationtime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
555
|
+
<ul class="tsd-signatures">
|
|
556
|
+
<li class="">
|
|
557
|
+
<div class="tsd-signature tsd-anchor-link" id="getsituationtime-1"><span class="tsd-kind-call-signature">getSituationTime</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsituationtime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
558
|
+
<div class="tsd-description">
|
|
559
|
+
<div class="tsd-comment tsd-typography"><p>Gets the current in-story time (24-hour "HH:MM"), stored separately from the
|
|
124
560
|
situation text.</p>
|
|
125
|
-
</div
|
|
126
|
-
<
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<
|
|
561
|
+
</div>
|
|
562
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>The current time string, or '' if none is set</p>
|
|
563
|
+
<aside class="tsd-sources">
|
|
564
|
+
<ul>
|
|
565
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1874">server/src/room/room.ts:1874</a></li></ul></aside></div></li></ul></section>
|
|
566
|
+
<section class="tsd-panel tsd-member">
|
|
567
|
+
<h3 class="tsd-anchor-link" id="getstoragedir"><span>get<wbr/>Storage<wbr/>Dir</span><a href="#getstoragedir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
568
|
+
<ul class="tsd-signatures">
|
|
569
|
+
<li class="">
|
|
570
|
+
<div class="tsd-signature tsd-anchor-link" id="getstoragedir-1"><span class="tsd-kind-call-signature">getStorageDir</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getstoragedir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
571
|
+
<div class="tsd-description">
|
|
572
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
573
|
+
<ul>
|
|
574
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1647">server/src/room/room.ts:1647</a></li></ul></aside></div></li></ul></section>
|
|
575
|
+
<section class="tsd-panel tsd-member">
|
|
576
|
+
<h3 class="tsd-anchor-link" id="gettemplateroomid"><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span><a href="#gettemplateroomid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
577
|
+
<ul class="tsd-signatures">
|
|
578
|
+
<li class="">
|
|
579
|
+
<div class="tsd-signature tsd-anchor-link" id="gettemplateroomid-1"><span class="tsd-kind-call-signature">getTemplateRoomId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#gettemplateroomid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
580
|
+
<div class="tsd-description">
|
|
581
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
582
|
+
<ul>
|
|
583
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L178">server/src/room/room.ts:178</a></li></ul></aside></div></li></ul></section>
|
|
584
|
+
<section class="tsd-panel tsd-member">
|
|
585
|
+
<h3 class="tsd-anchor-link" id="gettransientartifacts"><span>get<wbr/>Transient<wbr/>Artifacts</span><a href="#gettransientartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
586
|
+
<ul class="tsd-signatures">
|
|
587
|
+
<li class="">
|
|
588
|
+
<div class="tsd-signature tsd-anchor-link" id="gettransientartifacts-1"><span class="tsd-kind-call-signature">getTransientArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#gettransientartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
589
|
+
<div class="tsd-description">
|
|
590
|
+
<div class="tsd-comment tsd-typography"><p>Gets the artifacts delivered to an agent in the uncached per-turn prompt.</p>
|
|
591
|
+
</div>
|
|
592
|
+
<div class="tsd-parameters">
|
|
593
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
594
|
+
<ul class="tsd-parameter-list">
|
|
595
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
|
|
596
|
+
<div class="tsd-comment tsd-typography"><p>The name of the agent</p>
|
|
597
|
+
</div></li></ul></div>
|
|
598
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of transient artifacts readable by the agent</p>
|
|
599
|
+
<aside class="tsd-sources">
|
|
600
|
+
<ul>
|
|
601
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1635">server/src/room/room.ts:1635</a></li></ul></aside></div></li></ul></section>
|
|
602
|
+
<section class="tsd-panel tsd-member">
|
|
603
|
+
<h3 class="tsd-anchor-link" id="getturnmode"><span>get<wbr/>Turn<wbr/>Mode</span><a href="#getturnmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
604
|
+
<ul class="tsd-signatures">
|
|
605
|
+
<li class="">
|
|
606
|
+
<div class="tsd-signature tsd-anchor-link" id="getturnmode-1"><span class="tsd-kind-call-signature">getTurnMode</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a><a href="#getturnmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
607
|
+
<div class="tsd-description">
|
|
608
|
+
<h4 class="tsd-returns-title">Returns <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a></h4><aside class="tsd-sources">
|
|
609
|
+
<ul>
|
|
610
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L261">server/src/room/room.ts:261</a></li></ul></aside></div></li></ul></section>
|
|
611
|
+
<section class="tsd-panel tsd-member">
|
|
612
|
+
<h3 class="tsd-anchor-link" id="getvisibleartifacts"><span>get<wbr/>Visible<wbr/>Artifacts</span><a href="#getvisibleartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
613
|
+
<ul class="tsd-signatures">
|
|
614
|
+
<li class="">
|
|
615
|
+
<div class="tsd-signature tsd-anchor-link" id="getvisibleartifacts-1"><span class="tsd-kind-call-signature">getVisibleArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><a href="#getvisibleartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
616
|
+
<div class="tsd-description">
|
|
617
|
+
<div class="tsd-comment tsd-typography"><p>Gets the artifacts rendered into an agent's <strong>cached</strong> prompt block.</p>
|
|
130
618
|
<p>Transient artifacts are deliberately excluded: they go in the per-turn
|
|
131
619
|
prompt instead (see <code>buildTransientPrompt</code>), which is the whole point of
|
|
132
620
|
marking one transient. They are still readable — <code>getTransientArtifacts</code>
|
|
133
621
|
returns them, and a tool reads any artifact regardless.</p>
|
|
134
|
-
</div
|
|
135
|
-
|
|
136
|
-
<
|
|
137
|
-
|
|
622
|
+
</div>
|
|
623
|
+
<div class="tsd-parameters">
|
|
624
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
625
|
+
<ul class="tsd-parameter-list">
|
|
626
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
|
|
627
|
+
<div class="tsd-comment tsd-typography"><p>The name of the agent</p>
|
|
628
|
+
</div></li></ul></div>
|
|
629
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></h4><p>Array of artifacts visible to the agent</p>
|
|
630
|
+
<aside class="tsd-sources">
|
|
631
|
+
<ul>
|
|
632
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1626">server/src/room/room.ts:1626</a></li></ul></aside></div></li></ul></section>
|
|
633
|
+
<section class="tsd-panel tsd-member">
|
|
634
|
+
<h3 class="tsd-anchor-link" id="handleadjournmessages"><span>handle<wbr/>Adjourn<wbr/>Messages</span><a href="#handleadjournmessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
635
|
+
<ul class="tsd-signatures">
|
|
636
|
+
<li class="">
|
|
637
|
+
<div class="tsd-signature tsd-anchor-link" id="handleadjournmessages-1"><span class="tsd-kind-call-signature">handleAdjournMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handleadjournmessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
638
|
+
<div class="tsd-description">
|
|
639
|
+
<div class="tsd-parameters">
|
|
640
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
641
|
+
<ul class="tsd-parameter-list">
|
|
642
|
+
<li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
|
|
643
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
644
|
+
<ul>
|
|
645
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1959">server/src/room/room.ts:1959</a></li></ul></aside></div></li></ul></section>
|
|
646
|
+
<section class="tsd-panel tsd-member">
|
|
647
|
+
<h3 class="tsd-anchor-link" id="handlepublishmessages"><span>handle<wbr/>Publish<wbr/>Messages</span><a href="#handlepublishmessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
648
|
+
<ul class="tsd-signatures">
|
|
649
|
+
<li class="">
|
|
650
|
+
<div class="tsd-signature tsd-anchor-link" id="handlepublishmessages-1"><span class="tsd-kind-call-signature">handlePublishMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#handlepublishmessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
651
|
+
<div class="tsd-description">
|
|
652
|
+
<div class="tsd-parameters">
|
|
653
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
654
|
+
<ul class="tsd-parameter-list">
|
|
655
|
+
<li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
|
|
656
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
657
|
+
<ul>
|
|
658
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1946">server/src/room/room.ts:1946</a></li></ul></aside></div></li></ul></section>
|
|
659
|
+
<section class="tsd-panel tsd-member">
|
|
660
|
+
<h3 class="tsd-anchor-link" id="interrupt"><span>interrupt</span><a href="#interrupt" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
661
|
+
<ul class="tsd-signatures">
|
|
662
|
+
<li class="">
|
|
663
|
+
<div class="tsd-signature tsd-anchor-link" id="interrupt-1"><span class="tsd-kind-call-signature">interrupt</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#interrupt-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
664
|
+
<div class="tsd-description">
|
|
665
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
666
|
+
<ul>
|
|
667
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2171">server/src/room/room.ts:2171</a></li></ul></aside></div></li></ul></section>
|
|
668
|
+
<section class="tsd-panel tsd-member">
|
|
669
|
+
<h3 class="tsd-anchor-link" id="isagentsturn"><span>is<wbr/>Agents<wbr/>Turn</span><a href="#isagentsturn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
670
|
+
<ul class="tsd-signatures">
|
|
671
|
+
<li class="">
|
|
672
|
+
<div class="tsd-signature tsd-anchor-link" id="isagentsturn-1"><span class="tsd-kind-call-signature">isAgentsTurn</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isagentsturn-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
673
|
+
<div class="tsd-description">
|
|
674
|
+
<div class="tsd-parameters">
|
|
675
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
676
|
+
<ul class="tsd-parameter-list">
|
|
677
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
678
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
679
|
+
<ul>
|
|
680
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L314">server/src/room/room.ts:314</a></li></ul></aside></div></li></ul></section>
|
|
681
|
+
<section class="tsd-panel tsd-member">
|
|
682
|
+
<h3 class="tsd-anchor-link" id="ishumannickname"><span>is<wbr/>Human<wbr/>Nickname</span><a href="#ishumannickname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
683
|
+
<ul class="tsd-signatures">
|
|
684
|
+
<li class="">
|
|
685
|
+
<div class="tsd-signature tsd-anchor-link" id="ishumannickname-1"><span class="tsd-kind-call-signature">isHumanNickname</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#ishumannickname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
686
|
+
<div class="tsd-description">
|
|
687
|
+
<div class="tsd-comment tsd-typography"><p>True when <code>nickname</code> names a human-controlled agent in this room.</p>
|
|
688
|
+
</div>
|
|
689
|
+
<div class="tsd-parameters">
|
|
690
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
691
|
+
<ul class="tsd-parameter-list">
|
|
692
|
+
<li><span><span class="tsd-kind-parameter">nickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
693
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
694
|
+
<ul>
|
|
695
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1797">server/src/room/room.ts:1797</a></li></ul></aside></div></li></ul></section>
|
|
696
|
+
<section class="tsd-panel tsd-member">
|
|
697
|
+
<h3 class="tsd-anchor-link" id="isplayeraside"><span>is<wbr/>Player<wbr/>Aside</span><a href="#isplayeraside" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
698
|
+
<ul class="tsd-signatures">
|
|
699
|
+
<li class="">
|
|
700
|
+
<div class="tsd-signature tsd-anchor-link" id="isplayeraside-1"><span class="tsd-kind-call-signature">isPlayerAside</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isplayeraside-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
701
|
+
<div class="tsd-description">
|
|
702
|
+
<div class="tsd-comment tsd-typography"><p>True when a message is the players talking among themselves: a whisper whose
|
|
138
703
|
every target is a human-controlled agent.</p>
|
|
139
704
|
<p>Such a message cannot reach the game. <code>canHear</code> restricts a whisper to its
|
|
140
705
|
targets, so no AI agent hears it; every target is human, so no agent is
|
|
@@ -142,59 +707,607 @@ prompted and nothing is spent. That is what lets the room take one <strong>out o
|
|
|
142
707
|
turn</strong> and leave the floor untouched — the players get to chat across the
|
|
143
708
|
table while an agent is mid-turn, and it still shows up in the transcript for
|
|
144
709
|
everyone at the table to read.</p>
|
|
145
|
-
</div
|
|
146
|
-
|
|
147
|
-
<
|
|
710
|
+
</div>
|
|
711
|
+
<div class="tsd-parameters">
|
|
712
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
713
|
+
<ul class="tsd-parameter-list">
|
|
714
|
+
<li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li></ul></div>
|
|
715
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
716
|
+
<ul>
|
|
717
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1812">server/src/room/room.ts:1812</a></li></ul></aside></div></li></ul></section>
|
|
718
|
+
<section class="tsd-panel tsd-member">
|
|
719
|
+
<h3 class="tsd-anchor-link" id="isprocessinginprogress"><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span><a href="#isprocessinginprogress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
720
|
+
<ul class="tsd-signatures">
|
|
721
|
+
<li class="">
|
|
722
|
+
<div class="tsd-signature tsd-anchor-link" id="isprocessinginprogress-1"><span class="tsd-kind-call-signature">isProcessingInProgress</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isprocessinginprogress-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
723
|
+
<div class="tsd-description">
|
|
724
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
725
|
+
<ul>
|
|
726
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2118">server/src/room/room.ts:2118</a></li></ul></aside></div></li></ul></section>
|
|
727
|
+
<section class="tsd-panel tsd-member">
|
|
728
|
+
<h3 class="tsd-anchor-link" id="isroomadjourned"><span>is<wbr/>Room<wbr/>Adjourned</span><a href="#isroomadjourned" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
729
|
+
<ul class="tsd-signatures">
|
|
730
|
+
<li class="">
|
|
731
|
+
<div class="tsd-signature tsd-anchor-link" id="isroomadjourned-1"><span class="tsd-kind-call-signature">isRoomAdjourned</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#isroomadjourned-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
732
|
+
<div class="tsd-description">
|
|
733
|
+
<div class="tsd-comment tsd-typography"><p>Checks if the room is currently adjourned</p>
|
|
734
|
+
</div>
|
|
735
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the room is adjourned, false otherwise</p>
|
|
736
|
+
<aside class="tsd-sources">
|
|
737
|
+
<ul>
|
|
738
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L434">server/src/room/room.ts:434</a></li></ul></aside></div></li></ul></section>
|
|
739
|
+
<section class="tsd-panel tsd-member">
|
|
740
|
+
<h3 class="tsd-anchor-link" id="iswaitingforhuman"><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span><a href="#iswaitingforhuman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
741
|
+
<ul class="tsd-signatures">
|
|
742
|
+
<li class="">
|
|
743
|
+
<div class="tsd-signature tsd-anchor-link" id="iswaitingforhuman-1"><span class="tsd-kind-call-signature">isWaitingForHuman</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#iswaitingforhuman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
744
|
+
<div class="tsd-description">
|
|
745
|
+
<div class="tsd-comment tsd-typography"><p>True when the room is idle pending input from the human-controlled agent.</p>
|
|
148
746
|
<p>This is distinct from <code>isProcessingInProgress()</code>: after an agent addresses
|
|
149
747
|
the human, the room intentionally leaves processing "in progress" while it
|
|
150
748
|
waits for the human's reply (the human's perceive never fires a response
|
|
151
749
|
callback). Hosts should use this flag — not <code>processingInProgress</code> — to
|
|
152
750
|
decide whether to show a typing indicator.</p>
|
|
153
|
-
</div
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
751
|
+
</div>
|
|
752
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
753
|
+
<ul>
|
|
754
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2131">server/src/room/room.ts:2131</a></li></ul></aside></div></li></ul></section>
|
|
755
|
+
<section class="tsd-panel tsd-member">
|
|
756
|
+
<h3 class="tsd-anchor-link" id="moderate"><span>moderate</span><a href="#moderate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
757
|
+
<ul class="tsd-signatures">
|
|
758
|
+
<li class="">
|
|
759
|
+
<div class="tsd-signature tsd-anchor-link" id="moderate-1"><span class="tsd-kind-call-signature">moderate</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">moderatorAgent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">onResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#moderate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
760
|
+
<div class="tsd-description">
|
|
761
|
+
<div class="tsd-comment tsd-typography"><p>Moderator agent evaluates and routes a message (moved from Agent)</p>
|
|
762
|
+
</div>
|
|
763
|
+
<div class="tsd-parameters">
|
|
764
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
765
|
+
<ul class="tsd-parameter-list">
|
|
766
|
+
<li><span><span class="tsd-kind-parameter">moderatorAgent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
|
|
767
|
+
<div class="tsd-comment tsd-typography"><p>The moderator agent</p>
|
|
768
|
+
</div></li>
|
|
769
|
+
<li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span>
|
|
770
|
+
<div class="tsd-comment tsd-typography"><p>RoomMessage to moderate</p>
|
|
771
|
+
</div></li>
|
|
772
|
+
<li><span><span class="tsd-kind-parameter">onResponse</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span>
|
|
773
|
+
<div class="tsd-comment tsd-typography"><p>Callback with routing decision</p>
|
|
774
|
+
</div></li></ul></div>
|
|
775
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
776
|
+
<ul>
|
|
777
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1390">server/src/room/room.ts:1390</a></li></ul></aside></div></li></ul></section>
|
|
778
|
+
<section class="tsd-panel tsd-member">
|
|
779
|
+
<h3 class="tsd-anchor-link" id="notifystatechange"><span>notify<wbr/>State<wbr/>Change</span><a href="#notifystatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
780
|
+
<ul class="tsd-signatures">
|
|
781
|
+
<li class="">
|
|
782
|
+
<div class="tsd-signature tsd-anchor-link" id="notifystatechange-1"><span class="tsd-kind-call-signature">notifyStateChange</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#notifystatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
783
|
+
<div class="tsd-description">
|
|
784
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
785
|
+
<ul>
|
|
786
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1728">server/src/room/room.ts:1728</a></li></ul></aside></div></li></ul></section>
|
|
787
|
+
<section class="tsd-panel tsd-member">
|
|
788
|
+
<h3 class="tsd-anchor-link" id="pause"><span>pause</span><a href="#pause" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
789
|
+
<ul class="tsd-signatures">
|
|
790
|
+
<li class="">
|
|
791
|
+
<div class="tsd-signature tsd-anchor-link" id="pause-1"><span class="tsd-kind-call-signature">pause</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#pause-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
792
|
+
<div class="tsd-description">
|
|
793
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
794
|
+
<ul>
|
|
795
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2148">server/src/room/room.ts:2148</a></li></ul></aside></div></li></ul></section>
|
|
796
|
+
<section class="tsd-panel tsd-member">
|
|
797
|
+
<h3 class="tsd-anchor-link" id="perceive"><span>perceive</span><a href="#perceive" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
798
|
+
<ul class="tsd-signatures">
|
|
799
|
+
<li class="">
|
|
800
|
+
<div class="tsd-signature tsd-anchor-link" id="perceive-1"><span class="tsd-kind-call-signature">perceive</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">agent</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">onResponse</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#perceive-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
801
|
+
<div class="tsd-description">
|
|
802
|
+
<div class="tsd-comment tsd-typography"><p>Allows an agent to perceive messages and generate a response (moved from Agent)</p>
|
|
803
|
+
</div>
|
|
804
|
+
<div class="tsd-parameters">
|
|
805
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
806
|
+
<ul class="tsd-parameter-list">
|
|
807
|
+
<li><span><span class="tsd-kind-parameter">agent</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a></span>
|
|
808
|
+
<div class="tsd-comment tsd-typography"><p>The agent that is perceiving</p>
|
|
809
|
+
</div></li>
|
|
810
|
+
<li><span><span class="tsd-kind-parameter">message</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a></span></li>
|
|
811
|
+
<li><span><span class="tsd-kind-parameter">onResponse</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span>
|
|
812
|
+
<div class="tsd-comment tsd-typography"><p>Callback with agent's response or null</p>
|
|
813
|
+
</div></li></ul></div>
|
|
814
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
815
|
+
<ul>
|
|
816
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1358">server/src/room/room.ts:1358</a></li></ul></aside></div></li></ul></section>
|
|
817
|
+
<section class="tsd-panel tsd-member">
|
|
818
|
+
<h3 class="tsd-anchor-link" id="publishartifact"><span>publish<wbr/>Artifact</span><a href="#publishartifact" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
819
|
+
<ul class="tsd-signatures">
|
|
820
|
+
<li class="">
|
|
821
|
+
<div class="tsd-signature tsd-anchor-link" id="publishartifact-1"><span class="tsd-kind-call-signature">publishArtifact</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">creator</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">body</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">viewers</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">transient</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><a href="#publishartifact-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
822
|
+
<div class="tsd-description">
|
|
823
|
+
<div class="tsd-comment tsd-typography"><p>Creates or updates an artifact with PUBLISH action
|
|
161
824
|
If body is empty, deletes the artifact instead</p>
|
|
162
|
-
</div
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
<
|
|
168
|
-
</div
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
</div></li
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</div></li
|
|
175
|
-
|
|
176
|
-
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L416">server/src/room/room.ts:416</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setbaseroomdir"><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span><a href="#setbaseroomdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setbaseroomdir-1"><span class="tsd-kind-call-signature">setBaseRoomDir</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setbaseroomdir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">dir</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L157">server/src/room/room.ts:157</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setcreatedat"><span>set<wbr/>Created<wbr/>At</span><a href="#setcreatedat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setcreatedat-1"><span class="tsd-kind-call-signature">setCreatedAt</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">date</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcreatedat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">date</span>: <span class="tsd-signature-type">Date</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L392">server/src/room/room.ts:392</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setcurrentspeaker"><span>set<wbr/>Current<wbr/>Speaker</span><a href="#setcurrentspeaker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setcurrentspeaker-1"><span class="tsd-kind-call-signature">setCurrentSpeaker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcurrentspeaker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L282">server/src/room/room.ts:282</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setgoal"><span>set<wbr/>Goal</span><a href="#setgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setgoal-1"><span class="tsd-kind-call-signature">setGoal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L149">server/src/room/room.ts:149</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setid"><span>set<wbr/>Id</span><a href="#setid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setid-1"><span class="tsd-kind-call-signature">setId</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L1601">server/src/room/room.ts:1601</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setloading"><span>set<wbr/>Loading</span><a href="#setloading" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setloading-1"><span class="tsd-kind-call-signature">setLoading</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isLoading</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setloading-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">isLoading</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L133">server/src/room/room.ts:133</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="setmoderator"><span>set<wbr/>Moderator</span><a href="#setmoderator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link" id="setmoderator-1"><span class="tsd-kind-call-signature">setModerator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setmoderator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Names the agent that places messages the room cannot route mechanically.</p>
|
|
177
|
-
</div
|
|
178
|
-
|
|
825
|
+
</div>
|
|
826
|
+
<div class="tsd-parameters">
|
|
827
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
828
|
+
<ul class="tsd-parameter-list">
|
|
829
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span>
|
|
830
|
+
<div class="tsd-comment tsd-typography"><p>The name of the artifact</p>
|
|
831
|
+
</div></li>
|
|
832
|
+
<li><span><span class="tsd-kind-parameter">creator</span>: <span class="tsd-signature-type">string</span></span>
|
|
833
|
+
<div class="tsd-comment tsd-typography"><p>The name of the agent who created it</p>
|
|
834
|
+
</div></li>
|
|
835
|
+
<li><span><span class="tsd-kind-parameter">body</span>: <span class="tsd-signature-type">string</span></span>
|
|
836
|
+
<div class="tsd-comment tsd-typography"><p>The content of the artifact (empty body will delete the artifact)</p>
|
|
837
|
+
</div></li>
|
|
838
|
+
<li><span><span class="tsd-kind-parameter">viewers</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></span>
|
|
839
|
+
<div class="tsd-comment tsd-typography"><p>Array of agent names who can view the artifact</p>
|
|
840
|
+
</div></li>
|
|
841
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">transient</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
842
|
+
<h4 class="tsd-returns-title">Returns <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a></h4><p>The created or updated artifact, or null if deleted</p>
|
|
843
|
+
<aside class="tsd-sources">
|
|
844
|
+
<ul>
|
|
845
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1527">server/src/room/room.ts:1527</a></li></ul></aside></div></li></ul></section>
|
|
846
|
+
<section class="tsd-panel tsd-member">
|
|
847
|
+
<h3 class="tsd-anchor-link" id="ready"><span>ready</span><a href="#ready" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
848
|
+
<ul class="tsd-signatures">
|
|
849
|
+
<li class="">
|
|
850
|
+
<div class="tsd-signature tsd-anchor-link" id="ready-1"><span class="tsd-kind-call-signature">ready</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#ready-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
851
|
+
<div class="tsd-description">
|
|
852
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
853
|
+
<ul>
|
|
854
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L291">server/src/room/room.ts:291</a></li></ul></aside></div></li></ul></section>
|
|
855
|
+
<section class="tsd-panel tsd-member">
|
|
856
|
+
<h3 class="tsd-anchor-link" id="removeonstatechange"><span>remove<wbr/>On<wbr/>State<wbr/>Change</span><a href="#removeonstatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
857
|
+
<ul class="tsd-signatures">
|
|
858
|
+
<li class="">
|
|
859
|
+
<div class="tsd-signature tsd-anchor-link" id="removeonstatechange-1"><span class="tsd-kind-call-signature">removeOnStateChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removeonstatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
860
|
+
<div class="tsd-description">
|
|
861
|
+
<div class="tsd-comment tsd-typography"><p>Removes a previously-registered state-change listener.</p>
|
|
862
|
+
</div>
|
|
863
|
+
<div class="tsd-parameters">
|
|
864
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
865
|
+
<ul class="tsd-parameter-list">
|
|
866
|
+
<li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
|
|
867
|
+
<div class="tsd-comment tsd-typography"><p>The key passed to <a href="#setonstatechange" class="tsd-kind-method">setOnStateChange</a></p>
|
|
868
|
+
</div></li></ul></div>
|
|
869
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
870
|
+
<ul>
|
|
871
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1724">server/src/room/room.ts:1724</a></li></ul></aside></div></li></ul></section>
|
|
872
|
+
<section class="tsd-panel tsd-member">
|
|
873
|
+
<h3 class="tsd-anchor-link" id="resume"><span>resume</span><a href="#resume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
874
|
+
<ul class="tsd-signatures">
|
|
875
|
+
<li class="">
|
|
876
|
+
<div class="tsd-signature tsd-anchor-link" id="resume-1"><span class="tsd-kind-call-signature">resume</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#resume-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
877
|
+
<div class="tsd-description">
|
|
878
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
879
|
+
<ul>
|
|
880
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L2161">server/src/room/room.ts:2161</a></li></ul></aside></div></li></ul></section>
|
|
881
|
+
<section class="tsd-panel tsd-member">
|
|
882
|
+
<h3 class="tsd-anchor-link" id="savemessages"><span>save<wbr/>Messages</span><a href="#savemessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
883
|
+
<ul class="tsd-signatures">
|
|
884
|
+
<li class="">
|
|
885
|
+
<div class="tsd-signature tsd-anchor-link" id="savemessages-1"><span class="tsd-kind-call-signature">saveMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#savemessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
886
|
+
<div class="tsd-description">
|
|
887
|
+
<div class="tsd-comment tsd-typography"><p>Saves messages incrementally to disk</p>
|
|
888
|
+
</div>
|
|
889
|
+
<div class="tsd-parameters">
|
|
890
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
891
|
+
<ul class="tsd-parameter-list">
|
|
892
|
+
<li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span>
|
|
893
|
+
<div class="tsd-comment tsd-typography"><p>The new messages to append</p>
|
|
894
|
+
</div></li></ul></div>
|
|
895
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
896
|
+
<ul>
|
|
897
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1679">server/src/room/room.ts:1679</a></li></ul></aside></div></li></ul></section>
|
|
898
|
+
<section class="tsd-panel tsd-member">
|
|
899
|
+
<h3 class="tsd-anchor-link" id="savemetadata"><span>save<wbr/>Metadata</span><a href="#savemetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
900
|
+
<ul class="tsd-signatures">
|
|
901
|
+
<li class="">
|
|
902
|
+
<div class="tsd-signature tsd-anchor-link" id="savemetadata-1"><span class="tsd-kind-call-signature">saveMetadata</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#savemetadata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
903
|
+
<div class="tsd-description">
|
|
904
|
+
<div class="tsd-comment tsd-typography"><p>Saves the room metadata to disk</p>
|
|
905
|
+
</div>
|
|
906
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
907
|
+
<ul>
|
|
908
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1693">server/src/room/room.ts:1693</a></li></ul></aside></div></li></ul></section>
|
|
909
|
+
<section class="tsd-panel tsd-member">
|
|
910
|
+
<h3 class="tsd-anchor-link" id="setagents"><span>set<wbr/>Agents</span><a href="#setagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
911
|
+
<ul class="tsd-signatures">
|
|
912
|
+
<li class="">
|
|
913
|
+
<div class="tsd-signature tsd-anchor-link" id="setagents-1"><span class="tsd-kind-call-signature">setAgents</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">newAgents</span><span class="tsd-signature-symbol">:</span> <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setagents-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
914
|
+
<div class="tsd-description">
|
|
915
|
+
<div class="tsd-comment tsd-typography"><p>Replaces all agents in the room with new agents</p>
|
|
916
|
+
</div>
|
|
917
|
+
<div class="tsd-parameters">
|
|
918
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
919
|
+
<ul class="tsd-parameter-list">
|
|
920
|
+
<li><span><span class="tsd-kind-parameter">newAgents</span>: <a href="Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></span>
|
|
921
|
+
<div class="tsd-comment tsd-typography"><p>Array of agents to set</p>
|
|
922
|
+
</div></li></ul></div>
|
|
923
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
924
|
+
<ul>
|
|
925
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L235">server/src/room/room.ts:235</a></li></ul></aside></div></li></ul></section>
|
|
926
|
+
<section class="tsd-panel tsd-member">
|
|
927
|
+
<h3 class="tsd-anchor-link" id="setartifacts"><span>set<wbr/>Artifacts</span><a href="#setartifacts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
928
|
+
<ul class="tsd-signatures">
|
|
929
|
+
<li class="">
|
|
930
|
+
<div class="tsd-signature tsd-anchor-link" id="setartifacts-1"><span class="tsd-kind-call-signature">setArtifacts</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">artifacts</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setartifacts-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
931
|
+
<div class="tsd-description">
|
|
932
|
+
<div class="tsd-comment tsd-typography"><p>Sets the room's artifacts (used when loading from storage)</p>
|
|
933
|
+
</div>
|
|
934
|
+
<div class="tsd-parameters">
|
|
935
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
936
|
+
<ul class="tsd-parameter-list">
|
|
937
|
+
<li><span><span class="tsd-kind-parameter">artifacts</span>: <a href="../interfaces/Artifact.html" class="tsd-signature-type tsd-kind-interface">Artifact</a><span class="tsd-signature-symbol">[]</span></span>
|
|
938
|
+
<div class="tsd-comment tsd-typography"><p>Array of artifacts to set</p>
|
|
939
|
+
</div></li></ul></div>
|
|
940
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
941
|
+
<ul>
|
|
942
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L442">server/src/room/room.ts:442</a></li></ul></aside></div></li></ul></section>
|
|
943
|
+
<section class="tsd-panel tsd-member">
|
|
944
|
+
<h3 class="tsd-anchor-link" id="setbaseroomdir"><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span><a href="#setbaseroomdir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
945
|
+
<ul class="tsd-signatures">
|
|
946
|
+
<li class="">
|
|
947
|
+
<div class="tsd-signature tsd-anchor-link" id="setbaseroomdir-1"><span class="tsd-kind-call-signature">setBaseRoomDir</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setbaseroomdir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
948
|
+
<div class="tsd-description">
|
|
949
|
+
<div class="tsd-parameters">
|
|
950
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
951
|
+
<ul class="tsd-parameter-list">
|
|
952
|
+
<li><span><span class="tsd-kind-parameter">dir</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
953
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
954
|
+
<ul>
|
|
955
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L161">server/src/room/room.ts:161</a></li></ul></aside></div></li></ul></section>
|
|
956
|
+
<section class="tsd-panel tsd-member">
|
|
957
|
+
<h3 class="tsd-anchor-link" id="setcreatedat"><span>set<wbr/>Created<wbr/>At</span><a href="#setcreatedat" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
958
|
+
<ul class="tsd-signatures">
|
|
959
|
+
<li class="">
|
|
960
|
+
<div class="tsd-signature tsd-anchor-link" id="setcreatedat-1"><span class="tsd-kind-call-signature">setCreatedAt</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">date</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Date</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcreatedat-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
961
|
+
<div class="tsd-description">
|
|
962
|
+
<div class="tsd-parameters">
|
|
963
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
964
|
+
<ul class="tsd-parameter-list">
|
|
965
|
+
<li><span><span class="tsd-kind-parameter">date</span>: <span class="tsd-signature-type">Date</span></span></li></ul></div>
|
|
966
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
967
|
+
<ul>
|
|
968
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L418">server/src/room/room.ts:418</a></li></ul></aside></div></li></ul></section>
|
|
969
|
+
<section class="tsd-panel tsd-member">
|
|
970
|
+
<h3 class="tsd-anchor-link" id="setcurrentspeaker"><span>set<wbr/>Current<wbr/>Speaker</span><a href="#setcurrentspeaker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
971
|
+
<ul class="tsd-signatures">
|
|
972
|
+
<li class="">
|
|
973
|
+
<div class="tsd-signature tsd-anchor-link" id="setcurrentspeaker-1"><span class="tsd-kind-call-signature">setCurrentSpeaker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setcurrentspeaker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
974
|
+
<div class="tsd-description">
|
|
975
|
+
<div class="tsd-parameters">
|
|
976
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
977
|
+
<ul class="tsd-parameter-list">
|
|
978
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
979
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
980
|
+
<ul>
|
|
981
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L308">server/src/room/room.ts:308</a></li></ul></aside></div></li></ul></section>
|
|
982
|
+
<section class="tsd-panel tsd-member">
|
|
983
|
+
<h3 class="tsd-anchor-link" id="setgoal"><span>set<wbr/>Goal</span><a href="#setgoal" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
984
|
+
<ul class="tsd-signatures">
|
|
985
|
+
<li class="">
|
|
986
|
+
<div class="tsd-signature tsd-anchor-link" id="setgoal-1"><span class="tsd-kind-call-signature">setGoal</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">goal</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setgoal-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
987
|
+
<div class="tsd-description">
|
|
988
|
+
<div class="tsd-parameters">
|
|
989
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
990
|
+
<ul class="tsd-parameter-list">
|
|
991
|
+
<li><span><span class="tsd-kind-parameter">goal</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
992
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
993
|
+
<ul>
|
|
994
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L153">server/src/room/room.ts:153</a></li></ul></aside></div></li></ul></section>
|
|
995
|
+
<section class="tsd-panel tsd-member">
|
|
996
|
+
<h3 class="tsd-anchor-link" id="setid"><span>set<wbr/>Id</span><a href="#setid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
997
|
+
<ul class="tsd-signatures">
|
|
998
|
+
<li class="">
|
|
999
|
+
<div class="tsd-signature tsd-anchor-link" id="setid-1"><span class="tsd-kind-call-signature">setId</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1000
|
+
<div class="tsd-description">
|
|
1001
|
+
<div class="tsd-parameters">
|
|
1002
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1003
|
+
<ul class="tsd-parameter-list">
|
|
1004
|
+
<li><span><span class="tsd-kind-parameter">id</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1005
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1006
|
+
<ul>
|
|
1007
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1643">server/src/room/room.ts:1643</a></li></ul></aside></div></li></ul></section>
|
|
1008
|
+
<section class="tsd-panel tsd-member">
|
|
1009
|
+
<h3 class="tsd-anchor-link" id="setloading"><span>set<wbr/>Loading</span><a href="#setloading" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1010
|
+
<ul class="tsd-signatures">
|
|
1011
|
+
<li class="">
|
|
1012
|
+
<div class="tsd-signature tsd-anchor-link" id="setloading-1"><span class="tsd-kind-call-signature">setLoading</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isLoading</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setloading-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1013
|
+
<div class="tsd-description">
|
|
1014
|
+
<div class="tsd-parameters">
|
|
1015
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1016
|
+
<ul class="tsd-parameter-list">
|
|
1017
|
+
<li><span><span class="tsd-kind-parameter">isLoading</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
1018
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1019
|
+
<ul>
|
|
1020
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L137">server/src/room/room.ts:137</a></li></ul></aside></div></li></ul></section>
|
|
1021
|
+
<section class="tsd-panel tsd-member">
|
|
1022
|
+
<h3 class="tsd-anchor-link" id="setmoderator"><span>set<wbr/>Moderator</span><a href="#setmoderator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1023
|
+
<ul class="tsd-signatures">
|
|
1024
|
+
<li class="">
|
|
1025
|
+
<div class="tsd-signature tsd-anchor-link" id="setmoderator-1"><span class="tsd-kind-call-signature">setModerator</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setmoderator-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1026
|
+
<div class="tsd-description">
|
|
1027
|
+
<div class="tsd-comment tsd-typography"><p>Names the agent that places messages the room cannot route mechanically.</p>
|
|
1028
|
+
</div>
|
|
1029
|
+
<div class="tsd-parameters">
|
|
1030
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1031
|
+
<ul class="tsd-parameter-list">
|
|
1032
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span>
|
|
1033
|
+
<div class="tsd-comment tsd-typography"><p>The moderator's nickname; empty clears it</p>
|
|
1034
|
+
</div></li></ul></div>
|
|
1035
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1036
|
+
<ul>
|
|
1037
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L282">server/src/room/room.ts:282</a></li></ul></aside></div></li></ul></section>
|
|
1038
|
+
<section class="tsd-panel tsd-member">
|
|
1039
|
+
<h3 class="tsd-anchor-link" id="setname"><span>set<wbr/>Name</span><a href="#setname" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1040
|
+
<ul class="tsd-signatures">
|
|
1041
|
+
<li class="">
|
|
1042
|
+
<div class="tsd-signature tsd-anchor-link" id="setname-1"><span class="tsd-kind-call-signature">setName</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setname-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1043
|
+
<div class="tsd-description">
|
|
1044
|
+
<div class="tsd-parameters">
|
|
1045
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1046
|
+
<ul class="tsd-parameter-list">
|
|
1047
|
+
<li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1048
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1049
|
+
<ul>
|
|
1050
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L145">server/src/room/room.ts:145</a></li></ul></aside></div></li></ul></section>
|
|
1051
|
+
<section class="tsd-panel tsd-member">
|
|
1052
|
+
<h3 class="tsd-anchor-link" id="setonerror"><span>set<wbr/>On<wbr/>Error</span><a href="#setonerror" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1053
|
+
<ul class="tsd-signatures">
|
|
1054
|
+
<li class="">
|
|
1055
|
+
<div class="tsd-signature tsd-anchor-link" id="setonerror-1"><span class="tsd-kind-call-signature">setOnError</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonerror-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1056
|
+
<div class="tsd-description">
|
|
1057
|
+
<div class="tsd-comment tsd-typography"><p>Subscribes to errors raised while running a turn.</p>
|
|
179
1058
|
<p>Keyed like <a href="#setonstatechange" class="tsd-kind-method">setOnStateChange</a>, and for the same reason: more than one
|
|
180
1059
|
thing wants to hear about a failed turn. A single-callback setter meant the
|
|
181
1060
|
last caller silently replaced the first — the SDK's bridge onto the room's
|
|
182
1061
|
update stream and a story's own handler could not both exist, and whichever
|
|
183
1062
|
registered second won without any sign that it had taken the other's place.</p>
|
|
184
|
-
</div
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
1063
|
+
</div>
|
|
1064
|
+
<div class="tsd-parameters">
|
|
1065
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1066
|
+
<ul class="tsd-parameter-list">
|
|
1067
|
+
<li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
|
|
1068
|
+
<div class="tsd-comment tsd-typography"><p>Identifies the subscriber; registering the same key twice replaces it</p>
|
|
1069
|
+
</div></li>
|
|
1070
|
+
<li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span>
|
|
1071
|
+
<div class="tsd-comment tsd-typography"><p>Function to call on errors</p>
|
|
1072
|
+
</div></li></ul></div>
|
|
1073
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1074
|
+
<ul>
|
|
1075
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1746">server/src/room/room.ts:1746</a></li></ul></aside></div></li></ul></section>
|
|
1076
|
+
<section class="tsd-panel tsd-member">
|
|
1077
|
+
<h3 class="tsd-anchor-link" id="setonmoderatorresponse"><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span><a href="#setonmoderatorresponse" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1078
|
+
<ul class="tsd-signatures">
|
|
1079
|
+
<li class="">
|
|
1080
|
+
<div class="tsd-signature tsd-anchor-link" id="setonmoderatorresponse-1"><span class="tsd-kind-call-signature">setOnModeratorResponse</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonmoderatorresponse-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1081
|
+
<div class="tsd-description">
|
|
1082
|
+
<div class="tsd-parameters">
|
|
1083
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1084
|
+
<ul class="tsd-parameter-list">
|
|
1085
|
+
<li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span></li></ul></div>
|
|
1086
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1087
|
+
<ul>
|
|
1088
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1923">server/src/room/room.ts:1923</a></li></ul></aside></div></li></ul></section>
|
|
1089
|
+
<section class="tsd-panel tsd-member">
|
|
1090
|
+
<h3 class="tsd-anchor-link" id="setonsituationupdate"><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span><a href="#setonsituationupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1091
|
+
<ul class="tsd-signatures">
|
|
1092
|
+
<li class="">
|
|
1093
|
+
<div class="tsd-signature tsd-anchor-link" id="setonsituationupdate-1"><span class="tsd-kind-call-signature">setOnSituationUpdate</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">messageBody</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonsituationupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1094
|
+
<div class="tsd-description">
|
|
1095
|
+
<div class="tsd-comment tsd-typography"><p>Sets a callback to be invoked whenever situation changes</p>
|
|
1096
|
+
</div>
|
|
1097
|
+
<div class="tsd-parameters">
|
|
1098
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1099
|
+
<ul class="tsd-parameter-list">
|
|
1100
|
+
<li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">messageBody</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></span>
|
|
1101
|
+
<div class="tsd-comment tsd-typography"><p>Function to call with new situation</p>
|
|
1102
|
+
</div></li></ul></div>
|
|
1103
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1104
|
+
<ul>
|
|
1105
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1917">server/src/room/room.ts:1917</a></li></ul></aside></div></li></ul></section>
|
|
1106
|
+
<section class="tsd-panel tsd-member">
|
|
1107
|
+
<h3 class="tsd-anchor-link" id="setonstatechange"><span>set<wbr/>On<wbr/>State<wbr/>Change</span><a href="#setonstatechange" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1108
|
+
<ul class="tsd-signatures">
|
|
1109
|
+
<li class="">
|
|
1110
|
+
<div class="tsd-signature tsd-anchor-link" id="setonstatechange-1"><span class="tsd-kind-call-signature">setOnStateChange</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setonstatechange-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1111
|
+
<div class="tsd-description">
|
|
1112
|
+
<div class="tsd-comment tsd-typography"><p>Registers a state-change listener under a stable key. Each key holds at most
|
|
189
1113
|
one listener — re-registering with the same key replaces its callback.
|
|
190
1114
|
Different keys can coexist so multiple subsystems (e.g. the rooms SSE endpoint
|
|
191
1115
|
and the story service) both receive notifications without clobbering each other.</p>
|
|
192
|
-
</div
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</div></li
|
|
199
|
-
|
|
200
|
-
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/b15141677fa1585e84a2baa64f121684482dd309/server/src/room/room.ts#L243">server/src/room/room.ts:243</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#addpendingmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pending<wbr/>Message</span></a><a href="#addroommessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Message</span></a><a href="#addroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Messages</span></a><a href="#arrive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>arrive</span></a><a href="#checkagentnicknamematch"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span></a><a href="#clearonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>On<wbr/>Error</span></a><a href="#clearroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Room<wbr/>Messages</span></a><a href="#deleteartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Artifact</span></a><a href="#deleteroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Room</span></a><a href="#describeagentsinroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span></a><a href="#findartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Artifact</span></a><a href="#getagentcount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agent<wbr/>Count</span></a><a href="#getagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agents</span></a><a href="#getartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Artifacts</span></a><a href="#getbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#getcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Created<wbr/>At</span></a><a href="#getcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Speaker</span></a><a href="#getdefaulthumanagent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span></a><a href="#getgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Goal</span></a><a href="#gethumanagentbyname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span></a><a href="#gethumanagentname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span></a><a href="#gethumanagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agents</span></a><a href="#getid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Id</span></a><a href="#getispublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Is<wbr/>Published</span></a><a href="#getlatestroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span></a><a href="#getmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator</span></a><a href="#getmoderatoragent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator<wbr/>Agent</span></a><a href="#getname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a><a href="#getpaused"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Paused</span></a><a href="#getroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Leader</span></a><a href="#getroommessagestats"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span></a><a href="#getroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#getsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation</span></a><a href="#getsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation<wbr/>Time</span></a><a href="#getstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Storage<wbr/>Dir</span></a><a href="#gettemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#gettransientartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transient<wbr/>Artifacts</span></a><a href="#getturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Turn<wbr/>Mode</span></a><a href="#getvisibleartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Visible<wbr/>Artifacts</span></a><a href="#handleadjournmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Adjourn<wbr/>Messages</span></a><a href="#handlepublishmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Publish<wbr/>Messages</span></a><a href="#interrupt"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>interrupt</span></a><a href="#isagentsturn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Agents<wbr/>Turn</span></a><a href="#ishumannickname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Human<wbr/>Nickname</span></a><a href="#isplayeraside"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player<wbr/>Aside</span></a><a href="#isprocessinginprogress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span></a><a href="#isroomadjourned"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Room<wbr/>Adjourned</span></a><a href="#iswaitingforhuman"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span></a><a href="#moderate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moderate</span></a><a href="#notifystatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>notify<wbr/>State<wbr/>Change</span></a><a href="#pause"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#perceive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>perceive</span></a><a href="#publishartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>publish<wbr/>Artifact</span></a><a href="#ready"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#removeonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#resume"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resume</span></a><a href="#savemessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Messages</span></a><a href="#savemetadata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Metadata</span></a><a href="#setagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Agents</span></a><a href="#setartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Artifacts</span></a><a href="#setbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#setcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Created<wbr/>At</span></a><a href="#setcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Current<wbr/>Speaker</span></a><a href="#setgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Goal</span></a><a href="#setid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Id</span></a><a href="#setloading"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Loading</span></a><a href="#setmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Moderator</span></a><a href="#setname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Name</span></a><a href="#setonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Error</span></a><a href="#setonmoderatorresponse"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span></a><a href="#setonsituationupdate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span></a><a href="#setonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#setpublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Published</span></a><a href="#setroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Leader</span></a><a href="#setroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Messages</span></a><a href="#setroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#setsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation</span></a><a href="#setsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation<wbr/>Time</span></a><a href="#setstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Storage<wbr/>Dir</span></a><a href="#settemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#setturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Turn<wbr/>Mode</span></a></div></details></div></details></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v1.5.0</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
1116
|
+
</div>
|
|
1117
|
+
<div class="tsd-parameters">
|
|
1118
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1119
|
+
<ul class="tsd-parameter-list">
|
|
1120
|
+
<li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span>
|
|
1121
|
+
<div class="tsd-comment tsd-typography"><p>Stable identifier for the subsystem (e.g. 'app-service', 'story')</p>
|
|
1122
|
+
</div></li>
|
|
1123
|
+
<li><span><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span>
|
|
1124
|
+
<div class="tsd-comment tsd-typography"><p>Function to call on state changes</p>
|
|
1125
|
+
</div></li></ul></div>
|
|
1126
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1127
|
+
<ul>
|
|
1128
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1716">server/src/room/room.ts:1716</a></li></ul></aside></div></li></ul></section>
|
|
1129
|
+
<section class="tsd-panel tsd-member">
|
|
1130
|
+
<h3 class="tsd-anchor-link" id="setpack"><span>set<wbr/>Pack</span><a href="#setpack" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1131
|
+
<ul class="tsd-signatures">
|
|
1132
|
+
<li class="">
|
|
1133
|
+
<div class="tsd-signature tsd-anchor-link" id="setpack-1"><span class="tsd-kind-call-signature">setPack</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">pack</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpack-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1134
|
+
<div class="tsd-description">
|
|
1135
|
+
<div class="tsd-comment tsd-typography"><p>Files this room under a pack, or clears it.</p>
|
|
1136
|
+
</div>
|
|
1137
|
+
<div class="tsd-parameters">
|
|
1138
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1139
|
+
<ul class="tsd-parameter-list">
|
|
1140
|
+
<li><span><span class="tsd-kind-parameter">pack</span>: <span class="tsd-signature-type">string</span></span>
|
|
1141
|
+
<div class="tsd-comment tsd-typography"><p>The pack name; empty or undefined clears it</p>
|
|
1142
|
+
</div></li></ul></div>
|
|
1143
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1144
|
+
<ul>
|
|
1145
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L195">server/src/room/room.ts:195</a></li></ul></aside></div></li></ul></section>
|
|
1146
|
+
<section class="tsd-panel tsd-member">
|
|
1147
|
+
<h3 class="tsd-anchor-link" id="setpackroomkey"><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span><a href="#setpackroomkey" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1148
|
+
<ul class="tsd-signatures">
|
|
1149
|
+
<li class="">
|
|
1150
|
+
<div class="tsd-signature tsd-anchor-link" id="setpackroomkey-1"><span class="tsd-kind-call-signature">setPackRoomKey</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpackroomkey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1151
|
+
<div class="tsd-description">
|
|
1152
|
+
<div class="tsd-parameters">
|
|
1153
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1154
|
+
<ul class="tsd-parameter-list">
|
|
1155
|
+
<li><span><span class="tsd-kind-parameter">key</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1156
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1157
|
+
<ul>
|
|
1158
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L204">server/src/room/room.ts:204</a></li></ul></aside></div></li></ul></section>
|
|
1159
|
+
<section class="tsd-panel tsd-member">
|
|
1160
|
+
<h3 class="tsd-anchor-link" id="setpublished"><span>set<wbr/>Published</span><a href="#setpublished" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1161
|
+
<ul class="tsd-signatures">
|
|
1162
|
+
<li class="">
|
|
1163
|
+
<div class="tsd-signature tsd-anchor-link" id="setpublished-1"><span class="tsd-kind-call-signature">setPublished</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">published</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpublished-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1164
|
+
<div class="tsd-description">
|
|
1165
|
+
<div class="tsd-parameters">
|
|
1166
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1167
|
+
<ul class="tsd-parameter-list">
|
|
1168
|
+
<li><span><span class="tsd-kind-parameter">published</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
1169
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1170
|
+
<ul>
|
|
1171
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L169">server/src/room/room.ts:169</a></li></ul></aside></div></li></ul></section>
|
|
1172
|
+
<section class="tsd-panel tsd-member">
|
|
1173
|
+
<h3 class="tsd-anchor-link" id="setroomleader"><span>set<wbr/>Room<wbr/>Leader</span><a href="#setroomleader" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1174
|
+
<ul class="tsd-signatures">
|
|
1175
|
+
<li class="">
|
|
1176
|
+
<div class="tsd-signature tsd-anchor-link" id="setroomleader-1"><span class="tsd-kind-call-signature">setRoomLeader</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">agentNickname</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroomleader-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1177
|
+
<div class="tsd-description">
|
|
1178
|
+
<div class="tsd-parameters">
|
|
1179
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1180
|
+
<ul class="tsd-parameter-list">
|
|
1181
|
+
<li><span><span class="tsd-kind-parameter">agentNickname</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1182
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1183
|
+
<ul>
|
|
1184
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L246">server/src/room/room.ts:246</a></li></ul></aside></div></li></ul></section>
|
|
1185
|
+
<section class="tsd-panel tsd-member">
|
|
1186
|
+
<h3 class="tsd-anchor-link" id="setroommessages"><span>set<wbr/>Room<wbr/>Messages</span><a href="#setroommessages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1187
|
+
<ul class="tsd-signatures">
|
|
1188
|
+
<li class="">
|
|
1189
|
+
<div class="tsd-signature tsd-anchor-link" id="setroommessages-1"><span class="tsd-kind-call-signature">setRoomMessages</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">messages</span><span class="tsd-signature-symbol">:</span> <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroommessages-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1190
|
+
<div class="tsd-description">
|
|
1191
|
+
<div class="tsd-parameters">
|
|
1192
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1193
|
+
<ul class="tsd-parameter-list">
|
|
1194
|
+
<li><span><span class="tsd-kind-parameter">messages</span>: <a href="RoomMessage.html" class="tsd-signature-type tsd-kind-class">RoomMessage</a><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
|
|
1195
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1196
|
+
<ul>
|
|
1197
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L373">server/src/room/room.ts:373</a></li></ul></aside></div></li></ul></section>
|
|
1198
|
+
<section class="tsd-panel tsd-member">
|
|
1199
|
+
<h3 class="tsd-anchor-link" id="setroomstoreservice"><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span><a href="#setroomstoreservice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1200
|
+
<ul class="tsd-signatures">
|
|
1201
|
+
<li class="">
|
|
1202
|
+
<div class="tsd-signature tsd-anchor-link" id="setroomstoreservice-1"><span class="tsd-kind-call-signature">setRoomStoreService</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setroomstoreservice-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1203
|
+
<div class="tsd-description">
|
|
1204
|
+
<div class="tsd-parameters">
|
|
1205
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1206
|
+
<ul class="tsd-parameter-list">
|
|
1207
|
+
<li><span><span class="tsd-kind-parameter">service</span>: <span class="tsd-signature-type">any</span></span></li></ul></div>
|
|
1208
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1209
|
+
<ul>
|
|
1210
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1659">server/src/room/room.ts:1659</a></li></ul></aside></div></li></ul></section>
|
|
1211
|
+
<section class="tsd-panel tsd-member">
|
|
1212
|
+
<h3 class="tsd-anchor-link" id="setsituation"><span>set<wbr/>Situation</span><a href="#setsituation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1213
|
+
<ul class="tsd-signatures">
|
|
1214
|
+
<li class="">
|
|
1215
|
+
<div class="tsd-signature tsd-anchor-link" id="setsituation-1"><span class="tsd-kind-call-signature">setSituation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">situation</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setsituation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1216
|
+
<div class="tsd-description">
|
|
1217
|
+
<div class="tsd-comment tsd-typography"><p>Sets the current story situation</p>
|
|
1218
|
+
</div>
|
|
1219
|
+
<div class="tsd-parameters">
|
|
1220
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1221
|
+
<ul class="tsd-parameter-list">
|
|
1222
|
+
<li><span><span class="tsd-kind-parameter">situation</span>: <span class="tsd-signature-type">string</span></span>
|
|
1223
|
+
<div class="tsd-comment tsd-typography"><p>The situation string to set</p>
|
|
1224
|
+
</div></li></ul></div>
|
|
1225
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1226
|
+
<ul>
|
|
1227
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1909">server/src/room/room.ts:1909</a></li></ul></aside></div></li></ul></section>
|
|
1228
|
+
<section class="tsd-panel tsd-member">
|
|
1229
|
+
<h3 class="tsd-anchor-link" id="setsituationtime"><span>set<wbr/>Situation<wbr/>Time</span><a href="#setsituationtime" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1230
|
+
<ul class="tsd-signatures">
|
|
1231
|
+
<li class="">
|
|
1232
|
+
<div class="tsd-signature tsd-anchor-link" id="setsituationtime-1"><span class="tsd-kind-call-signature">setSituationTime</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">time</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setsituationtime-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1233
|
+
<div class="tsd-description">
|
|
1234
|
+
<div class="tsd-comment tsd-typography"><p>Sets the current in-story time (24-hour "HH:MM").</p>
|
|
1235
|
+
</div>
|
|
1236
|
+
<div class="tsd-parameters">
|
|
1237
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1238
|
+
<ul class="tsd-parameter-list">
|
|
1239
|
+
<li><span><span class="tsd-kind-parameter">time</span>: <span class="tsd-signature-type">string</span></span>
|
|
1240
|
+
<div class="tsd-comment tsd-typography"><p>The time string to set</p>
|
|
1241
|
+
</div></li></ul></div>
|
|
1242
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1243
|
+
<ul>
|
|
1244
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1882">server/src/room/room.ts:1882</a></li></ul></aside></div></li></ul></section>
|
|
1245
|
+
<section class="tsd-panel tsd-member">
|
|
1246
|
+
<h3 class="tsd-anchor-link" id="setstoragedir"><span>set<wbr/>Storage<wbr/>Dir</span><a href="#setstoragedir" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1247
|
+
<ul class="tsd-signatures">
|
|
1248
|
+
<li class="">
|
|
1249
|
+
<div class="tsd-signature tsd-anchor-link" id="setstoragedir-1"><span class="tsd-kind-call-signature">setStorageDir</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">dir</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setstoragedir-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1250
|
+
<div class="tsd-description">
|
|
1251
|
+
<div class="tsd-parameters">
|
|
1252
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1253
|
+
<ul class="tsd-parameter-list">
|
|
1254
|
+
<li><span><span class="tsd-kind-parameter">dir</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1255
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1256
|
+
<ul>
|
|
1257
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L1651">server/src/room/room.ts:1651</a></li></ul></aside></div></li></ul></section>
|
|
1258
|
+
<section class="tsd-panel tsd-member">
|
|
1259
|
+
<h3 class="tsd-anchor-link" id="settemplateroomid"><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span><a href="#settemplateroomid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1260
|
+
<ul class="tsd-signatures">
|
|
1261
|
+
<li class="">
|
|
1262
|
+
<div class="tsd-signature tsd-anchor-link" id="settemplateroomid-1"><span class="tsd-kind-call-signature">setTemplateRoomId</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">templateId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#settemplateroomid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1263
|
+
<div class="tsd-description">
|
|
1264
|
+
<div class="tsd-parameters">
|
|
1265
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1266
|
+
<ul class="tsd-parameter-list">
|
|
1267
|
+
<li><span><span class="tsd-kind-parameter">templateId</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
1268
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1269
|
+
<ul>
|
|
1270
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L182">server/src/room/room.ts:182</a></li></ul></aside></div></li></ul></section>
|
|
1271
|
+
<section class="tsd-panel tsd-member">
|
|
1272
|
+
<h3 class="tsd-anchor-link" id="setturnmode"><span>set<wbr/>Turn<wbr/>Mode</span><a href="#setturnmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
1273
|
+
<ul class="tsd-signatures">
|
|
1274
|
+
<li class="">
|
|
1275
|
+
<div class="tsd-signature tsd-anchor-link" id="setturnmode-1"><span class="tsd-kind-call-signature">setTurnMode</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">mode</span><span class="tsd-signature-symbol">:</span> <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setturnmode-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
1276
|
+
<div class="tsd-description">
|
|
1277
|
+
<div class="tsd-comment tsd-typography"><p>Sets how the room chooses who responds to a message. See <a href="../types/RoomTurnMode.html" class="tsd-kind-type-alias">RoomTurnMode</a>.</p>
|
|
1278
|
+
</div>
|
|
1279
|
+
<div class="tsd-parameters">
|
|
1280
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1281
|
+
<ul class="tsd-parameter-list">
|
|
1282
|
+
<li><span><span class="tsd-kind-parameter">mode</span>: <a href="../types/RoomTurnMode.html" class="tsd-signature-type tsd-kind-type-alias">RoomTurnMode</a></span>
|
|
1283
|
+
<div class="tsd-comment tsd-typography"><p>The turn mode; anything unrecognized falls back to 'broadcast'</p>
|
|
1284
|
+
</div></li></ul></div>
|
|
1285
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
1286
|
+
<ul>
|
|
1287
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/1a8dc08591eb0354e3644da7a14d27b30625ced5/server/src/room/room.ts#L269">server/src/room/room.ts:269</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
1288
|
+
<div class="col-sidebar">
|
|
1289
|
+
<div class="page-menu">
|
|
1290
|
+
<div class="tsd-navigation settings">
|
|
1291
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
1292
|
+
<h3>Settings</h3></summary>
|
|
1293
|
+
<div class="tsd-accordion-details">
|
|
1294
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
1295
|
+
<ul id="tsd-filter-options">
|
|
1296
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
1297
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
1298
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
1299
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
1300
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
1301
|
+
<h3>On This Page</h3></summary>
|
|
1302
|
+
<div class="tsd-accordion-details">
|
|
1303
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary>
|
|
1304
|
+
<div><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details>
|
|
1305
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary>
|
|
1306
|
+
<div><a href="#addpendingmessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Pending<wbr/>Message</span></a><a href="#addroommessage"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Message</span></a><a href="#addroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>Room<wbr/>Messages</span></a><a href="#arrive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>arrive</span></a><a href="#checkagentnicknamematch"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>check<wbr/>Agent<wbr/>Nickname<wbr/>Match</span></a><a href="#clearonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>On<wbr/>Error</span></a><a href="#clearroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Room<wbr/>Messages</span></a><a href="#deleteartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Artifact</span></a><a href="#deleteroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>delete<wbr/>Room</span></a><a href="#describeagentsinroom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>describe<wbr/>Agents<wbr/>In<wbr/>Room</span></a><a href="#findartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>find<wbr/>Artifact</span></a><a href="#getagentcount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agent<wbr/>Count</span></a><a href="#getagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Agents</span></a><a href="#getartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Artifacts</span></a><a href="#getbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#getcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Created<wbr/>At</span></a><a href="#getcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Speaker</span></a><a href="#getdefaulthumanagent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Default<wbr/>Human<wbr/>Agent</span></a><a href="#getgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Goal</span></a><a href="#gethumanagentbyname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>By<wbr/>Name</span></a><a href="#gethumanagentname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agent<wbr/>Name</span></a><a href="#gethumanagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Human<wbr/>Agents</span></a><a href="#getid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Id</span></a><a href="#getispublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Is<wbr/>Published</span></a><a href="#getlatestroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Latest<wbr/>Room<wbr/>Messages</span></a><a href="#getmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator</span></a><a href="#getmoderatoragent"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Moderator<wbr/>Agent</span></a><a href="#getname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Name</span></a><a href="#getpack"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack</span></a><a href="#getpackroomkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Pack<wbr/>Room<wbr/>Key</span></a><a href="#getpaused"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Paused</span></a><a href="#getroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Leader</span></a><a href="#getroommessagestats"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Message<wbr/>Stats</span></a><a href="#getroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#getsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation</span></a><a href="#getsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Situation<wbr/>Time</span></a><a href="#getstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Storage<wbr/>Dir</span></a><a href="#gettemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#gettransientartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Transient<wbr/>Artifacts</span></a><a href="#getturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Turn<wbr/>Mode</span></a><a href="#getvisibleartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Visible<wbr/>Artifacts</span></a><a href="#handleadjournmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Adjourn<wbr/>Messages</span></a><a href="#handlepublishmessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>handle<wbr/>Publish<wbr/>Messages</span></a><a href="#interrupt"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>interrupt</span></a><a href="#isagentsturn"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Agents<wbr/>Turn</span></a><a href="#ishumannickname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Human<wbr/>Nickname</span></a><a href="#isplayeraside"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Player<wbr/>Aside</span></a><a href="#isprocessinginprogress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Processing<wbr/>In<wbr/>Progress</span></a><a href="#isroomadjourned"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Room<wbr/>Adjourned</span></a><a href="#iswaitingforhuman"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Waiting<wbr/>For<wbr/>Human</span></a><a href="#moderate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>moderate</span></a><a href="#notifystatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>notify<wbr/>State<wbr/>Change</span></a><a href="#pause"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>pause</span></a><a href="#perceive"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>perceive</span></a><a href="#publishartifact"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>publish<wbr/>Artifact</span></a><a href="#ready"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ready</span></a><a href="#removeonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#resume"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>resume</span></a><a href="#savemessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Messages</span></a><a href="#savemetadata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>save<wbr/>Metadata</span></a><a href="#setagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Agents</span></a><a href="#setartifacts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Artifacts</span></a><a href="#setbaseroomdir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Base<wbr/>Room<wbr/>Dir</span></a><a href="#setcreatedat"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Created<wbr/>At</span></a><a href="#setcurrentspeaker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Current<wbr/>Speaker</span></a><a href="#setgoal"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Goal</span></a><a href="#setid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Id</span></a><a href="#setloading"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Loading</span></a><a href="#setmoderator"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Moderator</span></a><a href="#setname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Name</span></a><a href="#setonerror"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Error</span></a><a href="#setonmoderatorresponse"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Moderator<wbr/>Response</span></a><a href="#setonsituationupdate"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>Situation<wbr/>Update</span></a><a href="#setonstatechange"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>On<wbr/>State<wbr/>Change</span></a><a href="#setpack"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack</span></a><a href="#setpackroomkey"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Pack<wbr/>Room<wbr/>Key</span></a><a href="#setpublished"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Published</span></a><a href="#setroomleader"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Leader</span></a><a href="#setroommessages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Messages</span></a><a href="#setroomstoreservice"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Room<wbr/>Store<wbr/>Service</span></a><a href="#setsituation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation</span></a><a href="#setsituationtime"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Situation<wbr/>Time</span></a><a href="#setstoragedir"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Storage<wbr/>Dir</span></a><a href="#settemplateroomid"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Template<wbr/>Room<wbr/>Id</span></a><a href="#setturnmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>Turn<wbr/>Mode</span></a></div></details></div></details></div>
|
|
1307
|
+
<div class="site-menu">
|
|
1308
|
+
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
1309
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.1</a>
|
|
1310
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
1311
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
1312
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
1313
|
+
<div class="overlay"></div></body></html>
|