The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Minecraft::LoginResult - Result info for a Minecraft Login.

VERSION

version 0.002000

METHODS

is_success

Always returns a truth value for instance of this class.

parse

Inflate a ::LoginResult from a content string supplied by the server.

        my $instance = Net::Minecraft::LoginResult->parse( $string );

This will ordinarily be a string like:

        1343825972000:deprecated:SirCmpwn:7ae9007b9909de05ea58e94199a33b30c310c69c:dba0c48e1c584963b9e93a038a66bb98

Which we simply split on ':' and store in the respective fields.

ATTRIBUTES

current_version

The timestamp in UnixTime of the most recent Minecraft version ( the game itself, not the launcher )

download_ticket

Will always return "deprecated" as this feature is no longer valid.

user

The Case Corrected form of the supplied user name.

session_id

A Unique Session Identifier

unique_id

A (presently unused) unique User Identifier.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.