PHP Class pocketmine\updater\AutoUpdater

Show file Open project: ClearSkyTeam/ClearSky

Protected Properties

Property Type Description
$endpoint
$hasUpdate
$isupdating
$server pocketmine\Server
$updateInfo

Public Methods

Method Description
__construct ( Server $server, $endpoint )
doCheck ( )
doUpgrade ( )
downloadCompleteCallback ( )
downloadFailCallback ( )
getChannel ( )
getUpdateInfo ( )
hasUpdate ( ) : boolean
showConsoleUpdate ( )
showPlayerUpdate ( Player $player )

Protected Methods

Method Description
check ( )
checkStable ( )
checkUpdate ( )
showCuttingEdge ( )

Method Details

__construct() public method

public __construct ( Server $server, $endpoint )
$server pocketmine\Server

check() protected method

protected check ( )

checkStable() protected method

protected checkStable ( )

checkUpdate() protected method

protected checkUpdate ( )

doCheck() public method

public doCheck ( )

doUpgrade() public method

public doUpgrade ( )

downloadCompleteCallback() public method

downloadFailCallback() public method

getChannel() public method

public getChannel ( )

getUpdateInfo() public method

public getUpdateInfo ( )

hasUpdate() public method

public hasUpdate ( ) : boolean
return boolean

showConsoleUpdate() public method

public showConsoleUpdate ( )

showCuttingEdge() protected method

protected showCuttingEdge ( )

showPlayerUpdate() public method

public showPlayerUpdate ( Player $player )
$player pocketmine\Player

Property Details

$endpoint protected property

protected $endpoint

$hasUpdate protected property

protected $hasUpdate

$isupdating protected property

protected $isupdating

$server protected property

protected Server,pocketmine $server
return pocketmine\Server

$updateInfo protected property

protected $updateInfo