From 1d20d7dced3dbe91ade0b39f32609758e60dbbe7 Mon Sep 17 00:00:00 2001
From: allez <305670599@qq.com>
Date: 星期三, 08 六月 2022 21:59:07 +0800
Subject: [PATCH] 0312 开启评分。关闭评分。打开dashboard
---
Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.mm | 15 +++++++++++++++
Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.h | 2 ++
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.h b/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.h
index 40a1fdf..5742152 100644
--- a/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.h
+++ b/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.h
@@ -59,7 +59,9 @@
#define U2S_GoToReview 113
#define U2S_ShowAccountView 114
#define U2S_CompleteTutorial 115
+#define U2S_CloseVote 116
#define U2S_DelAccount 117
+#define U2S_OpenDashboard 118
#define U2S_JPushAddLocalMessage 200
#define U2S_JPushRemoveLocalMessage 201
#define U2S_MakeKeyAndVisible 300
diff --git a/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.mm b/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.mm
index 34b6161..47670ac 100644
--- a/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.mm
+++ b/Channel/IOS/sohagame/Plugins/The2thWorldSDK/UniversalSDK.mm
@@ -468,6 +468,21 @@
case U2S_DelAccount:
[Soha deleteAccount];
break;
+ case U2S_GoToReview:
+ {
+ [Soha sendEventWithName:SohaSDKOpenVote];
+ break;
+ }
+ case U2S_CloseVote:
+ {
+ [Soha sendEventWithName:SohaSDKCloseVote];
+ break;
+ }
+ case U2S_OpenDashboard:
+ {
+ [Soha sohaDashboard];
+ break;
+ }
}
}
--
Gitblit v1.8.0