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


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

Index


NAME

Top

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

ABSTRACT

Top

Describes the Killed event in a log line

DESCRIPTION

Top

This module holds the "Killed" 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 kills somebody. ( frag/gib )

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 did the kill

victim

The nick who died

ip

The ip of the client who did the kill

tk

Boolean value indicating if the client killed somebody on his team or not.

gib

Boolean value indicating if the client gibbed the victim or not.

score

The AC-specific score for this kill. ( varies from gamemode to gamemode, this is the default )

	Gib = 2
	Frag = 1
	TK Frag = -1
	TK Gib = -2

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.