- METHODS AND ARGUMENTS
- GIT REPOSITORY
- SEE ALSO
- COPYRIGHT AND LICENSE
Game::Tibia::Packet::Login - Login packet support for the MMORPG Tibia
Decodes Tibia Login packets into hashes and vice versa. By default uses the OTServ RSA key, but allows different RSA keys to be supplied. Version 9.80 and above is not supported.
- new(version => $version, [$character => undef, packet => $packet, rsa => OTSERV])
Constructs a new
Game::Tibia::Packet::Logininstance of version
packetis supplied, decryption using the supplied rsa private key is attempted. If no
rsais supplied, the OTServ RSA key is used. If a
$charactername is supplied, it's assumed to be a game server login packet.
Finalizes the packet. encrypts with RSA and prepends header
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.