Release 0.28

master
Kasi 2018-04-14 02:05:35 +01:00
parent 3988ff96ce
commit c18a4cfcc1
9 changed files with 84 additions and 6 deletions

View File

@ -34,8 +34,6 @@ namespace Internal
std::int32_t GetSubPoseAnimationID() const;
std::int32_t GetX() const;
std::int32_t GetY() const;
std::int32_t GetIntField1() const;
bool GetBoolField1() const;
};
}

View File

@ -0,0 +1,25 @@
#ifndef COMBATINFO_HPP_INCLUDED
#define COMBATINFO_HPP_INCLUDED
#include "Node.hpp"
#include "../JavaClass/Class.hpp"
#include "LinkedList.hpp"
#include "HealthInfo.hpp"
namespace Internal
{
class CombatInfo : public Node
{
public:
CombatInfo();
CombatInfo(const void* Obj);
CombatInfo(const CombatInfo& C);
static Class GetClass();
LinkedList GetHealthBar() const;
HealthInfo GetHealthInfo() const;
};
}
#endif // COMBATINFO_HPP_INCLUDED

View File

@ -0,0 +1,24 @@
#ifndef HEALTHBAR_HPP_INCLUDED
#define HEALTHBAR_HPP_INCLUDED
#include "Node.hpp"
#include "../JavaClass/Class.hpp"
#include <cstdint>
namespace Internal
{
class HealthBar : public Node
{
public:
HealthBar();
HealthBar(const void* Obj);
HealthBar(const HealthBar& H);
static Class GetClass();
std::int32_t GetHealthRatio() const;
std::int32_t GetTick() const;
};
}
#endif // HEALTHBAR_HPP_INCLUDED

View File

@ -0,0 +1,23 @@
#ifndef HEALTHINFO_HPP_INCLUDED
#define HEALTHINFO_HPP_INCLUDED
#include "CacheableNode.hpp"
#include "../JavaClass/Class.hpp"
#include <cstdint>
namespace Internal
{
class HealthInfo : public CacheableNode
{
public:
HealthInfo();
HealthInfo(const void* Obj);
HealthInfo(const HealthInfo& H);
static Class GetClass();
std::int32_t GetScale() const;
};
}
#endif // HEALTHINFO_HPP_INCLUDED

View File

@ -15,7 +15,7 @@ namespace Internal
NPC(const NPC& N);
static Class GetClass();
NPCInfo GetInfo() const;
NPCInfo GetNPCInfo() const;
};
}

View File

@ -22,9 +22,9 @@ namespace Internal
std::vector<std::string> GetActions() const;
std::int32_t GetCombatLevel() const;
bool GetHidden() const;
PlayerInfo GetInfo() const;
NamePair GetNamePair() const;
std::int32_t GetOverheadIcon() const;
PlayerInfo GetPlayerInfo() const;
std::int32_t GetSkullIcon() const;
std::int32_t GetTeam() const;
std::int32_t GetTotalLevel() const;

View File

@ -39,6 +39,7 @@
#include "Classes/ClanMember.hpp"
#include "Classes/ClanMemberList.hpp"
#include "Classes/CollisionData.hpp"
#include "Classes/CombatInfo.hpp"
#include "Classes/DecorativeObject.hpp"
#include "Classes/Deque.hpp"
#include "Classes/DirectByteBuffer.hpp"
@ -55,6 +56,8 @@
#include "Classes/GroundItem.hpp"
#include "Classes/GroundObject.hpp"
#include "Classes/HashTable.hpp"
#include "Classes/HealthBar.hpp"
#include "Classes/HealthInfo.hpp"
#include "Classes/Ignore.hpp"
#include "Classes/IgnoreList.hpp"
#include "Classes/IndexableData.hpp"
@ -230,13 +233,14 @@ namespace Internal
std::vector<std::vector<SceneTile>> GetSceneTiles(std::int32_t Plane);
Point TileToMinimap(const Tile& T);
std::int32_t GetTileItemHeight(std::int32_t X, std::int32_t Y, std::int32_t Plane);
Sprite GetItemSprite(std::int32_t ID, std::int32_t Amount, std::int32_t BorderThickness,
std::int32_t ShadowColor, std::int32_t StackType);
Sprite GetItemSprite(std::int32_t ID, std::int32_t Amount);
Convex GetItemSpriteConvex(const Sprite& S);
std::int32_t GetSettings(std::int32_t ID);
std::int32_t GetVarbitSettings(std::int32_t VarbitSettingIndex);
Point TileToMainscreen(const Tile& T, std::int32_t X, std::int32_t Y, std::int32_t Z);
std::string GetItemName(std::int32_t ID);
std::vector<Box> GetBlockingWidgetBoxes();
std::int32_t GetHealthPercentage(const Internal::Character& C);
}
#endif // INTERNAL_HPP_INCLUDED

View File

@ -273,6 +273,10 @@ class Bank
static bool DepositAllOf(const std::string& Name);
static bool DepositXOf(std::int32_t ID, std::int32_t Amount);
static bool DepositXOf(const std::string& Name, std::int32_t Amount);
static bool DepositAllExcept(const std::string Name);
static bool DepositAllExcept(const std::vector<std::string> Names);
static bool DepositAllExcept(std::int32_t ID);
static bool DepositAllExcept(const std::vector<std::int32_t> IDs);
static bool DepositAll();
static bool DepositEquipment();
};

Binary file not shown.