2017-12-25 23:49:48 +00:00
|
|
|
#ifndef ITEMINFO_HPP_INCLUDED
|
|
|
|
#define ITEMINFO_HPP_INCLUDED
|
|
|
|
|
|
|
|
#include "CacheableNode.hpp"
|
|
|
|
#include "../JavaClass/Class.hpp"
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <cstdint>
|
2019-06-17 16:44:48 +00:00
|
|
|
#include "IterableHashTable.hpp"
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
namespace Internal
|
2017-12-25 23:49:48 +00:00
|
|
|
{
|
2018-03-18 14:38:29 +00:00
|
|
|
class ItemInfo : public CacheableNode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ItemInfo(const void* Obj);
|
2018-12-27 18:17:09 +00:00
|
|
|
|
|
|
|
ItemInfo() = default;
|
|
|
|
ItemInfo(ItemInfo&& Obj) = default;
|
|
|
|
ItemInfo(const ItemInfo& Obj) = default;
|
|
|
|
ItemInfo& operator=(ItemInfo&& Obj) = default;
|
|
|
|
ItemInfo& operator=(const ItemInfo& Obj) = default;
|
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
static Class GetClass();
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
std::vector<std::string> GetGroundActions() const;
|
|
|
|
std::int32_t GetID() const;
|
|
|
|
std::vector<std::string> GetInventoryActions() const;
|
|
|
|
bool GetMembers() const;
|
|
|
|
std::string GetName() const;
|
|
|
|
std::int32_t GetNoteID() const;
|
2019-06-17 16:44:48 +00:00
|
|
|
IterableHashTable GetParameters() const;
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetPrice() const;
|
2018-07-12 01:58:05 +00:00
|
|
|
std::int32_t GetShiftClickIndex() const;
|
2018-03-18 14:38:29 +00:00
|
|
|
std::int32_t GetSpriteID() const;
|
|
|
|
std::vector<std::int32_t> GetStackAmounts() const;
|
|
|
|
std::vector<std::int32_t> GetStackModelIDs() const;
|
|
|
|
std::int32_t GetStackable() const;
|
2017-12-25 23:49:48 +00:00
|
|
|
|
2018-03-18 14:38:29 +00:00
|
|
|
};
|
|
|
|
}
|
2017-12-25 23:49:48 +00:00
|
|
|
|
|
|
|
#endif // ITEMINFO_HPP_INCLUDED
|