diff --git a/Include/Core/Classes/ModelInfo.hpp b/Include/Core/Classes/ModelInfo.hpp new file mode 100644 index 0000000..9b71c77 --- /dev/null +++ b/Include/Core/Classes/ModelInfo.hpp @@ -0,0 +1,28 @@ +#ifndef MODELINFO_HPP_INCLUDED +#define MODELINFO_HPP_INCLUDED + +#include "../JavaClass/Object.hpp" +#include "../JavaClass/Class.hpp" +#include + +namespace Internal +{ + class ModelInfo : public Object + { + public: + ModelInfo(const void* Obj); + + ModelInfo() = default; + ModelInfo(ModelInfo&& Obj) = default; + ModelInfo(const ModelInfo& Obj) = default; + ModelInfo& operator=(ModelInfo&& Obj) = default; + ModelInfo& operator=(const ModelInfo& Obj) = default; + + static Class GetClass(); + + std::int64_t GetHash() const; + + }; +} + +#endif // MODELINFO_HPP_INCLUDED diff --git a/Include/Core/Classes/NPC.hpp b/Include/Core/Classes/NPC.hpp index 21afe51..8b88713 100644 --- a/Include/Core/Classes/NPC.hpp +++ b/Include/Core/Classes/NPC.hpp @@ -3,6 +3,7 @@ #include "Character.hpp" #include "../JavaClass/Class.hpp" +#include "ModelInfo.hpp" #include "NPCInfo.hpp" namespace Internal @@ -20,6 +21,7 @@ namespace Internal static Class GetClass(); + ModelInfo GetModelInfo() const; NPCInfo GetNPCInfo() const; }; diff --git a/Include/Core/Internal.hpp b/Include/Core/Internal.hpp index 1689304..4f98a1e 100644 --- a/Include/Core/Internal.hpp +++ b/Include/Core/Internal.hpp @@ -82,6 +82,7 @@ #include "Classes/LinkedList.hpp" #include "Classes/MessageNode.hpp" #include "Classes/Model.hpp" +#include "Classes/ModelInfo.hpp" #include "Classes/Nameable.hpp" #include "Classes/NameableContainer.hpp" #include "Classes/NamePair.hpp" diff --git a/Library/libAlpacaLibrary.a b/Library/libAlpacaLibrary.a index 3954341..5c6f6ac 100644 Binary files a/Library/libAlpacaLibrary.a and b/Library/libAlpacaLibrary.a differ