-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eea697a
commit ab87bfd
Showing
5 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/CCNode.hpp> | ||
#include <Geode/modify/GameObject.hpp> | ||
#include "../Client/Client.h" | ||
|
||
using namespace geode::prelude; | ||
|
||
class $modify (GameObject) | ||
{ | ||
virtual void setVisible(bool visible) | ||
{ | ||
if (Client::GetModuleEnabled("obj-vis")) | ||
GameObject::setVisible(true); | ||
else | ||
GameObject::setVisible(visible); | ||
} | ||
}; | ||
|
||
class $modify (CCNode) | ||
{ | ||
virtual void setVisible(bool visible) | ||
{ | ||
if (Client::GetModuleEnabled("node-vis")) | ||
CCNode::setVisible(true); | ||
else | ||
CCNode::setVisible(visible); | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
#include <Geode/Geode.hpp> | ||
/*#include <Geode/Geode.hpp> | ||
#include <Geode/modify/GJStoreItem.hpp> | ||
#include "Client/Client.h" | ||
using namespace geode::prelude; | ||
using namespace geode::prelude; | ||
class $modify (GJStoreItem) | ||
{ | ||
bool init(int p0, int p1, int p2, int p3, ShopType p4) | ||
{ | ||
log::info("p0 {}, p1: {}, p2: {}, p3: {}", p0, p1, p2, p3); | ||
return GJStoreItem::init(p0, p1, p2, p3, p4); | ||
} | ||
};*/ |