add not working clipboard

This commit is contained in:
altalk23 2023-10-01 23:25:13 +03:00
parent 2847beed8f
commit 9fa9284726
3 changed files with 19 additions and 9 deletions

View file

@ -1502,10 +1502,10 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
bool m_isPlayingMusic;
EditButtonBar* m_buttonBar;
PAD = mac 0x8, win 0x4;
PAD = mac 0x8, win 0x4, android 0x4;
cocos2d::CCArray* m_hideableUIElementArray;
float m_gridSize;
PAD = mac 0x18, win 0x14;
PAD = mac 0x18, win 0x14, android 0x14;
bool m_moveModifier;
bool m_swipeModifier;
int m_rotationTouchID;
@ -1579,7 +1579,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
CCMenuItemSpriteExtra* m_layerNextBtn;
CCMenuItemSpriteExtra* m_layerPrevBtn;
CCMenuItemSpriteExtra* m_goToBaseBtn;
PAD = mac 0x10, win 0x8;
PAD = mac 0x10, win 0x8, android 0x8;
int m_selectedCreateObjectID;
cocos2d::CCArray* m_createButtonArray;
cocos2d::CCArray* m_customObjectButtonArray;
@ -1588,16 +1588,16 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ
LevelEditorLayer* m_editorLayer;
cocos2d::CCPoint m_swipeStart;
cocos2d::CCPoint m_swipeEnd;
PAD = mac 0x8, win 0x8;
PAD = mac 0x8, win 0x8, android 0x8;
cocos2d::CCPoint m_lastTouchPoint;
cocos2d::CCPoint m_cameraTest;
PAD = mac 0x8, win 0x8;
PAD = mac 0x8, win 0x8, android 0x8;
GameObject* m_selectedObject;
PAD = mac 0x8, win 0x4;
PAD = mac 0x8, win 0x4, android 0x4;
bool m_unk2cc;
bool m_freeMovingObject;
gd::string m_clipboard;
PAD = mac 0x10, win 0x8;
PAD = mac 0x10, win 0x8, android 0x8;
int m_selectedTab;
int m_timesSelected;
PAD = win 0x20;
@ -1704,7 +1704,7 @@ class EffectGameObject : GameObject {
bool m_dynamicBlock;
int m_itemBlockAID;
int m_pickupMode;
PAD = mac 0x28, win 0x24;
PAD = mac 0x28, win 0x24, android 0x24;
}
[[link(android)]]
@ -5950,7 +5950,7 @@ class TableViewDelegate {
[[link(android)]]
class TeleportPortalObject : GameObject {
PAD = mac 0x8, win 0x4;
PAD = mac 0x8, win 0x4, android 0x4;
TeleportPortalObject* m_orangePortal;
bool m_isYellowPortal;
float m_teleportYOffset;

View file

@ -9,6 +9,14 @@ using namespace geode::prelude;
#include <Geode/utils/web.hpp>
#include <ghc/filesystem.hpp>
bool utils::clipboard::write(std::string const& data) {
return false;
}
std::string utils::clipboard::read() {
return "";
}
ghc::filesystem::path dirs::getGameDir() {
return ghc::filesystem::path(
"/storage/emulated/0/Android/data/com.geode.launcher/files/game"

View file

@ -26,4 +26,6 @@ GEODE_MEMBER_CHECK(GameStatsManager, m_completedLevels, 0x164);
GEODE_MEMBER_CHECK(DailyLevelPage, m_weekly, 0x1ed);
GEODE_MEMBER_CHECK(TeleportPortalObject, m_orangePortal, 0x430);
#endif