文档文档
GitHubGitHub (opens in a new tab)
  • 介绍
  • 快速开始
  • 安装
  • 基础
    • 创建场景
    • 添加动作
    • 显示对话
    • 显示图片
    • 播放故事
    • 作出选择
    • 声音
    • 存储数据
    • 条件
    • 配音
    • 管理偏好
  • 解决方案
    • 自定义字体
    • 从 Ren'Py 迁移
  • 核心
    • 元素
      • 场景
      • 角色
        • 句子
        • 单词
        • 停顿
      • 图片
      • 声音
      • 选项
      • 脚本
      • 条件
      • 控制
      • 文本
      • 持久化
      • 故事
      • 可视组件
      • 图层
      • 服务
      • 视频
    • 动画
      • 变换
      • 过渡
        • 溶解
        • 淡入
    • 游戏
      • Game
      • GameState
      • LiveGame
      • Storable
        • Namespace
        • Preference
      • Hooks
    • 插件
      • ActionStatements
      • AlignPosition
      • IPosition
      • ITransition
      • ImageTransformProps
      • ImageConfig
      • ImageColor
      • ImageSrc
      • IImageUserConfig
      • ILayerUserConfig
      • ITextUserConfig
      • ISceneUserConfig
      • ISoundUserConfig
      • IStoryConfig
      • JumpConfig
      • Lambda
      • LambdaCtx
      • LambdaHandler
      • LiveGameEvent
      • LiveGameEventToken
      • SayComponent
      • SavedGame
      • SavedGameMetaData
      • SceneConfig
      • ScriptCtx
      • SentenceConfig
      • SentencePrompt
      • SentenceUserConfig
      • ServiceHandlerCtx
      • SoundConfig
      • SoundType
      • StorableData
      • CharacterConfig
      • CharacterMode
      • ChainedActions
      • Choice
      • Coord2DPosition
      • CommonDisplayable
      • CommonDisplayableConfig
      • CommonPositionType
      • CommonTransformProps
      • Components
      • ComponentsTypes
      • ConditionConfig
      • CustomEasingFunction
      • WordConfig
      • EasingDefinition
      • BezierDefinition
      • NotificationToken
      • MenuConfig
      • MenuChoice
      • GameConfig
      • GamePreference
      • GameHistory
      • GameHistoryAction
      • GameElementHistory
      • TextConfig
      • TransformDefinitions
      • TransformersMap
      • RawPosition
      • RichImageUserConfig
      • Origins
      • OffsetPosition
      • PauseConfig
      • PreferenceEventToken
      • FadeOptions
      • Awaitable
      • Background
      • Color
      • Font
      • Gamecontexttype
      • Menucomponent
      • Videoconfig
    • 实用工具
  • 播放器
    • 播放器
    • GameProviders
      • useGame
      • usePreference
      • useRouter
      • useDialog
    • 页面路由
      • 路由器
      • 页面
    • 对话框
    • 通知
    • 菜单
    • 许可
    • 不兼容的变更
Question? Give us feedback → (opens in a new tab)Edit this page
文档
核心
类型
Gamecontexttype

GameContextType

type GameContextType = Game;
  • Game
FontMenucomponent

Copyright © 2025 NarraLeaf. Licensed under the MPL-2.0 License. GitHub.