mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
add dialog enum types to bindings
This commit is contained in:
parent
83fab2bdeb
commit
36ac8397ce
2 changed files with 18 additions and 2 deletions
|
@ -1016,8 +1016,9 @@ class DialogLayer : cocos2d::CCLayerColor {
|
|||
}
|
||||
|
||||
static DialogLayer* createDialogLayer(DialogObject*, cocos2d::CCArray*, int) = mac 0x2047d0, win 0x6D470, ios 0x459d0;
|
||||
bool init(DialogLayer*, DialogObject*, cocos2d::CCArray*, int) = win 0x6D520;
|
||||
cocos2d::CCAction* animateIn(int location) = win 0x6E130;
|
||||
bool init(DialogObject*, cocos2d::CCArray*, int) = win 0x6D520;
|
||||
void animateIn(DialogAnimationType location) = win 0x6E130, mac 0x205a70;
|
||||
void updateChatPlacement(DialogChatPlacement placement) = mac 0x205360;
|
||||
|
||||
~DialogLayer() = mac 0x204720;
|
||||
virtual void onEnter() = mac 0x205900, win 0x23750; // same as every other FLAlertLayer
|
||||
|
|
|
@ -313,6 +313,21 @@ enum class LevelLeaderboardType {
|
|||
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
|
||||
enum class ComparisonType {
|
||||
Equals = 0,
|
||||
|
|
Loading…
Reference in a new issue