Release 2.05

master
Kasi 2024-08-14 20:47:15 +01:00
parent 8bb05c724c
commit edc7ee0c88
3 changed files with 48 additions and 7 deletions

View File

@ -0,0 +1,38 @@
#ifndef MENUCONTAINER_HPP_INCLUDED
#define MENUCONTAINER_HPP_INCLUDED
#include "../JavaClass/Object.hpp"
#include "../JavaClass/Class.hpp"
#include <vector>
#include <string>
#include <cstdint>
namespace Internal
{
class MenuContainer : public Object
{
public:
MenuContainer(const void* Obj);
MenuContainer() = default;
MenuContainer(MenuContainer&& Obj) = default;
MenuContainer(const MenuContainer& Obj) = default;
MenuContainer& operator=(MenuContainer&& Obj) = default;
MenuContainer& operator=(const MenuContainer& Obj) = default;
static Class GetClass();
std::vector<std::string> GetActions() const;
std::vector<MenuContainer> GetChildren() const;
MenuContainer GetChildren(std::int32_t I) const;
std::int32_t GetCount() const;
std::int32_t GetHeight() const;
std::vector<std::string> GetTargets() const;
std::int32_t GetWidth() const;
std::int32_t GetX() const;
std::int32_t GetY() const;
};
}
#endif // MENUCONTAINER_HPP_INCLUDED

View File

@ -83,6 +83,7 @@
#include "Classes/KeyListen.hpp"
#include "Classes/LinkedList.hpp"
#include "Classes/Matrix.hpp"
#include "Classes/MenuContainer.hpp"
#include "Classes/MessageNode.hpp"
#include "Classes/Model.hpp"
#include "Classes/ModelInfo.hpp"
@ -190,14 +191,8 @@ namespace Internal
std::int32_t GetLoginWindow();
std::int32_t GetMapAngle();
std::vector<std::int32_t> GetMapRegions();
std::vector<std::string> GetMenuActions();
std::int32_t GetMenuCount();
std::int32_t GetMenuHeight();
std::vector<std::string> GetMenuTargets();
MenuContainer GetMenu();
bool GetMenuVisible();
std::int32_t GetMenuWidth();
std::int32_t GetMenuX();
std::int32_t GetMenuY();
std::int64_t GetMouseLastPressed();
std::int32_t GetMouseX();
std::int32_t GetMouseY();
@ -338,6 +333,14 @@ namespace Internal
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::vector<std::string> GetMenuActions();
std::int32_t GetMenuCount();
std::int32_t GetMenuHeight();
std::vector<std::string> GetMenuTargets();
std::int32_t GetMenuWidth();
std::int32_t GetMenuX();
std::int32_t GetMenuY();
void LockUpdate();
void UnlockUpdate();

Binary file not shown.