Release 1.81

master
Kasi 2022-10-11 20:32:14 +01:00
parent e7ff046430
commit 5639b57a6f
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,27 @@
#ifndef KEYLISTEN_HPP_INCLUDED
#define KEYLISTEN_HPP_INCLUDED
#include "../JavaClass/Object.hpp"
#include "../JavaClass/Class.hpp"
#include <vector>
#include <cstdint>
namespace Internal
{
class KeyListen : public Object
{
public:
KeyListen(const void* Obj);
KeyListen() = default;
KeyListen(KeyListen&& Obj) = default;
KeyListen(const KeyListen& Obj) = default;
KeyListen& operator=(KeyListen&& Obj) = default;
KeyListen& operator=(const KeyListen& Obj) = default;
static Class GetClass();
std::vector<std::int8_t> GetKeysPressed() const;
};
}
#endif // KEYLISTEN_HPP_INCLUDED

View File

@ -78,6 +78,7 @@
#include "Classes/ItemInfo.hpp" #include "Classes/ItemInfo.hpp"
#include "Classes/IterableHashTable.hpp" #include "Classes/IterableHashTable.hpp"
#include "Classes/IterableQueue.hpp" #include "Classes/IterableQueue.hpp"
#include "Classes/KeyListen.hpp"
#include "Classes/LinkedList.hpp" #include "Classes/LinkedList.hpp"
#include "Classes/MessageNode.hpp" #include "Classes/MessageNode.hpp"
#include "Classes/Model.hpp" #include "Classes/Model.hpp"
@ -160,7 +161,7 @@ namespace Internal
Cache GetItemInfoCache(); Cache GetItemInfoCache();
Cache GetItemModelCache(); Cache GetItemModelCache();
Cache GetItemSpriteCache(); Cache GetItemSpriteCache();
std::vector<std::int8_t> GetKeysPressed(); KeyListen GetKeyListener();
std::vector<std::int32_t> GetLevels(); std::vector<std::int32_t> GetLevels();
ClanMemberList GetLocalClanMemberList(); ClanMemberList GetLocalClanMemberList();
ClientScriptSettings GetLocalClientScriptSettings(); ClientScriptSettings GetLocalClientScriptSettings();
@ -312,5 +313,7 @@ namespace Internal
std::int8_t GetTileSettings(std::int32_t X, std::int32_t Y, std::int32_t Plane); std::int8_t GetTileSettings(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::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();
} }
#endif // INTERNAL_HPP_INCLUDED #endif // INTERNAL_HPP_INCLUDED

Binary file not shown.