Revert "shared_ptr -> std::shared_ptr"

This reverts commit 7074f35e4b.
This commit is contained in:
void_17
2026-03-02 17:37:16 +07:00
parent 8a2a62ea1d
commit 119bff3514
1373 changed files with 12049 additions and 12049 deletions

View File

@@ -11,15 +11,15 @@ public:
EnchantedBookItem(int id);
bool isFoil(std::shared_ptr<ItemInstance> itemInstance);
bool isEnchantable(std::shared_ptr<ItemInstance> itemInstance);
const Rarity *getRarity(std::shared_ptr<ItemInstance> itemInstance);
ListTag<CompoundTag> *getEnchantments(std::shared_ptr<ItemInstance> item);
void appendHoverText(std::shared_ptr<ItemInstance> itemInstance, std::shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings);
void addEnchantment(std::shared_ptr<ItemInstance> item, EnchantmentInstance *enchantment);
std::shared_ptr<ItemInstance> createForEnchantment(EnchantmentInstance *enchant);
void createForEnchantment(Enchantment *enchant, vector<std::shared_ptr<ItemInstance> > *items);
std::shared_ptr<ItemInstance> createForRandomLoot(Random *random);
bool isFoil(shared_ptr<ItemInstance> itemInstance);
bool isEnchantable(shared_ptr<ItemInstance> itemInstance);
const Rarity *getRarity(shared_ptr<ItemInstance> itemInstance);
ListTag<CompoundTag> *getEnchantments(shared_ptr<ItemInstance> item);
void appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings);
void addEnchantment(shared_ptr<ItemInstance> item, EnchantmentInstance *enchantment);
shared_ptr<ItemInstance> createForEnchantment(EnchantmentInstance *enchant);
void createForEnchantment(Enchantment *enchant, vector<shared_ptr<ItemInstance> > *items);
shared_ptr<ItemInstance> createForRandomLoot(Random *random);
WeighedTreasure *createForRandomTreasure(Random *random);
WeighedTreasure *createForRandomTreasure(Random *random, int minCount, int maxCount, int weight);
};