Apocalypse > Games-AssaultCube > Games::AssaultCube::Log::Line::FlagScored

Download:
Games-AssaultCube-0.04.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

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

ABSTRACT ^

Describes the FlagScored event in a log line

DESCRIPTION ^

This module holds the "FlagScored" 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 scores a flag for a team.

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 scored the flag

ip

The ip of the client

team

The id of the client's team

        0 = CLA
        1 = RVSF
        2 = NONE

team_name

The team name of the client ( CLA, RVSF, NONE )

score

The new score for the team

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.

syntax highlighting: