Skip to content

Commit

Permalink
code changes from client 2.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
moonheart committed Apr 27, 2024
1 parent 8b711fb commit 14e8a39
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using MessagePack;
using MementoMori.Ortega.Share.Enums;
using MessagePack;

namespace MementoMori.Ortega.Share.Data.ApiInterface.User
{
[MessagePackObject(true)]
[OrtegaApi("user/getMypage", true, false)]
public class GetMypageRequest : ApiRequestBase
{
public LanguageType LanguageType { get; set; }
}
}
2 changes: 2 additions & 0 deletions MementoMori.Ortega/Share/Data/Battle/EffectGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public class EffectGroup : IDeepCopy<EffectGroup>

public int LinkTargetGuid { get; set; }

public int GranterGuid { get; set; }

public bool IsExtendEffectTurn { get; set; }

public EffectGroup DeepCopy()
Expand Down
8 changes: 7 additions & 1 deletion MementoMori.Ortega/Share/Data/MyPage/MypageIconInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ public class MypageIconInfo

public long ImageId { get; set; }

public bool IsDisplayBadge { get; set; }
public bool IsBlackout { get; set; }

public bool IsDisplayBadge { get; set; }

public long NotOpenEventStoreIconId { get; set; }

public long OpenContentLocalTimestamp { get; set; }

public int SortOrder { get; set; }

Expand Down
2 changes: 2 additions & 0 deletions MementoMori.Ortega/Share/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,8 @@ public enum ErrorCode
ShopInvalidDisplayPeriodType,
[Description("IOS側の一時的な問題で復元処理を利用してください。")]
ShopIosVerifyReceiptProblem,
[Description("レシートデータが見つかりません。")]
ShopNotFoundReceipt,
[Description("ユーザーのステータスデータが見つかりません。")]
ChatUserStatusDtoNotFound = 271000,
[Description("ユーザーのアカウントデータが見つかりません。")]
Expand Down
2 changes: 1 addition & 1 deletion MementoMori/MementoMoriFuncs.Ops.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ await ExecuteQuickAction(async (log, token) =>

public async Task GetMyPage()
{
await ExecuteQuickAction(async (log, token) => { Mypage = await GetResponse<GetMypageRequest, GetMypageResponse>(new GetMypageRequest()); });
await ExecuteQuickAction(async (log, token) => { Mypage = await GetResponse<GetMypageRequest, GetMypageResponse>(new GetMypageRequest(){LanguageType = NetworkManager.LanguageType}); });
}

public async Task Debug()
Expand Down

0 comments on commit 14e8a39

Please sign in to comment.