Skip to content

Window_Options ⇐ Window_Command

Kind: global class
Extends: Window_Command

  • Window_Options ⇐ Window_Command
    • new Window_Options()
    • .initialize()
    • .windowWidth() ⇒ number
    • .windowHeight() ⇒ number
    • .updatePlacement()
    • .makeCommandList()
    • .addGeneralOptions()
    • .addVolumeOptions()
    • .drawItem(index)
    • .statusWidth() ⇒ number
    • .statusText(index) ⇒ string
    • .isVolumeSymbol(symbol) ⇒ boolean
    • .booleanStatusText(value) ⇒ string
    • .volumeStatusText(value) ⇒ string
    • .processOk()
    • .cursorRight(wrap)
    • .cursorLeft(wrap)
    • .volumeOffset() ⇒ number
    • .changeValue(symbol, value)
    • .getConfigValue(symbol) ⇒ number | boolean
    • .setConfigValue(symbol, volume)

new Window_Options()

设置画面上的更改各种设置的窗口
The window for changing various settings on the options screen


window_Options.initialize()

初始化设置窗口
Initialize the options window

Kind: instance method of Window_Options


window_Options.windowWidth() ⇒ number

获取窗口宽度
Get window width

Kind: instance method of Window_Options
Returns: number - 窗口宽度 - Window width


window_Options.windowHeight() ⇒ number

获取窗口高度
Get window height

Kind: instance method of Window_Options
Returns: number - 窗口高度 - Window height


window_Options.updatePlacement()

更新窗口位置
Update window position

Kind: instance method of Window_Options


window_Options.makeCommandList()

制作指令列表
Make command list

Kind: instance method of Window_Options


window_Options.addGeneralOptions()

增加一般选项
Add general options

Kind: instance method of Window_Options


window_Options.addVolumeOptions()

增加音量选项
Add volume options

Kind: instance method of Window_Options


window_Options.drawItem(index)

绘制项目
Draw item

Kind: instance method of Window_Options

ParamTypeDescription
indexnumber项目索引 - Item index

window_Options.statusWidth() ⇒ number

获取状态宽度
Get status width

Kind: instance method of Window_Options
Returns: number - 状态宽度 - Status width


window_Options.statusText(index) ⇒ string

获取状态文本
Get status text

Kind: instance method of Window_Options
Returns: string - 状态文本 - Status text

ParamTypeDescription
indexnumber项目索引 - Item index

window_Options.isVolumeSymbol(symbol) ⇒ boolean

检查是否为音量标识
Check if symbol is volume symbol

Kind: instance method of Window_Options
Returns: boolean - 是否为音量标识 - Whether symbol is volume symbol

ParamTypeDescription
symbolstring符号 - Symbol

window_Options.booleanStatusText(value) ⇒ string

获取布尔值状态文本
Get boolean status text

Kind: instance method of Window_Options
Returns: string - 状态文本 - Status text

ParamTypeDescription
valueboolean布尔值 - Boolean value

window_Options.volumeStatusText(value) ⇒ string

获取音量状态文本
Get volume status text

Kind: instance method of Window_Options
Returns: string - 音量状态文本 - Volume status text

ParamTypeDescription
valuenumber音量值 - Volume value

window_Options.processOk()

处理确定操作
Process OK operation

Kind: instance method of Window_Options


window_Options.cursorRight(wrap)

光标向右移动
Move cursor right

Kind: instance method of Window_Options

ParamTypeDescription
wrapboolean是否循环 - Whether to wrap

window_Options.cursorLeft(wrap)

光标向左移动
Move cursor left

Kind: instance method of Window_Options

ParamTypeDescription
wrapboolean是否循环 - Whether to wrap

window_Options.volumeOffset() ⇒ number

获取音量偏移量
Get volume offset

Kind: instance method of Window_Options
Returns: number - 音量偏移量 - Volume offset


window_Options.changeValue(symbol, value)

改变配置值
Change configuration value

Kind: instance method of Window_Options

ParamTypeDescription
symbolstring配置符号 - Configuration symbol
valuenumber | boolean配置值 - Configuration value

window_Options.getConfigValue(symbol) ⇒ number | boolean

获取配置值
Get configuration value

Kind: instance method of Window_Options
Returns: number | boolean - 配置值 - Configuration value

ParamTypeDescription
symbolstring配置符号 - Configuration symbol

window_Options.setConfigValue(symbol, volume)

设置配置值
Set configuration value

Kind: instance method of Window_Options

ParamTypeDescription
symbolstring配置符号 - Configuration symbol
volumenumber | boolean配置值 - Configuration value

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史
最近更新