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


Games-AssaultCube documentation  | view source Contained in the Games-AssaultCube distribution.

Index


NAME

Top

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

ABSTRACT

Top

Describes the CallVote event in a log line

DESCRIPTION

Top

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

Top

Apocalypse <apocal@cpan.org>

Props goes to the BS clan for the support!

This project is sponsored by http://cubestats.net

COPYRIGHT AND LICENSE

Top


Games-AssaultCube documentation  | view source Contained in the Games-AssaultCube distribution.