NAME
Games::AssaultCube::Log::Line::Killed - Describes the Killed event in a log line
ABSTRACT
Describes the Killed event in a log line
DESCRIPTION
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
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.