- COPYRIGHT AND LICENSE
Games::AssaultCube::Log::Line::CallVote - Describes the CallVote event in a log line
Describes the CallVote event in a log line
This module holds the "CallVote" event data from a log line. Normally, you would not use this class directly but via the Games::AssaultCube::Log::Line class.
This line is emitted when a client called a vote in the game.
Those attributes hold information about the event. As this class extends the Games::AssaultCube::Log::Line::Base class, you can also use it's attributes too.
The nick of the client who said something
The ip of the client
The type of the vote
ban [ nick ] kick [ nick ] force [ nick ] shuffle [ teams ] load [ mapname - mode ] enable [ autoteam ] disable [ autoteam ] stop [ demo ] change [ mastermode ] remove [ all bans ] set [ server description ] invalid [ invalid ]
The target of the vote ( playername, mapname, etc - depends on the type )
Boolean indicating if the vote failed or succeeded?
The reason for failure if it was true
Props goes to the BS clan for the support!
This project is sponsored by http://cubestats.net
COPYRIGHT AND LICENSE
Copyright 2009 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.