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


Games-AssaultCube documentation  | view source Contained in the Games-AssaultCube distribution.

Index


NAME

Top

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

ABSTRACT

Top

Describes the ClientDisconnected event in a log line

DESCRIPTION

Top

This module holds the "ClientDisconnected" 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 disconnects from the AC server.

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 just disconnected ( defaults to "unarmed" if not given )

ip

The ip of the client who just disconnected

reason

The reason the client disconnected ( defaults to "disconnected" if no reason given )

forced

A boolean value indicating if the server forced the disconnect or not

AUTHOR

Top

Apocalypse <apocal@cpan.org>

Props goes to the BS clan for the support!

This project is sponsored by http://cubestats.net

COPYRIGHT AND LICENSE

Top


Games-AssaultCube documentation  | view source Contained in the Games-AssaultCube distribution.