add CCScheduler bindings on mac

This commit is contained in:
HJfod 2023-04-16 11:23:29 +03:00
parent 6aefb18dbc
commit 255a48ec40

View file

@ -742,6 +742,10 @@ class cocos2d::CCScene {
class cocos2d::CCScheduler {
auto scheduleSelector(cocos2d::SEL_SCHEDULE, cocos2d::CCObject*, float, unsigned int, float, bool) = mac 0x242b20;
void scheduleSelector(cocos2d::SEL_SCHEDULE selector, cocos2d::CCObject* target, float interval, bool paused) {
this->scheduleSelector(selector, target, interval, kCCRepeatForever, 0, paused);
}
void unscheduleSelector(SEL_SCHEDULE pfnSelector, CCObject *pTarget) = mac 0x2425f0;
auto scheduleUpdateForTarget(cocos2d::CCObject*, int, bool) = mac 0x2438d0;
auto unscheduleAllForTarget(cocos2d::CCObject*) = mac 0x243e40;
auto unscheduleUpdateForTarget(cocos2d::CCObject const*) = mac 0x243c60;