|
|
|
|
@ -50,13 +50,13 @@ namespace UltraCombos.Frozen.RoyalGallery |
|
|
|
|
{ |
|
|
|
|
var data = AppData.Instance; |
|
|
|
|
data.Trace("ResourceClient::GetPage()"); |
|
|
|
|
|
|
|
|
|
Debug.Log($"data.isGetPageBySelf1 = {data.isGetPageBySelf}"); |
|
|
|
|
if (data.isGetPageBySelf) |
|
|
|
|
{ |
|
|
|
|
GetPageBySelf(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Debug.Log($"data.isGetPageBySelf2 = {data.isGetPageBySelf}"); |
|
|
|
|
if (/*State != ChannelState.Ready ||*/ is_index_got) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
@ -65,6 +65,7 @@ namespace UltraCombos.Frozen.RoyalGallery |
|
|
|
|
|
|
|
|
|
private async void GetPageAsync() |
|
|
|
|
{ |
|
|
|
|
Debug.Log("GetPageAsync()"); |
|
|
|
|
try |
|
|
|
|
{ |
|
|
|
|
var data = AppData.Instance; |
|
|
|
|
@ -87,6 +88,7 @@ namespace UltraCombos.Frozen.RoyalGallery |
|
|
|
|
|
|
|
|
|
private void GetPageBySelf() |
|
|
|
|
{ |
|
|
|
|
Debug.Log("GetPageBySelf()"); |
|
|
|
|
PageManager pm = FindObjectOfType<PageManager>(); |
|
|
|
|
if (!pm) |
|
|
|
|
{ |
|
|
|
|
|