Classes
Global | Description |
---|---|
Game_Temp | |
Game_Temp |
Game_Temp
Kind: global class
- Game_Temp
- new Game_Temp()
- new Game_Temp()
- .initialize()
- .isPlaytest() ⇒
boolean
- .reserveCommonEvent(commonEventId)
- .clearCommonEvent()
- .isCommonEventReserved() ⇒
boolean
- .reservedCommonEvent() ⇒
Object
- .setDestination(x, y)
- .clearDestination()
- .isDestinationValid() ⇒
boolean
- .destinationX() ⇒
number
|null
- .destinationY() ⇒
number
|null
new Game_Temp()
游戏_临时
Game_Temp
临时数据(不包含存档数据)的游戏对象类。
The game object class for temporary data that is not included in save data.
new Game_Temp()
Game_Temp constructor
game_Temp.initialize()
初始化
Initialize the Game_Temp object
Kind: instance method of Game_Temp
game_Temp.isPlaytest() ⇒ boolean
是否玩家测试
Check if in playtest mode
Kind: instance method of Game_Temp
Returns: boolean
- True if in playtest mode
game_Temp.reserveCommonEvent(commonEventId)
储存公共事件
Reserve a common event
Kind: instance method of Game_Temp
| Param | Type | Description |
| ------------- | ------------------- | ----------- | --------------- |
| commonEventId | number
| 公共事件 ID | Common event ID |
game_Temp.clearCommonEvent()
清除公共事件
Clear the reserved common event
Kind: instance method of Game_Temp
game_Temp.isCommonEventReserved() ⇒ boolean
是否有公共事件储存
Check if a common event is reserved
Kind: instance method of Game_Temp
Returns: boolean
- True if a common event is reserved
game_Temp.reservedCommonEvent() ⇒ Object
储存的公共事件
Get the reserved common event
Kind: instance method of Game_Temp
Returns: Object
- The reserved common event data
game_Temp.setDestination(x, y)
设置目的地
Set the destination coordinates
Kind: instance method of Game_Temp
| Param | Type | Description |
| ----- | ------------------- | ----------- | ------------ |
| x | number
| X 坐标 | X coordinate |
| y | number
| Y 坐标 | Y coordinate |
game_Temp.clearDestination()
清除目的地
Clear the destination
Kind: instance method of Game_Temp
game_Temp.isDestinationValid() ⇒ boolean
是否目的地有效
Check if the destination is valid
Kind: instance method of Game_Temp
Returns: boolean
- True if destination is valid
game_Temp.destinationX() ⇒ number
| null
目的地 X 坐标
Get destination X coordinate
Kind: instance method of Game_Temp
Returns: number
| null
- The destination X coordinate
game_Temp.destinationY() ⇒ number
| null
目的地 Y 坐标
Get destination Y coordinate
Kind: instance method of Game_Temp
Returns: number
| null
- The destination Y coordinate
Game_Temp
Kind: global class
- Game_Temp
- new Game_Temp()
- new Game_Temp()
- .initialize()
- .isPlaytest() ⇒
boolean
- .reserveCommonEvent(commonEventId)
- .clearCommonEvent()
- .isCommonEventReserved() ⇒
boolean
- .reservedCommonEvent() ⇒
Object
- .setDestination(x, y)
- .clearDestination()
- .isDestinationValid() ⇒
boolean
- .destinationX() ⇒
number
|null
- .destinationY() ⇒
number
|null
new Game_Temp()
游戏_临时
Game_Temp
临时数据(不包含存档数据)的游戏对象类。
The game object class for temporary data that is not included in save data.
new Game_Temp()
Game_Temp constructor
game_Temp.initialize()
初始化
Initialize the Game_Temp object
Kind: instance method of Game_Temp
game_Temp.isPlaytest() ⇒ boolean
是否玩家测试
Check if in playtest mode
Kind: instance method of Game_Temp
Returns: boolean
- True if in playtest mode
game_Temp.reserveCommonEvent(commonEventId)
储存公共事件
Reserve a common event
Kind: instance method of Game_Temp
| Param | Type | Description |
| ------------- | ------------------- | ----------- | --------------- |
| commonEventId | number
| 公共事件 ID | Common event ID |
game_Temp.clearCommonEvent()
清除公共事件
Clear the reserved common event
Kind: instance method of Game_Temp
game_Temp.isCommonEventReserved() ⇒ boolean
是否有公共事件储存
Check if a common event is reserved
Kind: instance method of Game_Temp
Returns: boolean
- True if a common event is reserved
game_Temp.reservedCommonEvent() ⇒ Object
储存的公共事件
Get the reserved common event
Kind: instance method of Game_Temp
Returns: Object
- The reserved common event data
game_Temp.setDestination(x, y)
设置目的地
Set the destination coordinates
Kind: instance method of Game_Temp
| Param | Type | Description |
| ----- | ------------------- | ----------- | ------------ |
| x | number
| X 坐标 | X coordinate |
| y | number
| Y 坐标 | Y coordinate |
game_Temp.clearDestination()
清除目的地
Clear the destination
Kind: instance method of Game_Temp
game_Temp.isDestinationValid() ⇒ boolean
是否目的地有效
Check if the destination is valid
Kind: instance method of Game_Temp
Returns: boolean
- True if destination is valid
game_Temp.destinationX() ⇒ number
| null
目的地 X 坐标
Get destination X coordinate
Kind: instance method of Game_Temp
Returns: number
| null
- The destination X coordinate
game_Temp.destinationY() ⇒ number
| null
目的地 Y 坐标
Get destination Y coordinate
Kind: instance method of Game_Temp
Returns: number
| null
- The destination Y coordinate