\ManiaControl\ScriptScriptManager

Manager for Game Mode Script related Stuff

Summary

Methods
Properties
Constants
getUsageInformation()
__construct()
enableScriptCallbacks()
isScriptMode()
modeUsesPause()
modeIsTeamMode()
No public properties found
CB_PAUSE_STATUS_CHANGED
No protected methods found
No protected properties found
N/A
checkIfTheModeUsesPause()
setPauseStatus()
$maniaControl
$isScriptMode
$modeUsesPause
N/A

Constants

CB_PAUSE_STATUS_CHANGED

CB_PAUSE_STATUS_CHANGED

Properties

$isScriptMode

$isScriptMode : 

Type

$modeUsesPause

$modeUsesPause : 

Type

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct a new script manager instance

Parameters

\ManiaControl\ManiaControl $maniaControl

enableScriptCallbacks()

enableScriptCallbacks() : boolean

Enable script callbacks

Returns

boolean

isScriptMode()

isScriptMode() : boolean

Check whether the Server is running in Script Mode

Returns

boolean

modeUsesPause()

modeUsesPause() : boolean

Checks if the Mode Can be Forced to a Pause

Returns

boolean

modeIsTeamMode()

modeIsTeamMode() : boolean

Checks if the Mode is in TeamMode

Returns

boolean

checkIfTheModeUsesPause()

checkIfTheModeUsesPause() 

Checks if the Mode Uses Pause Async

setPauseStatus()

setPauseStatus(boolean  $status) 

Sets the New Pause Status

Parameters

boolean $status