aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PotionItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PotionItem.h')
-rw-r--r--Minecraft.World/PotionItem.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/Minecraft.World/PotionItem.h b/Minecraft.World/PotionItem.h
index d03d3308..0d5dd181 100644
--- a/Minecraft.World/PotionItem.h
+++ b/Minecraft.World/PotionItem.h
@@ -24,26 +24,26 @@ private:
public:
PotionItem(int id);
- virtual vector<MobEffectInstance *> *getMobEffects(shared_ptr<ItemInstance> potion);
+ virtual vector<MobEffectInstance *> *getMobEffects(std::shared_ptr<ItemInstance> potion);
virtual vector<MobEffectInstance *> *getMobEffects(int auxValue);
- virtual shared_ptr<ItemInstance> useTimeDepleted(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
- virtual int getUseDuration(shared_ptr<ItemInstance> itemInstance);
- virtual UseAnim getUseAnimation(shared_ptr<ItemInstance> itemInstance);
- virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
- virtual bool TestUse(Level *level, shared_ptr<Player> player);
- virtual bool useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
+ virtual std::shared_ptr<ItemInstance> useTimeDepleted(std::shared_ptr<ItemInstance> instance, Level *level, std::shared_ptr<Player> player);
+ virtual int getUseDuration(std::shared_ptr<ItemInstance> itemInstance);
+ virtual UseAnim getUseAnimation(std::shared_ptr<ItemInstance> itemInstance);
+ virtual std::shared_ptr<ItemInstance> use(std::shared_ptr<ItemInstance> instance, Level *level, std::shared_ptr<Player> player);
+ virtual bool TestUse(Level *level, std::shared_ptr<Player> player);
+ virtual bool useOn(std::shared_ptr<ItemInstance> itemInstance, std::shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
virtual Icon *getIcon(int auxValue);
virtual Icon *getLayerIcon(int auxValue, int spriteLayer);
static bool isThrowable(int auxValue);
int getColor(int data);
- virtual int getColor(shared_ptr<ItemInstance> item, int spriteLayer);
+ virtual int getColor(std::shared_ptr<ItemInstance> item, int spriteLayer);
virtual bool hasMultipleSpriteLayers();
virtual bool hasInstantenousEffects(int itemAuxValue);
- virtual wstring getHoverName(shared_ptr<ItemInstance> itemInstance);
- virtual void appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings);
- virtual bool isFoil(shared_ptr<ItemInstance> itemInstance);
+ virtual wstring getHoverName(std::shared_ptr<ItemInstance> itemInstance);
+ virtual void appendHoverText(std::shared_ptr<ItemInstance> itemInstance, std::shared_ptr<Player> player, vector<wstring> *lines, bool advanced, vector<wstring> &unformattedStrings);
+ virtual bool isFoil(std::shared_ptr<ItemInstance> itemInstance);
- virtual unsigned int getUseDescriptionId(shared_ptr<ItemInstance> instance);
+ virtual unsigned int getUseDescriptionId(std::shared_ptr<ItemInstance> instance);
//@Override
void registerIcons(IconRegister *iconRegister);