|
@@ -67,6 +67,8 @@ namespace GFGGame
|
|
|
if (data != null)
|
|
|
{
|
|
|
PoemGalleryDataManager.Instance.UpdateRoleInfo(response.WorksList[i].WorksId, response.WorksList[i].AuthorName);
|
|
|
+ PoemGalleryDataManager.Instance.UpdateFavoriteState(response.WorksList[i].WorksId, response.WorksList[i].CollectOrNot, response.WorksList[i].BeCollectedCount);
|
|
|
+ PoemGalleryDataManager.Instance.UpdateVoteiteState(response.WorksList[i].WorksId, response.WorksList[i].LikeOrNot, response.WorksList[i].BelikedCount);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -111,6 +113,8 @@ namespace GFGGame
|
|
|
if (data != null)
|
|
|
{
|
|
|
PoemGalleryDataManager.Instance.UpdateRoleInfo(response.RankList[i].WorksId, response.RankList[i].AuthorName, i + 1);
|
|
|
+ PoemGalleryDataManager.Instance.UpdateFavoriteState(response.RankList[i].WorksId, response.RankList[i].CollectOrNot, response.RankList[i].BeCollectedCount);
|
|
|
+ PoemGalleryDataManager.Instance.UpdateVoteiteState(response.RankList[i].WorksId, response.RankList[i].LikeOrNot, response.RankList[i].BelikedCount);
|
|
|
}
|
|
|
else
|
|
|
{
|