#pragma once #include #include "mc/world/actor/player/Player.h" #include #include #define MOD_NAME "InventoryCheck" #define TARGET_PROTOCOL 944 extern std::string tr(std::string const& key, std::vector const& data = {}); extern void RegisterCommand(); extern void mainForm(Player& pl); extern void checkOnlineForm(Player& pl); extern void checkAllForm(Player& pl); extern void searchPlayerForm(Player& pl); extern void searchResultForm(Player& pl, std::unordered_map const& resultList); extern void searchNotFoundForm(Player& pl, std::string const& name); extern void checkPlayerForm(Player& pl, mce::UUID const& uuid); extern void invalidInputForm(Player& pl); extern void confirmWriteForm(Player& pl, mce::UUID const& uuid, std::string const& name); extern void confirmDeleteForm(Player& pl, mce::UUID const& uuid, std::string const& name); extern void deleteFailedForm(Player& pl, mce::UUID const& uuid, std::string const& name);