#ifndef WDUMP_COMMAND_HPP_
#define WDUMP_COMMAND_HPP_

#include <DevCommand/DevCommand.hpp>
#include <FileIO/FileIO.hpp>
#include <cstdint>

/**
 * @brief Command to dump the contents of a world file.
 */
class WDumpCommand final : public DevCommand
{
private:
    static void printHashTable(FileIO &file, uint64_t pos, uint64_t size, int depth);

public:
    int execute(const std::vector<std::string> &args) override;
};

#endif