Skip to content

Game_CommonEvent

Kind: global class

  • Game_CommonEvent
    • new Game_CommonEvent()
    • .initialize(commonEventId)
    • .event() ⇒ object
    • .list() ⇒ Array
    • .refresh()
    • .isActive() ⇒ boolean
    • .update()

new Game_CommonEvent()

游戏公共事件类,管理公共事件的执行和状态
Game common event class that manages the execution and state of common events


Game_CommonEvent.initialize(commonEventId)

初始化公共事件
Initialize common event

Kind: static method of Game_CommonEvent

ParamTypeDescription
commonEventIdnumber公共事件 ID / Common event ID

Game_CommonEvent.event() ⇒ object

获取事件数据
Get event data

Kind: static method of Game_CommonEvent
Returns: object - 事件数据 / Event data


Game_CommonEvent.list() ⇒ Array

获取事件指令列表
Get event command list

Kind: static method of Game_CommonEvent
Returns: Array - 指令列表 / Command list


Game_CommonEvent.refresh()

刷新公共事件状态
Refresh common event state

Kind: static method of Game_CommonEvent


Game_CommonEvent.isActive() ⇒ boolean

检查公共事件是否激活
Check if common event is active

Kind: static method of Game_CommonEvent
Returns: boolean - 是否激活 / Whether active


Game_CommonEvent.update()

更新公共事件
Update common event

Kind: static method of Game_CommonEvent


贡献者

暂无相关贡献者

页面历史

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