Skip to content

Commit 5856853

Browse files
committed
DialogLayer constructor and destructor
1 parent 615bf7f commit 5856853

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5794,8 +5794,7 @@ class DialogDelegate {
57945794

57955795
[[link(android)]]
57965796
class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate {
5797-
// virtual ~DialogLayer();
5798-
DialogLayer() {
5797+
DialogLayer() = ios 0x8b91c {
57995798
m_animateTime = 0.f;
58005799
m_mainLayer = nullptr;
58015800
m_characterLabel = nullptr;
@@ -5811,6 +5810,10 @@ class DialogLayer : cocos2d::CCLayerColor, TextAreaDelegate {
58115810
m_animationType = DialogAnimationType::FromCenter;
58125811
m_noRemove = false;
58135812
}
5813+
~DialogLayer() = win inline, m1 0x33f6dc, imac 0x3b3f20, ios 0x8a7d8 {
5814+
cocos2d::CCDirector::sharedDirector()->getTouchDispatcher()->unregisterForcePrio(this);
5815+
CC_SAFE_RELEASE(m_dialogObjects);
5816+
}
58145817

58155818
static DialogLayer* create(DialogObject* object, int background) = win inline, m1 0x33f91c, imac 0x3b4270, ios 0x8a89c {
58165819
return DialogLayer::createDialogLayer(object, nullptr, background);

0 commit comments

Comments
 (0)