add dialog enum types to bindings

This commit is contained in:
qimiko 2023-06-04 04:30:47 -07:00
parent 83fab2bdeb
commit 36ac8397ce
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3
2 changed files with 18 additions and 2 deletions

View file

@ -1016,8 +1016,9 @@ class DialogLayer : cocos2d::CCLayerColor {
} }
static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = mac 0x2047d0, win 0x6D470, ios 0x459d0; static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = mac 0x2047d0, win 0x6D470, ios 0x459d0;
bool init(DialogLayer*, DialogObject*, cocos2d::CCArray*, int) = win 0x6D520; bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x6D520;
cocos2d::CCAction* animateIn(int location) = win 0x6E130; void animateIn(DialogAnimationType location) = win 0x6E130, mac 0x205a70;
void updateChatPlacement(DialogChatPlacement placement) = mac 0x205360;
~DialogLayer() = mac 0x204720; ~DialogLayer() = mac 0x204720;
virtual void onEnter() = mac 0x205900, win 0x23750; // same as every other FLAlertLayer virtual void onEnter() = mac 0x205900, win 0x23750; // same as every other FLAlertLayer

View file

@ -313,6 +313,21 @@ enum class LevelLeaderboardType {
Weekly = 2 Weekly = 2
}; };
enum class DialogChatPlacement {
Center = 0,
Top = 1,
Bottom = 2,
};
enum class DialogAnimationType {
Instant = 0,
FromCenter = 1,
FromLeft = 2,
FromRight = 3,
FromTop = 4,
// a 5th type is defined which acts exactly the same as FromTop
};
// Geode Addition // Geode Addition
enum class ComparisonType { enum class ComparisonType {
Equals = 0, Equals = 0,