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

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

ABSTRACT ^

Describes the ClientChangeRole event in a log line

DESCRIPTION ^

This module holds the "ClientChangeRole" 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 changes their role.

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.

ip

The ip of the client who changed the role

nick

The nick of the client

role

The id of the client's role

        0 = DEAFULT
        1 = ADMIN

role_name

The role name of the client ( DEFAULT, ADMIN )

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: