mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-13 05:24:33 -04:00
bindings: add comment uploading and ShareCommentLayer (#343)
This commit is contained in:
parent
5083017b50
commit
d050d039c0
1 changed files with 9 additions and 0 deletions
|
@ -2891,6 +2891,9 @@ class GameLevelManager : cocos2d::CCNode {
|
|||
void storeUserName(int userID, int accountID, gd::string str) = mac 0x2B9020, win 0xa1a70;
|
||||
gd::string userNameForUserID(int id) = mac 0x2B91D0, win 0xa1c20;
|
||||
void updateUserScore() = mac 0x2CB6A0, win 0xada60;
|
||||
void uploadAccountComment(gd::string text) = win 0xb3250;
|
||||
void uploadLevelComment(int levelID, gd::string text, int unk) = win 0xb31c0;
|
||||
void uploadComment(gd::string text, CommentType type, int levelID, int unk) = win 0xb32e0;
|
||||
void downloadLevel(int id, bool downloadData) = win 0xaa730;
|
||||
bool hasDownloadedLevel(int id) = win 0xab830;
|
||||
GJGameLevel* getSavedLevel(int id) = win 0xa2ee0;
|
||||
|
@ -5550,6 +5553,12 @@ class SetupTouchTogglePopup : FLAlertLayer {
|
|||
void updateTargetID() = mac 0x159480;
|
||||
}
|
||||
|
||||
class ShareCommentLayer : FLAlertLayer, TextInputDelegate, UploadActionDelegate, UploadPopupDelegate {
|
||||
static ShareCommentLayer* create(gd::string, int, CommentType, int) = win 0x24bac0;
|
||||
bool init(gd::string, int, CommentType, int) = win 0x24bb90;
|
||||
void onShare(CCObject*) = win 0x24c760;
|
||||
}
|
||||
|
||||
class SimplePlayer : cocos2d::CCSprite {
|
||||
SimplePlayer() {}
|
||||
void setSecondColor(const cocos2d::ccColor3B& color) {
|
||||
|
|
Loading…
Add table
Reference in a new issue