diff --git a/bindings/2.2081/Cocos2d.bro b/bindings/2.2081/Cocos2d.bro index 86b75de2f..fc27870d3 100644 --- a/bindings/2.2081/Cocos2d.bro +++ b/bindings/2.2081/Cocos2d.bro @@ -5965,15 +5965,25 @@ class DS_Dictionary { bool vec2FromString(gd::string const&, cocos2d::CCPoint&) = m1 0x140824, imac 0x17a9b0; } +[[link(android)]] +class ObjectDecoderDelegate { + virtual cocos2d::CCObject* getDecodedObject(int objectType, DS_Dictionary* data) = inline; +} + [[link(win, android)]] class ObjectDecoder : cocos2d::CCNode { // virtual ~ObjectDecoder(); static ObjectDecoder* sharedDecoder() = imac 0x792320, m1 0x69aa80, ios 0x2359f0; + cocos2d::CCObject* getDecodedObject(int objectType, DS_Dictionary* data) = imac 0x7923a0, m1 0x69aaf8, ios 0x235a5c; + virtual bool init() = imac 0x792390, m1 0x69aaf4, ios 0x235a58; - cocos2d::CCObject* getDecodedObject(int, DS_Dictionary*) = imac 0x7923a0, m1 0x69aaf8, ios 0x235a5c; + ObjectDecoderDelegate const* getDelegate() = inline; + void setDelegate(ObjectDecoderDelegate*) = inline; + + ObjectDecoderDelegate* m_delegate; } [[link(win, android)]] diff --git a/bindings/2.2081/inline/ObjectDecoderDelegate.cpp b/bindings/2.2081/inline/ObjectDecoderDelegate.cpp new file mode 100644 index 000000000..c156f7bc1 --- /dev/null +++ b/bindings/2.2081/inline/ObjectDecoderDelegate.cpp @@ -0,0 +1,12 @@ +#include + + +#if defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_IOS) +#endif + +#if defined(GEODE_IS_WINDOWS) +#endif + +#if defined(GEODE_IS_IOS) +#endif +