Games::AssaultCube::Log::Line::Killed - Describes the Killed event in a log line
Describes the Killed event in a log line
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 )
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 did the kill
The nick who died
The ip of the client who did the kill
Boolean value indicating if the client killed somebody on his team or not.
Boolean value indicating if the client gibbed the victim or not.
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
Apocalypse <apocal@cpan.org>
Props goes to the BS clan for the support!
This project is sponsored by http://cubestats.net
Copyright 2009 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::AssaultCube, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::AssaultCube
CPAN shell
perl -MCPAN -e shell install Games::AssaultCube
For more information on module installation, please visit the detailed CPAN module installation guide.