Class PlayList

Documentation of includes/core/playlist.class.php

Provides and handles a Playlist for Maps.

PLEASE NOTE THAT THIS CLASS IS STIL UNDER DEVELOPMENT AND CURRENTLY WITHOUT ANY FUNCTION!

Methods

addMapToPlaylist

Adds a map to the play list.

Description

void = addMapToPlaylist ( string $uid, string $login, string $method = 'select' )

Parameters

  • $uid

    UID of a Class Map object

  • $login

    login of a Class Player object

  • $method

    Possible values for are select, vote, pay, add

Example

$aseco->server->maps->playlist->addMapToPlaylist($map->uid, $player->login, 'select');

isMapInPlaylistByUid

xxx

Description

boolean = isMapInPlaylistByUid ( string $uid )

Parameters

Example

$result = $aseco->server->maps->playlist->isMapInPlaylistByUid($map->uid);

getPlaylistEntryByUid

xxx

Description

mixed = getPlaylistEntryByUid ( string $uid )

Parameters

Example

$result = $aseco->server->maps->playlist->getPlaylistEntryByUid($map->uid);

Return Values

true

This is a private enthusiast Website. Maniaplanet, Trackmania, Shootmania, Nadeo are trademarks of Ubisoft Entertainment.
Windows is a registered trademark of Microsoft Corporation.

Last modified: Wed, 17 Apr 2019 22:20:18 +0200