NAME
Game::Tibia::Packet::Login - Login packet support for the MMORPG Tibia
SYNOPSIS
use Game::Tibia::Packet::Login;
DESCRIPTION
Decodes Tibia Charlist packets into hashes and vice versa. By default uses the OTServ RSA key, but allows different RSA keys to be supplied.
METHODS AND ARGUMENTS
- new([packet => $packet, rsa => OTSERV])
-
Constructs a new
Game::Tibia::Packet::Login
instance. Ifpacket
is supplied, decryption using the supplied rsa private key is attempted. If norsa
is supplied, the OTServ RSA key is used. - finalize([$rsa])
-
Finalizes the packet. encrypts with RSA and prepends header
GIT REPOSITORY
http://github.com/athreef/Game-Tibia-Packet
SEE ALSO
AUTHOR
Ahmad Fatoum <athreef@cpan.org>
, http://a3f.at
COPYRIGHT AND LICENSE
Copyright (C) 2016 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.