| Games-AssaultCube documentation | Contained in the Games-AssaultCube distribution. |
Games::AssaultCube::Log::Line::Base::NickIP - The NickIP role for subclasses
This module provides the NickIP role for subclasses.
This module provides the NickIP role for subclasses. This is the AssaultCube player name + ip.
Those attributes are part of the role, and will be applied to subclasses that use this.
The nick of the client
The ip of the client
Apocalypse <apocal@cpan.org>
Props goes to the BS clan for the support!
This project is sponsored by http://cubestats.net
Copyright 2009 by Apocalypse
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Games-AssaultCube documentation | Contained in the Games-AssaultCube distribution. |
# the generic "ip+nick" role package Games::AssaultCube::Log::Line::Base::NickIP; use Moose::Role; # Initialize our version use vars qw( $VERSION ); $VERSION = '0.04'; has 'ip' => ( isa => 'Str', is => 'ro', required => 1, ); has 'nick' => ( isa => 'Str', is => 'ro', default => 'unarmed', ); 1; __END__