Class: WeatherChangeBeforeEventSignal
eventBeta
Manages callbacks that are connected to before weather changing.
管理与天气变化前相关的回调。
Methods
subscribe()
subscribe(
callback): (arg0) =>void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Tip
This closure is called with restricted-execution privilege.
Tip
此闭包以受限执行权限调用。
Returns
Tip
Closure that is called with restricted-execution privilege.
Tip
以受限执行权限调用的闭包。
(arg0) => void
Remarks
Adds a callback that will be called before weather changes.
添加一个回调,将在天气变化前调用。
unsubscribe()
unsubscribe(
callback):void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Tip
This closure is called with restricted-execution privilege.
Tip
此闭包以受限执行权限调用。
Returns
void
Remarks
Removes a callback from being called before weather changes.
移除一个在天气变化前调用的回调。
