|
@@ -180,30 +180,33 @@ namespace GFGGame
|
|
{
|
|
{
|
|
GMController.SendGMCommand("chapter " + content, messageSuc).Coroutine();
|
|
GMController.SendGMCommand("chapter " + content, messageSuc).Coroutine();
|
|
}
|
|
}
|
|
|
|
+
|
|
ActivitySProxy.ReqGetNewPlayerBonusStatus().Coroutine();
|
|
ActivitySProxy.ReqGetNewPlayerBonusStatus().Coroutine();
|
|
MainStorySProxy.GetStoryBonusDate().Coroutine();
|
|
MainStorySProxy.GetStoryBonusDate().Coroutine();
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
private async void SkipAllChapter()
|
|
private async void SkipAllChapter()
|
|
{
|
|
{
|
|
- List<StoryChapterCfg> chapterList = StoryChapterCfgArray.Instance.GetCfgsBysubType(1);
|
|
|
|
|
|
+ List<StoryChapterCfg> chapterList = StoryChapterCfgArray.Instance.GetCfgsBysubType(1);
|
|
foreach (var item in chapterList)
|
|
foreach (var item in chapterList)
|
|
{
|
|
{
|
|
- List<StoryLevelCfg> levelList = StoryLevelCfgArray.Instance.GetCfgsBytypeAndsubTypeAndchapterId(1,1,item.id);
|
|
|
|
|
|
+ List<StoryLevelCfg> levelList =
|
|
|
|
+ StoryLevelCfgArray.Instance.GetCfgsBytypeAndsubTypeAndchapterId(1, 1, item.id);
|
|
foreach (var level in levelList)
|
|
foreach (var level in levelList)
|
|
{
|
|
{
|
|
M2C_FinishInstanceZonesFightLevel response = null;
|
|
M2C_FinishInstanceZonesFightLevel response = null;
|
|
- response = (M2C_FinishInstanceZonesFightLevel)await MessageHelper.SendToServer(new C2M_FinishInstanceZonesFightLevel()
|
|
|
|
- {
|
|
|
|
- LevelCfgId = level.id,
|
|
|
|
- Score = 99999,
|
|
|
|
- NpcScore = 0,
|
|
|
|
- UseRecommend = false
|
|
|
|
- });
|
|
|
|
|
|
+ response = (M2C_FinishInstanceZonesFightLevel)await MessageHelper.SendToServer(
|
|
|
|
+ new C2M_FinishInstanceZonesFightLevel()
|
|
|
|
+ {
|
|
|
|
+ LevelCfgId = level.id,
|
|
|
|
+ Score = 99999,
|
|
|
|
+ NpcScore = 0,
|
|
|
|
+ UseRecommend = false
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
private async void OnClickBtnSkipCheckOpen()
|
|
private async void OnClickBtnSkipCheckOpen()
|
|
{
|
|
{
|
|
int isSkip = GameGlobal.skipCheckOpen == false ? 1 : 0;
|
|
int isSkip = GameGlobal.skipCheckOpen == false ? 1 : 0;
|
|
@@ -432,18 +435,19 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickShareTest2(EventContext context = null)
|
|
private void OnClickShareTest2(EventContext context = null)
|
|
{
|
|
{
|
|
- ShareContent content = new ShareContent();
|
|
|
|
- content.SetText("this is a test string.");
|
|
|
|
- content.SetImageUrl("https://f1.webshare.mob.com/code/demo/img/1.jpg");
|
|
|
|
- content.SetTitle("test title");
|
|
|
|
- content.SetTitleUrl("http://www.mob.com");
|
|
|
|
- content.SetSite("Mob-ShareSDK");
|
|
|
|
- content.SetSiteUrl("http://www.mob.com");
|
|
|
|
- content.SetUrl("http://www.mob.com");
|
|
|
|
- content.SetComment("test description");
|
|
|
|
- //content.SetMusicUrl("http://mp3.mwap8.com/destdir/Music/2009/20090601/ZuiXuanMinZuFeng20090601119.mp3");
|
|
|
|
- content.SetShareType(ContentType.Image);
|
|
|
|
- QDShareManager.Instance.ShowShareContentEditor(PlatformType.WeChat, content);
|
|
|
|
|
|
+ // ShareContent content = new ShareContent();
|
|
|
|
+ // content.SetText("this is a test string.");
|
|
|
|
+ // content.SetImageUrl("https://f1.webshare.mob.com/code/demo/img/1.jpg");
|
|
|
|
+ // content.SetTitle("test title");
|
|
|
|
+ // content.SetTitleUrl("http://www.mob.com");
|
|
|
|
+ // content.SetSite("Mob-ShareSDK");
|
|
|
|
+ // content.SetSiteUrl("http://www.mob.com");
|
|
|
|
+ // content.SetUrl("http://www.mob.com");
|
|
|
|
+ // content.SetComment("test description");
|
|
|
|
+ // //content.SetMusicUrl("http://mp3.mwap8.com/destdir/Music/2009/20090601/ZuiXuanMinZuFeng20090601119.mp3");
|
|
|
|
+ // content.SetShareType(ContentType.Image);
|
|
|
|
+ // QDShareManager.Instance.ShowShareContentEditor(PlatformType.WeChat, content);
|
|
|
|
+ QDDouYouManager.Instance.Share("分享标题测试", "分享内容测试");
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickShareTest3(EventContext context = null)
|
|
private void OnClickShareTest3(EventContext context = null)
|