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

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::ClientStatus - Describes the ClientStatus event in a log line

ABSTRACT ^

Describes the ClientStatus event in a log line

DESCRIPTION ^

This module holds the "ClientStatus" 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 once in a while as the AC server goes through 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.

cn

The client connection id

nick

The nick 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 )

frags

The number of frags this client has done

deaths

The number of deaths this client has done

flags

The number of flags taken ( not always defined - depends on gamemode )

role

The id of the client's role

        0 = DEAFULT
        1 = ADMIN

role_name

The role name of the client ( DEFAULT, ADMIN )

ip

The ip of the client

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: