1: <?php
2: /**
3: * Represents a Dedicated TrackMania Server Vote
4: * ManiaLive - TrackMania dedicated server manager in PHP
5: *
6: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
7: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
8: * @version $Revision: 425 $:
9: * @author $Author: melot.philippe $:
10: * @date $Date: 2012-07-18 12:36:36 +0200 (mer., 18 juil. 2012) $:
11: */
12: namespace DedicatedApi\Structures;
13:
14: class Vote extends AbstractStructure
15: {
16: const STATE_NEW = 'NewVote';
17: const STATE_CANCELLED = 'VoteCancelled';
18: const STATE_PASSED = 'VotePassed';
19: const STATE_FAILED = 'VoteFailed';
20:
21: public $status;
22: public $callerLogin;
23: public $cmdName;
24: public $cmdParam;
25: }
26: ?>