This commit is contained in:
2026-10-03 12:46:38 +07:00
parent c16c1ed5ac
commit 7a972ea960
45 changed files with 75 additions and 26 deletions
@@ -6,10 +6,10 @@ import (
"evening_detective_server/internal/modules/storytelling"
)
// Имя файла с описанием сценария внутри архива.
// FileName is the name of the scenario description inside an archive.
const FileName = "scenario.json"
// Текущая версия формата scenario.json.
// Version is the current scenario.json format version.
const Version = 1
// ScenarioJSON — описание сценария в архиве; Story — в формате колонки
@@ -30,6 +30,7 @@ type Scenario struct {
Story string
}
// Bundle contains an archived scenario and its metadata.
type Bundle struct {
Scenario *ScenarioJSON
Files map[string][]byte