NAME

Games::AssaultCube::Log::Line::CallVote - Describes the CallVote event in a log line

ABSTRACT

Describes the CallVote event in a log line

DESCRIPTION

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.

Attributes

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.

nick

The nick of the client who said something

ip

The ip of the client

type

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 ]

target

The target of the vote ( playername, mapname, etc - depends on the type )

failure

Boolean indicating if the vote failed or succeeded?

failure_reason

The reason for failure if it was true

AUTHOR

Apocalypse <apocal@cpan.org>

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.