LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/Potion.hpp
2022-09-21 19:47:03 +08:00

89 lines
5.1 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class Potion {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_POTION
public:
class Potion& operator=(class Potion const &) = delete;
Potion(class Potion const &) = delete;
Potion() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_POTION
#endif
MCAPI void appendFormattedPotionText(std::string &, enum Potion::PotionType, float) const;
MCAPI std::string effectDurationToString(enum Potion::PotionType, float, class MobEffectInstance const &) const;
MCAPI std::string effectPotencyToString(class MobEffectInstance const &) const;
MCAPI std::string getDescriptionId(enum Potion::PotionType) const;
MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float) const;
MCAPI std::string getPotentencyDescription(enum Potion::PotionType, float, std::string const &, class MobEffectInstance const &) const;
MCAPI int getPotionId() const;
MCAPI ~Potion();
MCAPI static class std::shared_ptr<class Potion const> const Awkward;
MCAPI static class std::shared_ptr<class Potion const> const FireResistance;
MCAPI static class std::shared_ptr<class Potion const> const Harming;
MCAPI static class std::shared_ptr<class Potion const> const Healing;
MCAPI static class std::shared_ptr<class Potion const> const Invisibility;
MCAPI static class std::shared_ptr<class Potion const> const Leaping;
MCAPI static class std::shared_ptr<class Potion const> const LongFireResistance;
MCAPI static class std::shared_ptr<class Potion const> const LongInvisibility;
MCAPI static class std::shared_ptr<class Potion const> const LongLeaping;
MCAPI static class std::shared_ptr<class Potion const> const LongMundane;
MCAPI static class std::shared_ptr<class Potion const> const LongNightvision;
MCAPI static class std::shared_ptr<class Potion const> const LongPoison;
MCAPI static class std::shared_ptr<class Potion const> const LongRegeneration;
MCAPI static class std::shared_ptr<class Potion const> const LongSlowFalling;
MCAPI static class std::shared_ptr<class Potion const> const LongSlowness;
MCAPI static class std::shared_ptr<class Potion const> const LongStrength;
MCAPI static class std::shared_ptr<class Potion const> const LongSwiftness;
MCAPI static class std::shared_ptr<class Potion const> const LongTurtleMaster;
MCAPI static class std::shared_ptr<class Potion const> const LongWaterBreathing;
MCAPI static class std::shared_ptr<class Potion const> const LongWeakness;
MCAPI static class std::shared_ptr<class Potion const> const Mundane;
MCAPI static class std::shared_ptr<class Potion const> const Nightvision;
MCAPI static class std::shared_ptr<class Potion const> const Poison;
MCAPI static class std::shared_ptr<class Potion const> const Regeneration;
MCAPI static class std::shared_ptr<class Potion const> const SlowFalling;
MCAPI static class std::shared_ptr<class Potion const> const Slowness;
MCAPI static class std::shared_ptr<class Potion const> const Strength;
MCAPI static class std::shared_ptr<class Potion const> const StrongHarming;
MCAPI static class std::shared_ptr<class Potion const> const StrongHealing;
MCAPI static class std::shared_ptr<class Potion const> const StrongLeaping;
MCAPI static class std::shared_ptr<class Potion const> const StrongPoison;
MCAPI static class std::shared_ptr<class Potion const> const StrongRegeneration;
MCAPI static class std::shared_ptr<class Potion const> const StrongSlowness;
MCAPI static class std::shared_ptr<class Potion const> const StrongStrength;
MCAPI static class std::shared_ptr<class Potion const> const StrongSwiftness;
MCAPI static class std::shared_ptr<class Potion const> const StrongTurtleMaster;
MCAPI static class std::shared_ptr<class Potion const> const Swiftness;
MCAPI static class std::shared_ptr<class Potion const> const Thick;
MCAPI static class std::shared_ptr<class Potion const> const TurtleMaster;
MCAPI static class std::shared_ptr<class Potion const> const Water;
MCAPI static class std::shared_ptr<class Potion const> const WaterBreathing;
MCAPI static class std::shared_ptr<class Potion const> const Weakness;
MCAPI static class std::shared_ptr<class Potion const> const Wither;
MCAPI static class std::shared_ptr<class Potion const> getPotion(int);
MCAPI static class std::shared_ptr<class Potion const> getPotion(std::string const &);
MCAPI static void initPotions();
//private:
MCAPI Potion(std::string const &, std::vector<std::string>, std::vector<class MobEffectInstance>, enum Potion::PotionVariant);
MCAPI static void addPotion(class std::shared_ptr<class Potion const>);
private:
MCAPI static int mLastId;
MCAPI static class std::shared_ptr<class Potion const> mPotionsById[];
MCAPI static class std::unordered_map<std::string, int, struct std::hash<std::string>, struct std::equal_to<std::string>, class std::allocator<struct std::pair<std::string const, int>>> mPotionsByName;
};