Apocalypse > Games-AssaultCube-0.04 > Games::AssaultCube::Log::Line::Status

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

ABSTRACT ^

Describes the Status event in a log line

DESCRIPTION ^

This module holds the "Status" 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.

datetime

The DateTime object representing the time this event was logged

players

The number of connected players

sent

The number of Kbytes sent per sec ( float )

recv

The number of Kbytes sent per sec ( float )

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: