DL Library created to help/speed up Open Tibia development, it allows to parse and export appearances from protobuf files.
Requires c++11.
Check wiki
For more detailed description go to wiki Additionally all methods are documented in code.
nekiro_proto::SpriteAppearances library{};
try {
library.loadSpriteSheets("<path_to_file>", false);
} catch (std::exception& e) {
std::cout << e.what() << std::endl;
}
library.getSprite(1234);
nekiro_proto::Appearances library{};
try {
library.parseAppearancesFromFile("<path_to_file>");
} catch (std::exception& e) {
std::cout << e.what() << std::endl;
}
library.getAppearances(nekiro_proto::OBJECT_TYPE_ITEM)