mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
add chest reward related bindings
This commit is contained in:
parent
6af9f8cb0f
commit
b097404063
2 changed files with 20 additions and 1 deletions
|
@ -2436,7 +2436,7 @@ class GJItemIcon : cocos2d::CCSprite {
|
|||
bool, bool, bool, cocos2d::ccColor3B
|
||||
) = win 0x12ccf0;
|
||||
|
||||
GJItemIcon* createBrowserIcon(UnlockType _type, int _id) {
|
||||
static GJItemIcon* createBrowserIcon(UnlockType _type, int _id) {
|
||||
return GJItemIcon::create(_type, _id,
|
||||
{ 0xaf, 0xaf, 0xaf }, { 0xff, 0xff, 0xff },
|
||||
false, true, true,
|
||||
|
@ -2491,6 +2491,14 @@ class GJRequestCell : TableViewCell {
|
|||
|
||||
class GJRewardDelegate {}
|
||||
|
||||
class GJRewardItem : cocos2d::CCObject {
|
||||
int m_chestID;
|
||||
int m_timeRemaining;
|
||||
GJRewardType m_rewardType;
|
||||
cocos2d::CCArray* m_rewardObjects;
|
||||
bool m_unk;
|
||||
}
|
||||
|
||||
class GJRewardObject : cocos2d::CCObject {
|
||||
SpecialRewardItem m_specialRewardItem;
|
||||
UnlockType m_unlockType;
|
||||
|
@ -5120,6 +5128,10 @@ class RetryLevelLayer {
|
|||
static RetryLevelLayer* create() = mac 0x28dd60, win 0x216390;
|
||||
}
|
||||
|
||||
class RewardsPage : FLAlertLayer {
|
||||
bool init() = win 0x2178F0;
|
||||
}
|
||||
|
||||
class RingObject : EffectGameObject {
|
||||
bool create(char const*) = win 0x252220;
|
||||
bool init(char const*) = win 0x2522E0;
|
||||
|
|
|
@ -289,6 +289,13 @@ enum class GJLevelType {
|
|||
Saved = 3
|
||||
};
|
||||
|
||||
enum class GJRewardType
|
||||
{
|
||||
Unknown = 0x0,
|
||||
Small = 0x1,
|
||||
Large = 0x2
|
||||
};
|
||||
|
||||
enum class IconType {
|
||||
Cube = 0,
|
||||
Ship = 1,
|
||||
|
|
Loading…
Reference in a new issue