Release 1.89

master
Kasi 2023-04-18 18:43:59 +01:00
parent 632273a030
commit b499675fdc
5 changed files with 35 additions and 2 deletions

View File

@ -5,6 +5,7 @@
#include "../JavaClass/Class.hpp" #include "../JavaClass/Class.hpp"
#include <cstdint> #include <cstdint>
#include "LinkedList.hpp" #include "LinkedList.hpp"
#include "IterableHashTable.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
@ -28,8 +29,7 @@ namespace Internal
std::int32_t GetAnimationFrame() const; std::int32_t GetAnimationFrame() const;
std::int32_t GetAnimationID() const; std::int32_t GetAnimationID() const;
LinkedList GetCombatInfo() const; LinkedList GetCombatInfo() const;
std::int32_t GetGraphicsFrame() const; IterableHashTable GetGraphicsHashTable() const;
std::int32_t GetGraphicsID() const;
std::vector<std::int32_t> GetHitsplatTicks() const; std::vector<std::int32_t> GetHitsplatTicks() const;
std::vector<std::int32_t> GetHitsplatTypes() const; std::vector<std::int32_t> GetHitsplatTypes() const;
std::vector<std::int32_t> GetHitsplatValues() const; std::vector<std::int32_t> GetHitsplatValues() const;

View File

@ -0,0 +1,29 @@
#ifndef GRAPHICSNODE_HPP_INCLUDED
#define GRAPHICSNODE_HPP_INCLUDED
#include "Node.hpp"
#include "../JavaClass/Class.hpp"
#include <cstdint>
namespace Internal
{
class GraphicsNode : public Node
{
public:
GraphicsNode(const void* Obj);
GraphicsNode() = default;
GraphicsNode(GraphicsNode&& Obj) = default;
GraphicsNode(const GraphicsNode& Obj) = default;
GraphicsNode& operator=(GraphicsNode&& Obj) = default;
GraphicsNode& operator=(const GraphicsNode& Obj) = default;
static Class GetClass();
std::int32_t GetID() const;
std::int32_t GetFrame() const;
std::int32_t GetTick() const;
};
}
#endif // GRAPHICSNODE_HPP_INCLUDED

View File

@ -63,6 +63,7 @@
#include "Classes/FriendList.hpp" #include "Classes/FriendList.hpp"
#include "Classes/GameObject.hpp" #include "Classes/GameObject.hpp"
#include "Classes/GameShell.hpp" #include "Classes/GameShell.hpp"
#include "Classes/GraphicsNode.hpp"
#include "Classes/GraphicsObject.hpp" #include "Classes/GraphicsObject.hpp"
#include "Classes/GroundItem.hpp" #include "Classes/GroundItem.hpp"
#include "Classes/GroundObject.hpp" #include "Classes/GroundObject.hpp"
@ -316,6 +317,8 @@ namespace Internal
std::int32_t GetCollisionFlags(std::int32_t X, std::int32_t Y, std::int32_t Plane); std::int32_t GetCollisionFlags(std::int32_t X, std::int32_t Y, std::int32_t Plane);
std::vector<std::int8_t> ToByteArray(const Object& O); std::vector<std::int8_t> ToByteArray(const Object& O);
std::vector<std::int8_t> GetKeysPressed(); std::vector<std::int8_t> GetKeysPressed();
std::int32_t GetGraphicsID(const Internal::Character& C);
std::int32_t GetGraphicsFrame(const Internal::Character& C);
} }
#endif // INTERNAL_HPP_INCLUDED #endif // INTERNAL_HPP_INCLUDED

View File

@ -3,6 +3,7 @@
#include <cstdint> #include <cstdint>
#include <functional> #include <functional>
#include <string>
void Wait(std::int64_t Duration); void Wait(std::int64_t Duration);
std::uint64_t CurrentTimeMillis(); std::uint64_t CurrentTimeMillis();

Binary file not shown.