From 630b0aab8430f7ba717bb02b2132a2a7cc6d31e2 Mon Sep 17 00:00:00 2001 From: rfi Date: Thu, 12 Oct 2023 22:20:53 +0700 Subject: [PATCH] types refactor --- AscNet.Common/MsgPack/Types.cs | 3585 +++++++++++-------- AscNet.GameServer/Handlers/AccountModule.cs | 347 +- Resources/Data/NotifyLogin.json | 79 +- 3 files changed, 2283 insertions(+), 1728 deletions(-) diff --git a/AscNet.Common/MsgPack/Types.cs b/AscNet.Common/MsgPack/Types.cs index dadf7a6..8717944 100644 --- a/AscNet.Common/MsgPack/Types.cs +++ b/AscNet.Common/MsgPack/Types.cs @@ -1,587 +1,495 @@ #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. namespace AscNet.Common.MsgPack { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class HandshakeRequest { - public string Sha1 { get; set; } - public string DocumentVersion { get; set; } - public string ApplicationVersion { get; set; } + public String DocumentVersion { get; set; } + public String Sha1 { get; set; } + public String ApplicationVersion { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class HandshakeResponse { - public int Code { get; set; } - public int UtcOpenTime { get; set; } + public Int32 Code { get; set; } + public Int32 UtcOpenTime { get; set; } public dynamic? Sha1Table { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class LoginRequest { - public int LoginType { get; set; } - public string ServerBean { get; set; } - public int LoginPlatform { get; set; } - public string ClientVersion { get; set; } - public string DeviceId { get; set; } - public int UserId { get; set; } - public string Token { get; set; } + public String Token { get; set; } + public String DeviceId { get; set; } + public Int32 LoginType { get; set; } + public String ServerBean { get; set; } + public Int32 LoginPlatform { get; set; } + public String ClientVersion { get; set; } + public Int32 UserId { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class LoginResponse { - public int Code { get; set; } - public int UtcOffset { get; set; } - public uint UtcServerTime { get; set; } - public string ReconnectToken { get; set; } + public Int32 Code { get; set; } + public Int32 UtcOffset { get; set; } + public UInt32 UtcServerTime { get; set; } + public String ReconnectToken { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyDailyLotteryData { - public dynamic[] Lotteries { get; set; } + public List Lotteries { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLogin { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginPlayerData { - public uint Id { get; set; } - public string Name { get; set; } - public int Level { get; set; } - public string Sign { get; set; } - public uint DisplayCharId { get; set; } - [MessagePack.MessagePackObject(true)] + public UInt32 Id { get; set; } + public String Name { get; set; } + public Int32 Level { get; set; } + public String Sign { get; set; } + public UInt32 DisplayCharId { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginPlayerDataBirthday { - public int Mon { get; set; } - public int Day { get; set; } + public Int32 Mon { get; set; } + public Int32 Day { get; set; } } public NotifyLoginPlayerDataBirthday Birthday { get; set; } - public int HonorLevel { get; set; } - public string ServerId { get; set; } - public int Likes { get; set; } - public int CurrTeamId { get; set; } - public int ChallengeEventId { get; set; } - public uint CurrHeadPortraitId { get; set; } - public int CurrHeadFrameId { get; set; } - public int CurrMedalId { get; set; } - public int AppearanceShowType { get; set; } - public int DailyReceiveGiftCount { get; set; } - public int DailyActivenessRewardStatus { get; set; } - public int WeeklyActivenessRewardStatus { get; set; } - public int[] Marks { get; set; } - public uint[] GuideData { get; set; } - public int[] Communications { get; set; } - public dynamic[] ShowCharacters { get; set; } - public dynamic[] ShieldFuncList { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 HonorLevel { get; set; } + public String ServerId { get; set; } + public Int32 Likes { get; set; } + public Int32 CurrTeamId { get; set; } + public Int32 ChallengeEventId { get; set; } + public UInt32 CurrHeadPortraitId { get; set; } + public Int32 CurrHeadFrameId { get; set; } + public Int32 CurrMedalId { get; set; } + public Int32 AppearanceShowType { get; set; } + public Int32 DailyReceiveGiftCount { get; set; } + public Int32 DailyActivenessRewardStatus { get; set; } + public Int32 WeeklyActivenessRewardStatus { get; set; } + public List Marks { get; set; } = new(); + public List GuideData { get; set; } = new(); + public List Communications { get; set; } = new(); + public List ShowCharacters { get; set; } = new(); + public List ShieldFuncList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginPlayerDataAppearanceSettingInfo { - public int TitleType { get; set; } - public int CharacterType { get; set; } - public int FashionType { get; set; } - public int WeaponFashionType { get; set; } - public int DormitoryType { get; set; } - public int DormitoryId { get; set; } + public Int32 TitleType { get; set; } + public Int32 CharacterType { get; set; } + public Int32 FashionType { get; set; } + public Int32 WeaponFashionType { get; set; } + public Int32 DormitoryType { get; set; } + public UInt32 DormitoryId { get; set; } } public NotifyLoginPlayerDataAppearanceSettingInfo AppearanceSettingInfo { get; set; } - public uint CreateTime { get; set; } - public uint LastLoginTime { get; set; } - public int ReportTime { get; set; } - public uint ChangeNameTime { get; set; } - public int Flags { get; set; } + public UInt32 CreateTime { get; set; } + public UInt32 LastLoginTime { get; set; } + public Int32 ReportTime { get; set; } + public UInt32 ChangeNameTime { get; set; } + public Int32 Flags { get; set; } } public NotifyLoginPlayerData PlayerData { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginTimeLimitCtrlConfigList + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginTimeLimitCtrlConfig { - public int Id { get; set; } - public uint StartTime { get; set; } - public uint EndTime { get; set; } + public Int32 Id { get; set; } + public UInt32 StartTime { get; set; } + public UInt32 EndTime { get; set; } } - public NotifyLoginTimeLimitCtrlConfigList[] TimeLimitCtrlConfigList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginSharePlatformConfigList + public List TimeLimitCtrlConfigList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginSharePlatformConfig { - public int Id { get; set; } - public int[] SdkId { get; set; } + public Int32 Id { get; set; } + public List SdkId { get; set; } = new(); } - public NotifyLoginSharePlatformConfigList[] SharePlatformConfigList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginItemList + public List SharePlatformConfigList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginItem { - public int Id { get; set; } - public uint Count { get; set; } - public int BuyTimes { get; set; } - public int TotalBuyTimes { get; set; } - public int LastBuyTime { get; set; } - public uint RefreshTime { get; set; } - public uint CreateTime { get; set; } + public Int32 Id { get; set; } + public UInt32 Count { get; set; } + public Int32 BuyTimes { get; set; } + public Int32 TotalBuyTimes { get; set; } + public Int32 LastBuyTime { get; set; } + public UInt32 RefreshTime { get; set; } + public UInt32 CreateTime { get; set; } } - public NotifyLoginItemList[] ItemList { get; set; } + public List ItemList { get; set; } = new(); public Dictionary ItemRecycleDict { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginCharacterList + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginCharacter { - public uint Id { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Quality { get; set; } - public int InitQuality { get; set; } - public int Star { get; set; } - public int Grade { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginCharacterListSkillList + public UInt32 Id { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } + public Int32 Quality { get; set; } + public Int32 InitQuality { get; set; } + public Int32 Star { get; set; } + public Int32 Grade { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginCharacterSkill { - public uint Id { get; set; } - public int Level { get; set; } + public UInt32 Id { get; set; } + public Int32 Level { get; set; } } - public NotifyLoginCharacterListSkillList[] SkillList { get; set; } - public dynamic[] EnhanceSkillList { get; set; } - public uint FashionId { get; set; } - public uint CreateTime { get; set; } - public int TrustLv { get; set; } - public int TrustExp { get; set; } - public uint Ability { get; set; } - public int LiberateLv { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginCharacterListCharacterHeadInfo + public List SkillList { get; set; } = new(); + public List EnhanceSkillList { get; set; } = new(); + public UInt32 FashionId { get; set; } + public UInt32 CreateTime { get; set; } + public Int32 TrustLv { get; set; } + public Int32 TrustExp { get; set; } + public UInt32 Ability { get; set; } + public Int32 LiberateLv { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginCharacterCharacterHeadInfo { - public int HeadFashionId { get; set; } - public int HeadFashionType { get; set; } + public UInt32 HeadFashionId { get; set; } + public Int32 HeadFashionType { get; set; } } - public NotifyLoginCharacterListCharacterHeadInfo CharacterHeadInfo { get; set; } + public NotifyLoginCharacterCharacterHeadInfo CharacterHeadInfo { get; set; } } - public NotifyLoginCharacterList[] CharacterList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginEquipList + public List CharacterList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginEquip { - public int Id { get; set; } - public uint TemplateId { get; set; } - public uint CharacterId { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Breakthrough { get; set; } - public dynamic[] ResonanceInfo { get; set; } - public dynamic[] UnconfirmedResonanceInfo { get; set; } - public dynamic[] AwakeSlotList { get; set; } - public bool IsLock { get; set; } - public uint CreateTime { get; set; } - public bool IsRecycle { get; set; } + public Int32 Id { get; set; } + public UInt32 TemplateId { get; set; } + public Int32 CharacterId { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } + public Int32 Breakthrough { get; set; } + public List ResonanceInfo { get; set; } = new(); + public List UnconfirmedResonanceInfo { get; set; } = new(); + public List AwakeSlotList { get; set; } = new(); + public Boolean IsLock { get; set; } + public UInt32 CreateTime { get; set; } + public Boolean IsRecycle { get; set; } } - public NotifyLoginEquipList[] EquipList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginFashionList + public List EquipList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginFashion { - public uint Id { get; set; } - public bool IsLock { get; set; } + public UInt32 Id { get; set; } + public Boolean IsLock { get; set; } } - public NotifyLoginFashionList[] FashionList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginHeadPortraitList + public List FashionList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginHeadPortrait { - public uint Id { get; set; } - public int LeftCount { get; set; } - public uint BeginTime { get; set; } + public UInt32 Id { get; set; } + public Int32 LeftCount { get; set; } + public UInt32 BeginTime { get; set; } } - public NotifyLoginHeadPortraitList[] HeadPortraitList { get; set; } - [MessagePack.MessagePackObject(true)] + public List HeadPortraitList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginBaseEquipLoginData { - public dynamic[] BaseEquipList { get; set; } - public dynamic[] DressedList { get; set; } + public List BaseEquipList { get; set; } = new(); + public List DressedList { get; set; } = new(); } public NotifyLoginBaseEquipLoginData BaseEquipLoginData { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenData { public Dictionary StageData { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenDataFubenBaseData { - public int RefreshTime { get; set; } - public int SelectedCharId { get; set; } - public int UrgentAlarmCount { get; set; } - public int WeeklyUrgentCount { get; set; } + public Int32 RefreshTime { get; set; } + public UInt32 SelectedCharId { get; set; } + public Int32 UrgentAlarmCount { get; set; } + public Int32 WeeklyUrgentCount { get; set; } public dynamic? DayUrgentCount { get; set; } } public NotifyLoginFubenDataFubenBaseData FubenBaseData { get; set; } - public dynamic[] UnlockHideStages { get; set; } - public dynamic[] StageDifficulties { get; set; } + public List UnlockHideStages { get; set; } = new(); + public List StageDifficulties { get; set; } = new(); } public NotifyLoginFubenData FubenData { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenMainLineData { - public uint[] TreasureData { get; set; } + public List TreasureData { get; set; } = new(); public Dictionary LastPassStage { get; set; } - public dynamic[] MainChapterEventInfos { get; set; } + public List MainChapterEventInfos { get; set; } = new(); } public NotifyLoginFubenMainLineData FubenMainLineData { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenChapterExtraLoginData { - public dynamic[] TreasureData { get; set; } - public dynamic[] LastPassStage { get; set; } - public dynamic[] ChapterEventInfos { get; set; } + public List TreasureData { get; set; } = new(); + public List LastPassStage { get; set; } = new(); + public List ChapterEventInfos { get; set; } = new(); } public NotifyLoginFubenChapterExtraLoginData FubenChapterExtraLoginData { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenUrgentEventData { public dynamic? UrgentEventData { get; set; } } public NotifyLoginFubenUrgentEventData FubenUrgentEventData { get; set; } - public dynamic[] AutoFightRecords { get; set; } + public List AutoFightRecords { get; set; } = new(); public Dictionary TeamGroupData { get; set; } public dynamic? TeamPrefabData { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyLoginSignInf + [global::MessagePack.MessagePackObject(true)] + public class NotifyLoginSignInfo { - public int Id { get; set; } - public int Round { get; set; } - public int Day { get; set; } - public bool Got { get; set; } - public int FinishDay { get; set; } + public Int32 Id { get; set; } + public Int32 Round { get; set; } + public Int32 Day { get; set; } + public Boolean Got { get; set; } + public UInt32 FinishDay { get; set; } } - public NotifyLoginSignInf[] SignInfos { get; set; } - public dynamic[] AssignChapterRecord { get; set; } - public dynamic[] WeaponFashionList { get; set; } - public dynamic[] PartnerList { get; set; } - public dynamic[] ShieldedProtocolList { get; set; } + public List SignInfos { get; set; } = new(); + public List AssignChapterRecord { get; set; } = new(); + public List WeaponFashionList { get; set; } = new(); + public List PartnerList { get; set; } = new(); + public List ShieldedProtocolList { get; set; } = new(); public dynamic? LimitedLoginData { get; set; } - public uint UseBackgroundId { get; set; } - [MessagePack.MessagePackObject(true)] + public UInt32 UseBackgroundId { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyLoginFubenShortStoryLoginData { - public dynamic[] TreasureData { get; set; } - public dynamic[] LastPassStage { get; set; } - public dynamic[] ChapterEventInfos { get; set; } + public List TreasureData { get; set; } = new(); + public List LastPassStage { get; set; } = new(); + public List ChapterEventInfos { get; set; } = new(); } public NotifyLoginFubenShortStoryLoginData FubenShortStoryLoginData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPayInfo { - public float TotalPayMoney { get; set; } - public bool IsGetFirstPayReward { get; set; } + public Single TotalPayMoney { get; set; } + public Boolean IsGetFirstPayReward { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyEquipChipGroupList { - public dynamic[] ChipGroupDataList { get; set; } + public List ChipGroupDataList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyEquipChipAutoRecycleSite { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyEquipChipAutoRecycleSiteChipRecycleSite { - public int[] RecycleStar { get; set; } - public int Days { get; set; } - public int SetRecycleTime { get; set; } + public List RecycleStar { get; set; } = new(); + public Int32 Days { get; set; } + public Int32 SetRecycleTime { get; set; } } public NotifyEquipChipAutoRecycleSiteChipRecycleSite ChipRecycleSite { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyEquipGuideData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyEquipGuideDataEquipGuideData { - public int TargetId { get; set; } - public dynamic[] PutOnPosList { get; set; } - public dynamic[] FinishedTargets { get; set; } + public Int32 TargetId { get; set; } + public List PutOnPosList { get; set; } = new(); + public List FinishedTargets { get; set; } = new(); } public NotifyEquipGuideDataEquipGuideData EquipGuideData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyArchiveLoginData { - [MessagePack.MessagePackObject(true)] - public class NotifyArchiveLoginDataMonste + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveLoginDataMonster { - public uint Id { get; set; } - public int Killed { get; set; } + public UInt32 Id { get; set; } + public Int32 Killed { get; set; } } - public NotifyArchiveLoginDataMonste[] Monsters { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyArchiveLoginDataEqui + public List Monsters { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveLoginDataEquip { - public uint Id { get; set; } - public int Level { get; set; } - public int Breakthrough { get; set; } - public int ResonanceCount { get; set; } + public UInt32 Id { get; set; } + public Int32 Level { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ResonanceCount { get; set; } } - public NotifyArchiveLoginDataEqui[] Equips { get; set; } - public dynamic[] MonsterUnlockIds { get; set; } - public dynamic[] WeaponUnlockIds { get; set; } - public dynamic[] AwarenessUnlockIds { get; set; } - public dynamic[] MonsterSettings { get; set; } - public dynamic[] WeaponSettings { get; set; } - public dynamic[] AwarenessSettings { get; set; } - public dynamic[] MonsterInfos { get; set; } - public dynamic[] MonsterSkills { get; set; } - public uint[] UnlockCgs { get; set; } - public dynamic[] UnlockStoryDetails { get; set; } - public dynamic[] PartnerUnlockIds { get; set; } - public dynamic[] PartnerSettings { get; set; } - public uint[] UnlockPvDetails { get; set; } - public dynamic[] UnlockMails { get; set; } + public List Equips { get; set; } = new(); + public List MonsterUnlockIds { get; set; } = new(); + public List WeaponUnlockIds { get; set; } = new(); + public List AwarenessUnlockIds { get; set; } = new(); + public List MonsterSettings { get; set; } = new(); + public List WeaponSettings { get; set; } = new(); + public List AwarenessSettings { get; set; } = new(); + public List MonsterInfos { get; set; } = new(); + public List MonsterSkills { get; set; } = new(); + public List UnlockCgs { get; set; } = new(); + public List UnlockStoryDetails { get; set; } = new(); + public List PartnerUnlockIds { get; set; } = new(); + public List PartnerSettings { get; set; } = new(); + public List UnlockPvDetails { get; set; } = new(); + public List UnlockMails { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyChatLoginData { - public uint RefreshTime { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyChatLoginDataUnlockEmoj + public UInt32 RefreshTime { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyChatLoginDataUnlockEmoji { - public uint Id { get; set; } - public int EndTime { get; set; } + public UInt32 Id { get; set; } + public Int32 EndTime { get; set; } } - public NotifyChatLoginDataUnlockEmoj[] UnlockEmojis { get; set; } + public List UnlockEmojis { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifySocialData { - public dynamic[] FriendData { get; set; } - public dynamic[] ApplyData { get; set; } - public dynamic[] Remarks { get; set; } - public dynamic[] BlockData { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifySocialDataFriendData + { + public UInt32 PlayerId { get; set; } + public UInt32 CreateTime { get; set; } + } + + public List FriendData { get; set; } = new(); + public List ApplyData { get; set; } = new(); + public List Remarks { get; set; } = new(); + public List BlockData { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTaskData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTaskDataTaskData { - [MessagePack.MessagePackObject(true)] - public class NotifyTaskDataTaskDataTas + [global::MessagePack.MessagePackObject(true)] + public class NotifyTaskDataTaskDataTask { - public uint Id { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyTaskDataTaskDataTasSchedule + public UInt32 Id { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyTaskDataTaskDataTaskSchedule { - public uint Id { get; set; } - public int Value { get; set; } + public UInt32 Id { get; set; } + public Int32 Value { get; set; } } - public NotifyTaskDataTaskDataTasSchedule[] Schedule { get; set; } - public int State { get; set; } - public uint RecordTime { get; set; } - public int ActivityId { get; set; } + public List Schedule { get; set; } = new(); + public Int32 State { get; set; } + public UInt32 RecordTime { get; set; } + public Int32 ActivityId { get; set; } } - public NotifyTaskDataTaskDataTas[] Tasks { get; set; } - public uint[] Course { get; set; } - public int[] FinishedTasks { get; set; } - public int[] NewPlayerRewardRecord { get; set; } - public dynamic[] TaskLimitIdActiveInfos { get; set; } - public dynamic[] NewbieRecvProgress { get; set; } - public bool NewbieHonorReward { get; set; } - public int NewbieUnlockPeriod { get; set; } + public List Tasks { get; set; } = new(); + public List Course { get; set; } = new(); + public List FinishedTasks { get; set; } = new(); + public List NewPlayerRewardRecord { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyTaskDataTaskDataTaskLimitIdActiveInfo + { + public Int32 TaskLimitId { get; set; } + public UInt32 ActiveTime { get; set; } + } + + public List TaskLimitIdActiveInfos { get; set; } = new(); + public List NewbieRecvProgress { get; set; } = new(); + public Boolean NewbieHonorReward { get; set; } + public Int32 NewbieUnlockPeriod { get; set; } } public NotifyTaskDataTaskData TaskData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyActivenessStatus { - public int DailyActivenessRewardStatus { get; set; } - public int WeeklyActivenessRewardStatus { get; set; } + public Int32 DailyActivenessRewardStatus { get; set; } + public Int32 WeeklyActivenessRewardStatus { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyNewPlayerTaskStatus { - public uint NewPlayerTaskActiveDay { get; set; } + public Int32 NewPlayerTaskActiveDay { get; set; } } - [MessagePack.MessagePackObject(true)] - public class NotifyRegression2Data - { - [MessagePack.MessagePackObject(true)] - public class NotifyRegression2DataData - { - [MessagePack.MessagePackObject(true)] - public class NotifyRegression2DataDataActivityData - { - public int Id { get; set; } - public int BeginTime { get; set; } - public int State { get; set; } - } - - public NotifyRegression2DataDataActivityData ActivityData { get; set; } - public dynamic? SignInData { get; set; } - public dynamic? InviteData { get; set; } - public dynamic[] GachaDatas { get; set; } - } - - public NotifyRegression2DataData Data { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyMaintainerActionData - { - public int Id { get; set; } - public uint ResetTime { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyMaintainerActionDataNod - { - public int NodeId { get; set; } - public int NodeType { get; set; } - public int EventId { get; set; } - public string Value { get; set; } - } - - public NotifyMaintainerActionDataNod[] Nodes { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyMaintainerActionDataPlaye - { - public uint PlayerId { get; set; } - public string PlayerName { get; set; } - public uint HeadPortraitId { get; set; } - public int HeadFrameId { get; set; } - public int NodeId { get; set; } - public bool IsNodeTriggered { get; set; } - public bool Reverse { get; set; } - } - - public NotifyMaintainerActionDataPlaye[] Players { get; set; } - public int[] Cards { get; set; } - public int FightWinCount { get; set; } - public int BoxCount { get; set; } - public int UsedActionCount { get; set; } - public int ExtraActionCount { get; set; } - public bool HasWarehouseNode { get; set; } - public int WarehouseFinishCount { get; set; } - public bool HasMentorNode { get; set; } - public int MentorStatus { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyAllRedEnvelope - { - public dynamic[] Envelopes { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyScoreTitleData - { - public dynamic[] TitleInfos { get; set; } - public dynamic[] HideTypes { get; set; } - public bool IsHideCollection { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyScoreTitleDataWallInf - { - public int Id { get; set; } - public uint PedestalId { get; set; } - public uint BackgroundId { get; set; } - public bool IsShow { get; set; } - public dynamic[] CollectionSetInfos { get; set; } - } - - public NotifyScoreTitleDataWallInf[] WallInfos { get; set; } - public ushort[] UnlockedDecorationIds { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyBfrtData - { - [MessagePack.MessagePackObject(true)] - public class NotifyBfrtDataBfrtData - { - public dynamic[] BfrtGroupRecords { get; set; } - public dynamic[] BfrtTeamInfos { get; set; } - } - - public NotifyBfrtDataBfrtData BfrtData { get; set; } - } - - - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTask { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTaskTasks { - [MessagePack.MessagePackObject(true)] - public class NotifyTaskTasksTas + [global::MessagePack.MessagePackObject(true)] + public class NotifyTaskTasksTask { - public uint Id { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyTaskTasksTasSchedule + public UInt32 Id { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyTaskTasksTaskSchedule { - public uint Id { get; set; } - public int Value { get; set; } + public UInt32 Id { get; set; } + public Int32 Value { get; set; } } - public NotifyTaskTasksTasSchedule[] Schedule { get; set; } - public int State { get; set; } - public uint RecordTime { get; set; } - public int ActivityId { get; set; } + public List Schedule { get; set; } = new(); + public Int32 State { get; set; } + public UInt32 RecordTime { get; set; } + public Int32 ActivityId { get; set; } } - public NotifyTaskTasksTas[] Tasks { get; set; } + public List Tasks { get; set; } = new(); } public NotifyTaskTasks Tasks { get; set; } @@ -589,145 +497,417 @@ namespace AscNet.Common.MsgPack } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2Data + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataDataActivityData + { + public Int32 Id { get; set; } + public UInt32 BeginTime { get; set; } + public Int32 State { get; set; } + } + + public NotifyRegression2DataDataActivityData ActivityData { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataDataSignInData + { + public Int32 SigninTimes { get; set; } + public UInt32 ResetCount { get; set; } + public List Rewards { get; set; } = new(); + } + + public NotifyRegression2DataDataSignInData SignInData { get; set; } + public dynamic? InviteData { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataDataGachaData + { + public Int32 Id { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataDataGachaDataGroupData + { + public Int32 Id { get; set; } + public Int32 State { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyRegression2DataDataGachaDataGroupDataGridData + { + public Int32 Id { get; set; } + public Int32 Times { get; set; } + } + + public List GridDatas { get; set; } = new(); + } + + public List GroupDatas { get; set; } = new(); + } + + public List GachaDatas { get; set; } = new(); + } + + public NotifyRegression2DataData Data { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyMaintainerActionData + { + public Int32 Id { get; set; } + public UInt32 ResetTime { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyMaintainerActionDataNode + { + public Int32 NodeId { get; set; } + public Int32 NodeType { get; set; } + public Int32 EventId { get; set; } + public String Value { get; set; } + } + + public List Nodes { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyMaintainerActionDataPlayer + { + public UInt32 PlayerId { get; set; } + public String PlayerName { get; set; } + public UInt32 HeadPortraitId { get; set; } + public Int32 HeadFrameId { get; set; } + public Int32 NodeId { get; set; } + public Boolean IsNodeTriggered { get; set; } + public Boolean Reverse { get; set; } + } + + public List Players { get; set; } = new(); + public List Cards { get; set; } = new(); + public Int32 FightWinCount { get; set; } + public Int32 BoxCount { get; set; } + public Int32 UsedActionCount { get; set; } + public Int32 ExtraActionCount { get; set; } + public Boolean HasWarehouseNode { get; set; } + public Int32 WarehouseFinishCount { get; set; } + public Boolean HasMentorNode { get; set; } + public Int32 MentorStatus { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyAllRedEnvelope + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyAllRedEnvelopeEnvelope + { + public Int32 ActivityId { get; set; } + public Int32 NpcId { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyAllRedEnvelopeEnvelopeReward + { + public Int32 ItemId { get; set; } + public UInt32 ItemCount { get; set; } + } + + public List Rewards { get; set; } = new(); + } + + public List Envelopes { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyScoreTitleData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyScoreTitleDataTitleInfo + { + public UInt32 Id { get; set; } + public Int32 Quality { get; set; } + public Int32 Score { get; set; } + public UInt32 Time { get; set; } + public Int32 WallId { get; set; } + public dynamic? ExpandInfo { get; set; } + } + + public List TitleInfos { get; set; } = new(); + public List HideTypes { get; set; } = new(); + public Boolean IsHideCollection { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyScoreTitleDataWallInfo + { + public Int32 Id { get; set; } + public UInt32 PedestalId { get; set; } + public UInt32 BackgroundId { get; set; } + public Boolean IsShow { get; set; } + public List CollectionSetInfos { get; set; } = new(); + } + + public List WallInfos { get; set; } = new(); + public List UnlockedDecorationIds { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyBfrtData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyBfrtDataBfrtData + { + public List BfrtGroupRecords { get; set; } = new(); + public List BfrtTeamInfos { get; set; } = new(); + } + + public NotifyBfrtDataBfrtData BfrtData { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyGuildEvent { - public int Type { get; set; } - public uint Value { get; set; } - public int Value2 { get; set; } + public Int32 Type { get; set; } + public UInt32 Value { get; set; } + public Int32 Value2 { get; set; } public dynamic? Str1 { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyAssistData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyAssistDataAssistData { - public uint AssistCharacterId { get; set; } + public UInt32 AssistCharacterId { get; set; } } public NotifyAssistDataAssistData AssistData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyWorkNextRefreshTime { - public uint NextRefreshTime { get; set; } + public UInt32 NextRefreshTime { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyDormitoryData { - public dynamic[] FurnitureCreateList { get; set; } - public dynamic[] WorkList { get; set; } - public uint[] FurnitureUnlockList { get; set; } - public int SnapshotTimes { get; set; } - public dynamic[] DormitoryList { get; set; } - public dynamic[] VisitorList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyDormitoryDataFurnitureList + public List FurnitureCreateList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyDormitoryDataWork { - public int Id { get; set; } - public uint ConfigId { get; set; } - public int X { get; set; } - public int Y { get; set; } - public int Angle { get; set; } - public int DormitoryId { get; set; } - public uint Addition { get; set; } - public int[] AttrList { get; set; } - public bool IsLocked { get; set; } + public UInt32 CharacterId { get; set; } + public Int32 WorkPos { get; set; } + public UInt32 WorkEndTime { get; set; } + public Int32 DormitoryNum { get; set; } + public Int32 RewardNum { get; set; } + public Int32 ResetCount { get; set; } } - public NotifyDormitoryDataFurnitureList[] FurnitureList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyDormitoryDataCharacterList + public List WorkList { get; set; } = new(); + public List FurnitureUnlockList { get; set; } = new(); + public Int32 SnapshotTimes { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyDormitoryDataDormitory { - public uint CharacterId { get; set; } - public sbyte DormitoryId { get; set; } - public int Mood { get; set; } - public int Vitality { get; set; } - public int MoodSpeed { get; set; } - public int VitalitySpeed { get; set; } - public uint LastFondleRecoveryTime { get; set; } - public int LeftFondleCount { get; set; } - public dynamic[] EventList { get; set; } + public UInt32 DormitoryId { get; set; } + public String DormitoryName { get; set; } } - public NotifyDormitoryDataCharacterList[] CharacterList { get; set; } - public dynamic[] Layouts { get; set; } - public dynamic[] BindRelations { get; set; } + public List DormitoryList { get; set; } = new(); + public List VisitorList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyDormitoryDataFurniture + { + public Int32 Id { get; set; } + public UInt32 ConfigId { get; set; } + public Int32 X { get; set; } + public Int32 Y { get; set; } + public Int32 Angle { get; set; } + public Int32 DormitoryId { get; set; } + public Int32 Addition { get; set; } + public List AttrList { get; set; } = new(); + public Boolean IsLocked { get; set; } + } + + public List FurnitureList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyDormitoryDataCharacter + { + public UInt32 CharacterId { get; set; } + public Int32 DormitoryId { get; set; } + public Int32 Mood { get; set; } + public Int32 Vitality { get; set; } + public Int32 MoodSpeed { get; set; } + public Int32 VitalitySpeed { get; set; } + public UInt32 LastFondleRecoveryTime { get; set; } + public Int32 LeftFondleCount { get; set; } + public List EventList { get; set; } = new(); + } + + public List CharacterList { get; set; } = new(); + public List Layouts { get; set; } = new(); + public List BindRelations { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyNameplateLoginData { - public int CurrentWearNameplate { get; set; } - public dynamic[] UnlockNameplates { get; set; } + public Int32 CurrentWearNameplate { get; set; } + public List UnlockNameplates { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifySpecialTrainLoginData + { + public Int32 Id { get; set; } + public dynamic? RewardIds { get; set; } + public dynamic? PointRewards { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyGuildDormPlayerData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyGuildDormPlayerDataGuildDormData { - public int CurrentCharacterId { get; set; } - public int DailyInteractRewardTotalTimes { get; set; } - public int DailyInteractRewardCurTimes { get; set; } + public UInt32 CurrentCharacterId { get; set; } + public Int32 DailyInteractRewardTotalTimes { get; set; } + public Int32 DailyInteractRewardCurTimes { get; set; } } public NotifyGuildDormPlayerDataGuildDormData GuildDormData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBountyTaskInfo { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBountyTaskInfoTaskInfo { - public int RankLevel { get; set; } - public dynamic[] TaskCards { get; set; } - public int TaskPoolRefreshCount { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 RankLevel { get; set; } + public List TaskCards { get; set; } = new(); + public Int32 TaskPoolRefreshCount { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyBountyTaskInfoTaskInfoTaskPool { - public int Id { get; set; } - public uint StageId { get; set; } - public uint RewardId { get; set; } - public uint EventId { get; set; } - public uint DifficultStageId { get; set; } - public int Status { get; set; } + public Int32 Id { get; set; } + public UInt32 StageId { get; set; } + public UInt32 RewardId { get; set; } + public UInt32 EventId { get; set; } + public UInt32 DifficultStageId { get; set; } + public Int32 Status { get; set; } } - public NotifyBountyTaskInfoTaskInfoTaskPool[] TaskPool { get; set; } + public List TaskPool { get; set; } = new(); } public NotifyBountyTaskInfoTaskInfo TaskInfo { get; set; } - public uint RefreshTime { get; set; } + public UInt32 RefreshTime { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyExpeditionData + { + public Int32 ActivityId { get; set; } + public Int32 ResetTime { get; set; } + public Int32 ChapterId { get; set; } + public dynamic? Rewards { get; set; } + public Int32 CanRefreshTimes { get; set; } + public Int32 ExtraRefreshTimes { get; set; } + public Int32 BuyRefreshTimes { get; set; } + public Int32 RefreshTimesRecoveryTime { get; set; } + public Int32 DailyLikeCount { get; set; } + public Int32 RefreshTimes { get; set; } + public Int32 RecruitLevel { get; set; } + public Int32 NpcGroup { get; set; } + public Int32 DefaultTeamId { get; set; } + public dynamic? PickedCharacters { get; set; } + public dynamic? AlternativeCharacters { get; set; } + public dynamic? Stages { get; set; } + public dynamic? EndlessStage { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyNieRData + { + public Int32 ActivityId { get; set; } + public Boolean EasterEggFinish { get; set; } + public List Characters { get; set; } = new(); + public List Bosses { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyNieRDataSupport + { + public Int32 SupportId { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } + public Int32 SelectSkillId { get; set; } + public List Skills { get; set; } = new(); + } + + public NotifyNieRDataSupport Support { get; set; } + } + + [MessagePack.MessagePackObject(true)] + public class GetPurchaseListRequest + { + public List UiTypeList { get; set; } = new(); + } + + [MessagePack.MessagePackObject(true)] + public class SignInRequest + { + public int Id { get; set; } } [MessagePack.MessagePackObject(true)] + public class SignInResponse + { + public int Code { get; set; } + [MessagePack.MessagePackObject(true)] + public class SignInResponseRewardGoodsList + { + public int RewardType { get; set; } + public uint TemplateId { get; set; } + public int Count { get; set; } + public int Level { get; set; } + public int Quality { get; set; } + public int Grade { get; set; } + public int Breakthrough { get; set; } + public int ConvertFrom { get; set; } + public uint Id { get; set; } + } + + public List RewardGoodsList { get; set; } = new(); + } + + [MessagePack.MessagePackObject(true)] + public class OfflineMessageRequest + { + public int MessageId { get; set; } + } + + [global::MessagePack.MessagePackObject(true)] public class NotifyFiveTwentyRecord { - public dynamic[] CharacterIds { get; set; } - public dynamic[] GroupRecord { get; set; } - public int ActivityNo { get; set; } + public List CharacterIds { get; set; } = new(); + public List GroupRecord { get; set; } = new(); + public Int32 ActivityNo { get; set; } } [MessagePack.MessagePackObject(true)] public class PurchaseDailyNotify { - public dynamic[] ExpireInfoList { get; set; } - public dynamic[] DailyRewardInfoList { get; set; } + public List ExpireInfoList { get; set; } = new(); + public List DailyRewardInfoList { get; set; } = new(); [MessagePack.MessagePackObject(true)] public class PurchaseDailyNotifyFreeRewardInfoList { @@ -735,14 +915,15 @@ namespace AscNet.Common.MsgPack public string Name { get; set; } } - public PurchaseDailyNotifyFreeRewardInfoList[] FreeRewardInfoList { get; set; } + public List FreeRewardInfoList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + + [global::MessagePack.MessagePackObject(true)] public class NotifyPurchaseRecommendConfig { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPurchaseRecommendConfigData { public Dictionary AddOrModifyConfigs { get; set; } @@ -753,444 +934,544 @@ namespace AscNet.Common.MsgPack } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBackgroundLoginData { - public uint[] HaveBackgroundIds { get; set; } + public List HaveBackgroundIds { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyMedalData { - public dynamic[] MedalInfos { get; set; } + public List MedalInfos { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyExploreData { - public dynamic[] ChapterDatas { get; set; } + public List ChapterDatas { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyGatherRewardList { - public int[] GatherRewards { get; set; } + public List GatherRewards { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyDrawTicketData { - public dynamic[] DrawTicketInfos { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyDrawTicketDataDrawTicketInfo + { + public Int32 Id { get; set; } + public UInt32 CfgId { get; set; } + public Int32 Count { get; set; } + public UInt32 CreateTime { get; set; } + public UInt32 ExpireTime { get; set; } + public UInt32 DailyResetCount { get; set; } + } + + public List DrawTicketInfos { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyAccumulatedPayData { - public int PayId { get; set; } - public float PayMoney { get; set; } - public dynamic[] PayRewardIds { get; set; } + public Int32 PayId { get; set; } + public Single PayMoney { get; set; } + public List PayRewardIds { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] - public class NotifyArenaActivity - { - public int ActivityNo { get; set; } - public int ChallengeId { get; set; } - public int Status { get; set; } - public uint NextStatusTime { get; set; } - public int ArenaLevel { get; set; } - public int JoinActivity { get; set; } - public int UnlockCount { get; set; } - public uint TeamTime { get; set; } - public uint FightTime { get; set; } - public uint ResultTime { get; set; } - public dynamic[] MaxPointStageList { get; set; } - public int ContributeScore { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyPrequelUnlockChallengeStages - { - public dynamic[] UnlockChallengeStages { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyPrequelChallengeRefreshTime - { - public uint NextRefreshTime { get; set; } - } - - - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyFubenPrequelData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyFubenPrequelDataFubenPrequelData { - public dynamic[] RewardedStages { get; set; } - public dynamic[] UnlockChallengeStages { get; set; } + public List RewardedStages { get; set; } = new(); + public List UnlockChallengeStages { get; set; } = new(); } public NotifyFubenPrequelDataFubenPrequelData FubenPrequelData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyPrequelChallengeRefreshTime + { + public UInt32 NextRefreshTime { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyMainLineActivity { - public ushort[] Chapters { get; set; } - public int BfrtChapter { get; set; } - public uint EndTime { get; set; } - public int HideChapterBeginTime { get; set; } + public List Chapters { get; set; } = new(); + public Int32 BfrtChapter { get; set; } + public UInt32 EndTime { get; set; } + public Int32 HideChapterBeginTime { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyDailyFubenLoginData { - public uint RefreshTime { get; set; } - public dynamic[] Records { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyBirthdayPlot - { - public uint NextActiveYear { get; set; } - public int IsChange { get; set; } - public dynamic[] UnLockCg { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyBossActivityData - { - public int ActivityId { get; set; } - public int SectionId { get; set; } - public int Schedule { get; set; } - public dynamic[] StageStarInfos { get; set; } - public dynamic[] StarRewardIds { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyBriefStoryData - { - public dynamic[] FinishedIds { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyChessPursuitGroupInfo - { - public dynamic[] MapDBList { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyChessPursuitGroupInfoMapBossList + public UInt32 RefreshTime { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyDailyFubenLoginDataRecord { - public int Id { get; set; } - public int InitHp { get; set; } - public int SubBossMaxHp { get; set; } - public int BossStepMin { get; set; } - public int BossStepMax { get; set; } - public float BattleHurtRate { get; set; } - public int BattleHurtMax { get; set; } - public int SelfHpRate { get; set; } - public int SelfHpMax { get; set; } - public int ConvertHurtRate { get; set; } + public UInt32 ChapterId { get; set; } + public UInt32 StageId { get; set; } } - public NotifyChessPursuitGroupInfoMapBossList[] MapBossList { get; set; } + public List Records { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyBirthdayPlot + { + public UInt32 NextActiveYear { get; set; } + public Int32 IsChange { get; set; } + public List UnLockCg { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyBossActivityData + { + public Int32 ActivityId { get; set; } + public Int32 SectionId { get; set; } + public Int32 Schedule { get; set; } + public List StageStarInfos { get; set; } = new(); + public List StarRewardIds { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyBriefStoryData + { + public List FinishedIds { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyChessPursuitGroupInfo + { + public List MapDBList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyChessPursuitGroupInfoMapBoss + { + public Int32 Id { get; set; } + public Int32 InitHp { get; set; } + public Int32 SubBossMaxHp { get; set; } + public Int32 BossStepMin { get; set; } + public Int32 BossStepMax { get; set; } + public Single BattleHurtRate { get; set; } + public Int32 BattleHurtMax { get; set; } + public Int32 SelfHpRate { get; set; } + public Int32 SelfHpMax { get; set; } + public Int32 ConvertHurtRate { get; set; } + } + + public List MapBossList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyClickClearData { - public dynamic[] Activities { get; set; } + public List Activities { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyCourseData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyCourseDataData { - public int TotalLessonPoint { get; set; } - public int MaxTotalLessonPoint { get; set; } - public dynamic[] ChapterDataList { get; set; } + public Int32 TotalLessonPoint { get; set; } + public Int32 MaxTotalLessonPoint { get; set; } + public List ChapterDataList { get; set; } = new(); public dynamic? StageDataDict { get; set; } - public dynamic[] RewardIds { get; set; } + public List RewardIds { get; set; } = new(); } public NotifyCourseDataData Data { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyDoomsdayDbChange + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyDoomsdayDbChangeActivityDb + { + public Int32 ActivityId { get; set; } + public List StageDbExtList { get; set; } = new(); + } + + public NotifyDoomsdayDbChangeActivityDb ActivityDb { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyActivityDrawList { - public ushort[] DrawIdList { get; set; } + public List DrawIdList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyActivityDrawGroupCount { - public int Count { get; set; } + public Int32 Count { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyExperimentData { - public dynamic[] FinishIds { get; set; } - public dynamic[] ExperimentInfos { get; set; } + public List FinishIds { get; set; } = new(); + public List ExperimentInfos { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBabelTowerActivityStatus { - public int ActivityNo { get; set; } - public int Status { get; set; } + public Int32 ActivityNo { get; set; } + public Int32 Status { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBabelTowerData { - public int ActivityNo { get; set; } - public int MaxScore { get; set; } - public int RankLevel { get; set; } - public dynamic[] StageDatas { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 ActivityNo { get; set; } + public Int32 MaxScore { get; set; } + public Int32 RankLevel { get; set; } + public List StageDatas { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] public class NotifyBabelTowerDataExtraData { - public int ActivityNo { get; set; } - public int MaxScore { get; set; } - public int RankLevel { get; set; } - public dynamic[] StageDatas { get; set; } + public Int32 ActivityNo { get; set; } + public Int32 MaxScore { get; set; } + public Int32 RankLevel { get; set; } + public List StageDatas { get; set; } = new(); } public NotifyBabelTowerDataExtraData ExtraData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyFubenBossSingleData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyFubenBossSingleDataFubenBossSingleData { - public int ActivityNo { get; set; } - public int TotalScore { get; set; } - public int MaxScore { get; set; } - public int OldLevelType { get; set; } - public int LevelType { get; set; } - public int ChallengeCount { get; set; } - public uint RemainTime { get; set; } - public int AutoFightCount { get; set; } + public Int32 ActivityNo { get; set; } + public Int32 TotalScore { get; set; } + public Int32 MaxScore { get; set; } + public Int32 OldLevelType { get; set; } + public Int32 LevelType { get; set; } + public Int32 ChallengeCount { get; set; } + public UInt32 RemainTime { get; set; } + public Int32 AutoFightCount { get; set; } public dynamic? CharacterPoints { get; set; } - public dynamic[] HistoryList { get; set; } - public dynamic[] RewardIds { get; set; } - public int RankPlatform { get; set; } - public int[] BossList { get; set; } - public dynamic[] TrialStageInfoList { get; set; } + public List HistoryList { get; set; } = new(); + public List RewardIds { get; set; } = new(); + public Int32 RankPlatform { get; set; } + public List BossList { get; set; } = new(); + public List TrialStageInfoList { get; set; } = new(); } public NotifyFubenBossSingleDataFubenBossSingleData FubenBossSingleData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyFestivalData { - public dynamic[] FestivalInfos { get; set; } + public List FestivalInfos { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPracticeData { - [MessagePack.MessagePackObject(true)] - public class NotifyPracticeDataChapterInf + [global::MessagePack.MessagePackObject(true)] + public class NotifyPracticeDataChapterInfo { - public int Id { get; set; } - public uint[] FinishStages { get; set; } + public Int32 Id { get; set; } + public List FinishStages { get; set; } = new(); } - public NotifyPracticeDataChapterInf[] ChapterInfos { get; set; } + public List ChapterInfos { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTrialData { - public int[] FinishTrial { get; set; } - public int[] RewardRecord { get; set; } - public dynamic[] TypeRewardRecord { get; set; } + public List FinishTrial { get; set; } = new(); + public List RewardRecord { get; set; } = new(); + public List TypeRewardRecord { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyInfestorStatus + { + public Int32 Status { get; set; } + public Int32 NextResetTime { get; set; } + public List MapList { get; set; } = new(); + public Boolean IsReset { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyMaverickData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyMaverickDataMaverickData + { + public Int32 ActivityId { get; set; } + public List PassStageDataInfos { get; set; } = new(); + public List MemberDataInfos { get; set; } = new(); + public Int32 Score { get; set; } + public List RobotIds { get; set; } = new(); + } + + public NotifyMaverickDataMaverickData MaverickData { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyMoeWarPreparationData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyMoeWarPreparationDataData + { + public Int32 ActivityId { get; set; } + public Int32 MatchId { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyMoeWarPreparationDataDataStage + { + public Int32 LastStageRecoveryTime { get; set; } + public List Stages { get; set; } = new(); + public List ReserveStages { get; set; } = new(); + } + + public NotifyMoeWarPreparationDataDataStage Stage { get; set; } + public List GetRewardGears { get; set; } = new(); + public List Helpers { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyMoeWarPreparationDataDataAssistance + { + public Int32 AssistanceCount { get; set; } + public Int32 RecoveryTime { get; set; } + } + + public NotifyMoeWarPreparationDataDataAssistance Assistance { get; set; } + public List VoteItems { get; set; } = new(); + } + + public NotifyMoeWarPreparationDataData Data { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyPassportData + { + public Int32 ActivityId { get; set; } + public Int32 Level { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyPassportDataPassportInfo + { + public Int32 Id { get; set; } + public List GotRewardList { get; set; } = new(); + } + + public List PassportInfos { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyPassportDataLastTimeBaseInfo + { + public Int32 Level { get; set; } + public UInt32 Exp { get; set; } + } + + public NotifyPassportDataLastTimeBaseInfo LastTimeBaseInfo { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyPivotCombatData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPivotCombatDataPivotCombatData { - public int ActivityId { get; set; } - public int Difficulty { get; set; } - public dynamic[] RegionDataList { get; set; } + public Int32 ActivityId { get; set; } + public Int32 Difficulty { get; set; } + public List RegionDataList { get; set; } = new(); } public NotifyPivotCombatDataPivotCombatData PivotCombatData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifySettingLoadingOption { public dynamic? LoadingData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyRepeatChallengeData { - public int Id { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 Id { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyRepeatChallengeDataExpInfo { - public int Level { get; set; } - public int Exp { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } } public NotifyRepeatChallengeDataExpInfo ExpInfo { get; set; } - public dynamic[] RcChapters { get; set; } - public dynamic[] RewardIds { get; set; } + public List RcChapters { get; set; } = new(); + public List RewardIds { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPlayerReportData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyPlayerReportDataReportData { - public int ReportTimes { get; set; } - public int LastReportTime { get; set; } + public Int32 ReportTimes { get; set; } + public Int32 LastReportTime { get; set; } } public NotifyPlayerReportDataReportData ReportData { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyReviewConfig { - [MessagePack.MessagePackObject(true)] - public class NotifyReviewConfigReviewActivityConfigList + [global::MessagePack.MessagePackObject(true)] + public class NotifyReviewConfigReviewActivityConfig { - public int Id { get; set; } - public uint StartTime { get; set; } - public uint EndTime { get; set; } - public uint RewardId { get; set; } + public Int32 Id { get; set; } + public UInt32 StartTime { get; set; } + public UInt32 EndTime { get; set; } + public UInt32 RewardId { get; set; } } - public NotifyReviewConfigReviewActivityConfigList[] ReviewActivityConfigList { get; set; } + public List ReviewActivityConfigList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] - public class NotifyStrongholdLoginData + [global::MessagePack.MessagePackObject(true)] + public class NotifySimulatedCombatData { - public int Id { get; set; } - public uint BeginTime { get; set; } - public uint FightBeginTime { get; set; } - public int CurDay { get; set; } - public int AssistCharacterId { get; set; } - public int SetAssistCharacterTime { get; set; } - public int BorrowCount { get; set; } - public uint ElectricEnergy { get; set; } - public int Endurance { get; set; } - public int MineralLeft { get; set; } - public int TotalMineral { get; set; } - public dynamic[] ElectricCharacterIds { get; set; } - public dynamic[] FinishGroupIds { get; set; } - public dynamic[] FinishGroupInfos { get; set; } - public dynamic[] HistoryFinishGroupInfos { get; set; } - public dynamic[] GroupInfos { get; set; } - public dynamic[] TeamInfos { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyStrongholdLoginDataGroupStageDat + [global::MessagePack.MessagePackObject(true)] + public class NotifySimulatedCombatDataData { - public int Id { get; set; } - public uint[] StageIds { get; set; } - public Dictionary StageBuffId { get; set; } - public int SupportId { get; set; } + public Int32 ActivityId { get; set; } + public Int32 DailyStageStarRewardCount { get; set; } + public List StarRewards { get; set; } = new(); + public List PointRewards { get; set; } = new(); + public List StageDataList { get; set; } = new(); } - public NotifyStrongholdLoginDataGroupStageDat[] GroupStageDatas { get; set; } - public int[] RuneList { get; set; } - public dynamic[] RewardIds { get; set; } - [MessagePack.MessagePackObject(true)] + public NotifySimulatedCombatDataData Data { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyStrongholdLoginData + { + public Int32 Id { get; set; } + public UInt32 BeginTime { get; set; } + public Int32 FightBeginTime { get; set; } + public Int32 CurDay { get; set; } + public Int32 AssistCharacterId { get; set; } + public Int32 SetAssistCharacterTime { get; set; } + public Int32 BorrowCount { get; set; } + public UInt32 ElectricEnergy { get; set; } + public Int32 Endurance { get; set; } + public Int32 MineralLeft { get; set; } + public Int32 TotalMineral { get; set; } + public List ElectricCharacterIds { get; set; } = new(); + public List FinishGroupIds { get; set; } = new(); + public List FinishGroupInfos { get; set; } = new(); + public List HistoryFinishGroupInfos { get; set; } = new(); + public List GroupInfos { get; set; } = new(); + public List TeamInfos { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyStrongholdLoginDataGroupStageData + { + public Int32 Id { get; set; } + public List StageIds { get; set; } = new(); + public Dictionary StageBuffId { get; set; } + public Int32 SupportId { get; set; } + } + + public List GroupStageDatas { get; set; } = new(); + public List RuneList { get; set; } = new(); + public List RewardIds { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] public class NotifyStrongholdLoginDataLastResultRecord { - public int Id { get; set; } - public int FinishCount { get; set; } - public int MinerCount { get; set; } - public int MineralCount { get; set; } - public int AssistCount { get; set; } - public int AssistRewardValue { get; set; } + public Int32 Id { get; set; } + public Int32 FinishCount { get; set; } + public Int32 MinerCount { get; set; } + public Int32 MineralCount { get; set; } + public Int32 AssistCount { get; set; } + public Int32 AssistRewardValue { get; set; } } public NotifyStrongholdLoginDataLastResultRecord LastResultRecord { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyStrongholdLoginDataMineRecor - { - public int Day { get; set; } - public int MinerCount { get; set; } - public int MineralCount { get; set; } - public bool IsStay { get; set; } - } - - public NotifyStrongholdLoginDataMineRecor[] MineRecords { get; set; } - public int LevelId { get; set; } - public dynamic[] StayDays { get; set; } + public List MineRecords { get; set; } = new(); + public Int32 LevelId { get; set; } + public List StayDays { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifySummerSignInData { - public int ActId { get; set; } - public dynamic[] MsgIdList { get; set; } - public int SurplusTimes { get; set; } + public Int32 ActId { get; set; } + public List MsgIdList { get; set; } = new(); + public Int32 SurplusTimes { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTaikoMasterData { - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTaikoMasterDataTaikoMasterData { - public int ActivityId { get; set; } - public dynamic[] StageDataList { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 ActivityId { get; set; } + public List StageDataList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] public class NotifyTaikoMasterDataTaikoMasterDataSetting { - public int AppearOffset { get; set; } - public int JudgeOffset { get; set; } + public Int32 AppearOffset { get; set; } + public Int32 JudgeOffset { get; set; } } public NotifyTaikoMasterDataTaikoMasterDataSetting Setting { get; set; } @@ -1200,223 +1481,1232 @@ namespace AscNet.Common.MsgPack } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTeachingActivityInfo { - public dynamic[] ActivityInfo { get; set; } + public List ActivityInfo { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTheatreData { - public int CurChapterId { get; set; } - public int CurRoleLv { get; set; } - public int DifficultyId { get; set; } - public int KeepsakeId { get; set; } - public dynamic[] UnlockPowerIds { get; set; } - public dynamic[] UnlockPowerFavorIds { get; set; } - public dynamic[] EffectPowerFavorIds { get; set; } - public dynamic[] Skills { get; set; } - public dynamic[] RecruitRole { get; set; } - public dynamic[] Keepsakes { get; set; } - public dynamic[] Decorations { get; set; } - public dynamic? CurChapterDb { get; set; } - public int ReopenCount { get; set; } - public dynamic[] SkillIllustratedBook { get; set; } - public dynamic? SingleTeamData { get; set; } - public dynamic[] MultiTeamDatas { get; set; } - public int UseOwnCharacter { get; set; } - public int FavorCoin { get; set; } - public int DecorationCoin { get; set; } - public dynamic[] PassChapterId { get; set; } - public dynamic? PassEventRecord { get; set; } - public int PassNodeCount { get; set; } - public dynamic[] EndingRecord { get; set; } + public Int32 CurChapterId { get; set; } + public Int32 CurRoleLv { get; set; } + public Int32 DifficultyId { get; set; } + public Int32 KeepsakeId { get; set; } + public List UnlockPowerIds { get; set; } = new(); + public List UnlockPowerFavorIds { get; set; } = new(); + public List EffectPowerFavorIds { get; set; } = new(); + public List Skills { get; set; } = new(); + public List RecruitRole { get; set; } = new(); + public List Keepsakes { get; set; } = new(); + public List Decorations { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyTheatreDataCurChapterDb + { + public Int32 ChapterId { get; set; } + public List RefreshRole { get; set; } = new(); + public Int32 RefreshRoleCount { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyTheatreDataCurChapterDbCurNodeDb + { + public Int32 NodeId { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyTheatreDataCurChapterDbCurNodeDbSlot + { + public Int32 SlotId { get; set; } + public Int32 RewardType { get; set; } + public Int32 PowerId { get; set; } + public Int32 TheatreStageId { get; set; } + public Int32 SlotType { get; set; } + public Int32 ConfigId { get; set; } + public dynamic? StoryId { get; set; } + public Int32 Selected { get; set; } + public List StageIds { get; set; } = new(); + public List PassedStageIds { get; set; } = new(); + public List PassedStageIndexs { get; set; } = new(); + public List ShopItems { get; set; } = new(); + public Int32 CurStepId { get; set; } + public List PassedStepId { get; set; } = new(); + } + + public List Slots { get; set; } = new(); + } + + public NotifyTheatreDataCurChapterDbCurNodeDb CurNodeDb { get; set; } + public List SkillToSelect { get; set; } = new(); + } + + public NotifyTheatreDataCurChapterDb CurChapterDb { get; set; } + public Int32 ReopenCount { get; set; } + public List SkillIllustratedBook { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyTheatreDataSingleTeamData + { + public Int32 TeamIndex { get; set; } + public Int32 CaptainPos { get; set; } + public Int32 FirstFightPos { get; set; } + public List CardIds { get; set; } = new(); + public List RobotIds { get; set; } = new(); + } + + public NotifyTheatreDataSingleTeamData SingleTeamData { get; set; } + public List MultiTeamDatas { get; set; } = new(); + public Int32 UseOwnCharacter { get; set; } + public Int32 FavorCoin { get; set; } + public Int32 DecorationCoin { get; set; } + public List PassChapterId { get; set; } = new(); + public Dictionary PassEventRecord { get; set; } + public Int32 PassNodeCount { get; set; } + public List EndingRecord { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyVoteData { - public dynamic[] VoteAlarmDic { get; set; } + public List VoteAlarmDic { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTRPGData { - public uint CurTargetLink { get; set; } - [MessagePack.MessagePackObject(true)] + public UInt32 CurTargetLink { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyTRPGDataBaseInfo { - public int Level { get; set; } - public int Exp { get; set; } - public int Endurance { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } + public Int32 Endurance { get; set; } } public NotifyTRPGDataBaseInfo BaseInfo { get; set; } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyTRPGDataBossInfo { - public int Id { get; set; } - public int ChallengeCount { get; set; } - public dynamic[] PhasesRewardList { get; set; } + public Int32 Id { get; set; } + public Int32 ChallengeCount { get; set; } + public List PhasesRewardList { get; set; } = new(); } public NotifyTRPGDataBossInfo BossInfo { get; set; } - public dynamic[] TargetList { get; set; } - public dynamic[] RewardList { get; set; } - public dynamic[] FuncList { get; set; } - public dynamic[] Characters { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyTRPGDataShopInf + public List TargetList { get; set; } = new(); + public List RewardList { get; set; } = new(); + public List FuncList { get; set; } = new(); + public List Characters { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyTRPGDataShopInfo { - public int DisCount { get; set; } - public int AddBuyCount { get; set; } - public uint Id { get; set; } - public dynamic[] ItemInfos { get; set; } + public Int32 DisCount { get; set; } + public Int32 AddBuyCount { get; set; } + public UInt32 Id { get; set; } + public List ItemInfos { get; set; } = new(); } - public NotifyTRPGDataShopInf[] ShopInfos { get; set; } - public dynamic[] MazeInfos { get; set; } - public dynamic[] MemoirList { get; set; } - public int ItemCapacityAdd { get; set; } - public bool IsNormalPage { get; set; } - public dynamic[] StageList { get; set; } + public List ShopInfos { get; set; } = new(); + public List MazeInfos { get; set; } = new(); + public List MemoirList { get; set; } = new(); + public Int32 ItemCapacityAdd { get; set; } + public Boolean IsNormalPage { get; set; } + public List StageList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyBiancaTheatreActivityData { - public int CurActivityId { get; set; } - public int CurChapterId { get; set; } - public int DifficultyId { get; set; } - public int CurTeamId { get; set; } + public Int32 CurActivityId { get; set; } + public Int32 CurChapterId { get; set; } + public Int32 DifficultyId { get; set; } + public Int32 CurTeamId { get; set; } public dynamic? CurChapterDb { get; set; } - public dynamic[] Characters { get; set; } - public dynamic[] Items { get; set; } - public int TotalExp { get; set; } - public dynamic[] GetRewardIds { get; set; } - public dynamic[] StrengthenDbs { get; set; } + public List Characters { get; set; } = new(); + public List Items { get; set; } = new(); + public Int32 TotalExp { get; set; } + public List GetRewardIds { get; set; } = new(); + public List StrengthenDbs { get; set; } = new(); public dynamic? SingleTeamData { get; set; } - public dynamic[] UnlockItemId { get; set; } - public dynamic[] UnlockTeamId { get; set; } - public dynamic[] UnlockDifficultyId { get; set; } - public dynamic[] TeamRecords { get; set; } - public dynamic[] PassChapterIds { get; set; } + public List UnlockItemId { get; set; } = new(); + public List UnlockTeamId { get; set; } = new(); + public List UnlockDifficultyId { get; set; } = new(); + public List TeamRecords { get; set; } = new(); + public List PassChapterIds { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyMentorData { - public int PlayerType { get; set; } - [MessagePack.MessagePackObject(true)] + public Int32 PlayerType { get; set; } + [global::MessagePack.MessagePackObject(true)] public class NotifyMentorDataTeacher { - public int PlayerId { get; set; } + public Int32 PlayerId { get; set; } public dynamic? PlayerName { get; set; } - public int Level { get; set; } - public int HeadPortraitId { get; set; } - public int HeadFrameId { get; set; } - public bool IsGraduate { get; set; } + public Int32 Level { get; set; } + public Int32 HeadPortraitId { get; set; } + public Int32 HeadFrameId { get; set; } + public Boolean IsGraduate { get; set; } public dynamic? Tag { get; set; } public dynamic? OnlineTag { get; set; } public dynamic? Announcement { get; set; } - public int StudentCount { get; set; } + public Int32 StudentCount { get; set; } public dynamic? StudentTask { get; set; } - public bool IsOnline { get; set; } + public Boolean IsOnline { get; set; } public dynamic? SystemTask { get; set; } public dynamic? WeeklyTask { get; set; } - public int KizunaAmount { get; set; } - public int JoinTime { get; set; } - public int ReachTime { get; set; } - public int LastLoginTime { get; set; } - public int SendGiftCount { get; set; } + public Int32 KizunaAmount { get; set; } + public Int32 JoinTime { get; set; } + public Int32 ReachTime { get; set; } + public Int32 LastLoginTime { get; set; } + public Int32 SendGiftCount { get; set; } } public NotifyMentorDataTeacher Teacher { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyMentorDataStuden + [global::MessagePack.MessagePackObject(true)] + public class NotifyMentorDataStudent { - public uint PlayerId { get; set; } - public string PlayerName { get; set; } - public int Level { get; set; } - public uint HeadPortraitId { get; set; } - public int HeadFrameId { get; set; } - public bool IsGraduate { get; set; } + public UInt32 PlayerId { get; set; } + public String PlayerName { get; set; } + public Int32 Level { get; set; } + public UInt32 HeadPortraitId { get; set; } + public Int32 HeadFrameId { get; set; } + public Boolean IsGraduate { get; set; } public dynamic? Tag { get; set; } public dynamic? OnlineTag { get; set; } public dynamic? Announcement { get; set; } - public int StudentCount { get; set; } - public dynamic[] StudentTask { get; set; } - public bool IsOnline { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyMentorDataStudenSystemTask + public Int32 StudentCount { get; set; } + public List StudentTask { get; set; } = new(); + public Boolean IsOnline { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyMentorDataStudentSystemTask { - public uint TaskId { get; set; } - public int State { get; set; } - public dynamic[] Schedule { get; set; } - public int Status { get; set; } - public int RewardId { get; set; } - public dynamic[] EquipList { get; set; } - public bool HasChange { get; set; } + public UInt32 TaskId { get; set; } + public Int32 State { get; set; } + public List Schedule { get; set; } = new(); + public Int32 Status { get; set; } + public Int32 RewardId { get; set; } + public List EquipList { get; set; } = new(); + public Boolean HasChange { get; set; } } - public NotifyMentorDataStudenSystemTask[] SystemTask { get; set; } - public dynamic[] WeeklyTask { get; set; } - public int KizunaAmount { get; set; } - public int JoinTime { get; set; } - public int ReachTime { get; set; } - public int LastLoginTime { get; set; } - public int SendGiftCount { get; set; } + public List SystemTask { get; set; } = new(); + public List WeeklyTask { get; set; } = new(); + public Int32 KizunaAmount { get; set; } + public Int32 JoinTime { get; set; } + public Int32 ReachTime { get; set; } + public Int32 LastLoginTime { get; set; } + public Int32 SendGiftCount { get; set; } } - public NotifyMentorDataStuden[] Students { get; set; } - public dynamic[] ApplyList { get; set; } - public int GraduateStudentCount { get; set; } - public dynamic[] StageReward { get; set; } - public dynamic[] WeeklyTaskReward { get; set; } - public int WeeklyTaskCompleteCount { get; set; } - public int[] Tag { get; set; } - public int[] OnlineTag { get; set; } - public string Announcement { get; set; } - public int DailyChangeTaskCount { get; set; } - public int WeeklyLevel { get; set; } - public int MonthlyStudentCount { get; set; } + public List Students { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyMentorDataApply + { + public UInt32 ApplyId { get; set; } + public UInt32 CreateTime { get; set; } + } + + public List ApplyList { get; set; } = new(); + public Int32 GraduateStudentCount { get; set; } + public List StageReward { get; set; } = new(); + public List WeeklyTaskReward { get; set; } = new(); + public Int32 WeeklyTaskCompleteCount { get; set; } + public List Tag { get; set; } = new(); + public List OnlineTag { get; set; } = new(); + public String Announcement { get; set; } + public Int32 DailyChangeTaskCount { get; set; } + public Int32 WeeklyLevel { get; set; } + public Int32 MonthlyStudentCount { get; set; } public dynamic? Message { get; set; } } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] public class NotifyMentorChat { - public dynamic[] ChatMessages { get; set; } + public List ChatMessages { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] - public class NotifyMaintainerActionDailyReset + [global::MessagePack.MessagePackObject(true)] + public class ActivityResultNotify { - public int UsedActionCount { get; set; } - public int ExtraActionCount { get; set; } + public Int32 ChallengeId { get; set; } + public Int32 GroupRank { get; set; } + public Int32 OldArenaLevel { get; set; } + public Int32 NewArenaLevel { get; set; } + public Boolean IsProtected { get; set; } + public Int32 ContributeScore { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class ActivityResultNotifyRewardGoods + { + public Int32 RewardType { get; set; } + public Int32 TemplateId { get; set; } + public Int32 Count { get; set; } + public Int32 Level { get; set; } + public Int32 Quality { get; set; } + public Int32 Grade { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ConvertFrom { get; set; } + public UInt32 Id { get; set; } + } + + public List RewardGoodsList { get; set; } = new(); } - [MessagePack.MessagePackObject(true)] + [global::MessagePack.MessagePackObject(true)] + public class NotifyArenaActivity + { + public Int32 ActivityNo { get; set; } + public Int32 ChallengeId { get; set; } + public Int32 Status { get; set; } + public UInt32 NextStatusTime { get; set; } + public Int32 ArenaLevel { get; set; } + public Int32 JoinActivity { get; set; } + public Int32 UnlockCount { get; set; } + public UInt32 TeamTime { get; set; } + public UInt32 FightTime { get; set; } + public UInt32 ResultTime { get; set; } + public List MaxPointStageList { get; set; } = new(); + public Int32 ContributeScore { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] public class NotifyGuildData { - public int GuildId { get; set; } - public string GuildName { get; set; } - public int GuildLevel { get; set; } - public int IconId { get; set; } - public int GuildRankLevel { get; set; } - public int HasContributeReward { get; set; } - public bool HasRecruit { get; set; } - public int BossEndTime { get; set; } - public int FreeChangeGuildNameCount { get; set; } + public UInt32 GuildId { get; set; } + public String GuildName { get; set; } + public Int32 GuildLevel { get; set; } + public Int32 IconId { get; set; } + public Int32 GuildRankLevel { get; set; } + public Int32 HasContributeReward { get; set; } + public Boolean HasRecruit { get; set; } + public UInt32 BossEndTime { get; set; } + public Int32 FreeChangeGuildNameCount { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityData + { + public Int32 ActivityNo { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityData + { + public Int32 CurRoundId { get; set; } + public Int32 RestRoundId { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityDataRoundData + { + public Int32 RoundId { get; set; } + public Int32 SkipRound { get; set; } + public Int32 DifficultyId { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityDataRoundDataNodeData + { + public Int32 Uid { get; set; } + public Int32 NodeId { get; set; } + public UInt32 CurHp { get; set; } + public UInt32 HpMax { get; set; } + public Int32 LastMstBornDayNo { get; set; } + public Int32 DeadTime { get; set; } + public Int32 AddRebuildTime { get; set; } + public Int32 IsDead { get; set; } + public Int32 FightCount { get; set; } + public Int32 CurMember { get; set; } + public Int32 NextMstBornTime { get; set; } + public Int32 Weakness { get; set; } + public Int32 NextBossAttackTime { get; set; } + public Int32 NextBossAttackDayNo { get; set; } + } + + public List NodeData { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityDataRoundDataMonsterData + { + public Int32 Uid { get; set; } + public Int32 MonsterId { get; set; } + public Int32 CurNodeIdx { get; set; } + public Int32 CurHp { get; set; } + public UInt32 HpMax { get; set; } + public UInt32 LastMoveDayNo { get; set; } + public UInt32 DeadTime { get; set; } + public Int32 FightCount { get; set; } + } + + public List MonsterData { get; set; } = new(); + public List AttackPlan { get; set; } = new(); + public Int32 TotalActivation { get; set; } + public UInt32 TotalPoint { get; set; } + public List Battlelog { get; set; } = new(); + } + + public List RoundData { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityDataAction + { + public Int32 ActionId { get; set; } + public UInt32 CreateTime { get; set; } + public Int32 ActionType { get; set; } + public Int32 MonsterUid { get; set; } + public dynamic? MonsterData { get; set; } + public Int32 PreNodeIdx { get; set; } + public Int32 NextNodeIdx { get; set; } + public Int32 NodeUid { get; set; } + public dynamic? NodeData { get; set; } + public Int32 Damage { get; set; } + public Int32 NodeId { get; set; } + public Int32 RoundId { get; set; } + public Int32 CurNodeIdx { get; set; } + public Int32 FromNodeUid { get; set; } + public Int32 ToNodeUid { get; set; } + public Int32 NextBossAttackTime { get; set; } + public Int32 DifficultyId { get; set; } + } + + public List ActionList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataActivityDataSettleData + { + public Int32 RoundId { get; set; } + public Int32 DifficultyId { get; set; } + public Int32 IsPass { get; set; } + public UInt32 PassUseSecond { get; set; } + public Int32 TotalActivation { get; set; } + public Int32 PlayerActivation { get; set; } + public Int32 PlayerPoints { get; set; } + public Int32 BaseHpPercent { get; set; } + public UInt32 BasePoint { get; set; } + public Int32 FinalRankPercent { get; set; } + public List CurMember { get; set; } = new(); + } + + public List SettleDatas { get; set; } = new(); + public List CompleteTaskId { get; set; } = new(); + public Int32 NextDifficultyId { get; set; } + public Int32 LastMaxDifficultyId { get; set; } + } + + public NotifyGuildWarActivityDataActivityData ActivityData { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataMyRoundData + { + public UInt32 GuildId { get; set; } + public Int32 RoundId { get; set; } + public Int32 DifficultyId { get; set; } + public Int32 SkipRound { get; set; } + public Int32 CurNodeId { get; set; } + public Int32 Activation { get; set; } + public Int32 Point { get; set; } + public List RewardNodeIds { get; set; } = new(); + public Int32 RoundReward { get; set; } + } + + public List MyRoundData { get; set; } = new(); + public List FightRecords { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataPopupRecord + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyGuildWarActivityDataPopupRecordSettleData + { + public Int32 RoundId { get; set; } + public Int32 DifficultyId { get; set; } + public Int32 IsPass { get; set; } + public UInt32 PassUseSecond { get; set; } + public Int32 TotalActivation { get; set; } + public Int32 PlayerActivation { get; set; } + public Int32 PlayerPoints { get; set; } + public Int32 BaseHpPercent { get; set; } + public UInt32 BasePoint { get; set; } + public Int32 FinalRankPercent { get; set; } + public List CurMember { get; set; } = new(); + } + + public List SettleDatas { get; set; } = new(); + } + + public NotifyGuildWarActivityDataPopupRecord PopupRecord { get; set; } + public List ActionPlayed { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyItemDataList + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyItemDataListItemData + { + public Int32 Id { get; set; } + public UInt32 Count { get; set; } + public Int32 BuyTimes { get; set; } + public Int32 TotalBuyTimes { get; set; } + public Int32 LastBuyTime { get; set; } + public UInt32 RefreshTime { get; set; } + public UInt32 CreateTime { get; set; } + } + + public List ItemDataList { get; set; } = new(); + public dynamic? ItemRecycleDict { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class EnterWorldChatResponse + { + public Int32 Code { get; set; } + public Int32 ChannelId { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class HeartbeatResponse + { + public UInt32 UtcServerTime { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetWorldChannelInfoResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetWorldChannelInfoResponseChannelInfo + { + public Int32 ChannelId { get; set; } + public Int32 PlayerNum { get; set; } + } + + public List ChannelInfos { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetPurchaseListResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetPurchaseListResponsePurchaseInfo + { + public UInt32 Id { get; set; } + public Int32 TimeToInvalid { get; set; } + public Int32 TimeToShelve { get; set; } + public Int32 TimeToUnShelve { get; set; } + public Int32 BuyTimes { get; set; } + public Int32 BuyLimitTimes { get; set; } + public Int32 ConsumeId { get; set; } + public Int32 ConsumeCount { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetPurchaseListResponsePurchaseInfoRewardGoods + { + public Int32 RewardType { get; set; } + public Int32 TemplateId { get; set; } + public UInt32 Count { get; set; } + public Int32 Level { get; set; } + public Int32 Quality { get; set; } + public Int32 Grade { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ConvertFrom { get; set; } + public UInt32 Id { get; set; } + } + + public List RewardGoodsList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class GetPurchaseListResponsePurchaseInfoDailyRewardGoods + { + public Int32 RewardType { get; set; } + public Int32 TemplateId { get; set; } + public Int32 Count { get; set; } + public Int32 Level { get; set; } + public Int32 Quality { get; set; } + public Int32 Grade { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ConvertFrom { get; set; } + public UInt32 Id { get; set; } + } + + public List DailyRewardGoodsList { get; set; } = new(); + public dynamic? FirstRewardGoods { get; set; } + public dynamic? ExtraRewardGoods { get; set; } + public Int32 DailyRewardRemainDay { get; set; } + public Boolean IsDailyRewardGet { get; set; } + public String Name { get; set; } + public String Desc { get; set; } + public String Icon { get; set; } + public Int32 UiType { get; set; } + public Int32 SignInId { get; set; } + public Int32 Tag { get; set; } + public Int32 Priority { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetPurchaseListResponsePurchaseInfoClientResetInfo + { + public Int32 ResetType { get; set; } + public Int32 DayCount { get; set; } + } + + public GetPurchaseListResponsePurchaseInfoClientResetInfo ClientResetInfo { get; set; } + public Boolean IsUseMail { get; set; } + public dynamic? NormalDiscounts { get; set; } + public dynamic? DiscountCouponInfos { get; set; } + public dynamic? DiscountShowStr { get; set; } + public Int32 LastBuyTime { get; set; } + public Int32 MailCount { get; set; } + public dynamic? PayKeySuffix { get; set; } + public List MutexPurchaseIds { get; set; } = new(); + public Int32 ConvertSwitch { get; set; } + public Boolean CanMultiply { get; set; } + public dynamic? FashionLabel { get; set; } + } + + public List PurchaseInfoList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetPlayerInfoListRequest + { + public List Ids { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetPlayerInfoListResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetPlayerInfoListResponsePlayerInfo + { + public UInt32 Id { get; set; } + public String Name { get; set; } + public Int32 Level { get; set; } + public Int32 FriendExp { get; set; } + public String Sign { get; set; } + public UInt32 CurrHeadPortraitId { get; set; } + public Int32 CurrHeadFrameId { get; set; } + public UInt32 LastLoginTime { get; set; } + public Boolean IsOnline { get; set; } + public Int32 CurrMedalId { get; set; } + } + + public List PlayerInfoList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildListDetailRequest + { + public Int32 GuildId { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildListDetailResponse + { + public Int32 Code { get; set; } + public UInt32 GuildId { get; set; } + public String GuildName { get; set; } + public Int32 GuildIconId { get; set; } + public Int32 GuildLevel { get; set; } + public Int32 GuildMemberCount { get; set; } + public Int32 GuildMemberMaxCount { get; set; } + public Int32 GuildTouristCount { get; set; } + public Int32 GuildTouristMaxCount { get; set; } + public Int32 GuildContributeLeft { get; set; } + public Int32 GuildContributeIn7Days { get; set; } + public String GuildLeaderName { get; set; } + public String GuildDeclaration { get; set; } + public String RankNames { get; set; } + public Int32 GiftContribute { get; set; } + public Int32 GiftGuildLevel { get; set; } + public Int32 GiftLevel { get; set; } + public List GiftLevelGot { get; set; } = new(); + public Int32 GiftGuildGot { get; set; } + public Int32 Build { get; set; } + public Int32 Option { get; set; } + public Int32 MinLevel { get; set; } + public Int32 MaintainState { get; set; } + public Int32 EmergenceTime { get; set; } + public Int32 TalentPointFromBuild { get; set; } + public dynamic? Notice { get; set; } + public Int32 TalentSumLevel { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildMemberDetailResponse + { + public Int32 Code { get; set; } + public UInt32 GuildId { get; set; } + public Boolean CanImpeach { get; set; } + public Boolean HasImpeach { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GuildMemberDetailResponseMembersData + { + public UInt32 Id { get; set; } + public String Name { get; set; } + public UInt32 HeadPortraitId { get; set; } + public Int32 HeadFrameId { get; set; } + public Int32 Level { get; set; } + public Int32 RankLevel { get; set; } + public Int32 ContributeIn7Days { get; set; } + public Int32 ContributeAct { get; set; } + public Int32 ContributeHistory { get; set; } + public Int32 Popularity { get; set; } + public UInt32 LastLoginTime { get; set; } + public Int32 OnlineFlag { get; set; } + } + + public List MembersData { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildListApplyResponse + { + public Int32 Code { get; set; } + public List Data { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildListChatResponse + { + public Int32 Code { get; set; } + public List ChatList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GuildWarOpenSupportPanelResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GuildWarOpenSupportPanelResponseSupportDetail + { + public Int32 CharacterId { get; set; } + public Int32 SupportSupply { get; set; } + public List ToAssistRecords { get; set; } = new(); + public List MyLogs { get; set; } = new(); + public List GetAssistRecords { get; set; } = new(); + public List MyAssistRecords { get; set; } = new(); + public Int32 LastRecvTime { get; set; } + } + + public GuildWarOpenSupportPanelResponseSupportDetail SupportDetail { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class DoClientTaskEventRequest + { + public Int32 ClientTaskType { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class DoClientTaskEventResponse + { + public Int32 Code { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class OfflineMessageResponse + { + public Int32 Code { get; set; } + public dynamic? Messages { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class ReconnectRequest + { + public String Token { get; set; } + public UInt32 PlayerId { get; set; } + public Int32 LastMsgSeqNo { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class ReconnectResponse + { + public Int32 Code { get; set; } + public String ReconnectToken { get; set; } + public Int32 RequestNo { get; set; } + public List OfflineMessages { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class ScoreQueryResponse + { + public Int32 Code { get; set; } + public Int32 ActivityNo { get; set; } + public Int32 ChallengeId { get; set; } + public Double WaveRate { get; set; } + public Int32 ArenaLevel { get; set; } + public Int32 ContributeScore { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class ScoreQueryResponseGroupPlayer + { + public UInt32 Id { get; set; } + public String Name { get; set; } + public UInt32 CurrHeadPortraitId { get; set; } + public Int32 CurrHeadFrameId { get; set; } + public UInt32 Point { get; set; } + public UInt32 LastPointTime { get; set; } + } + + public List GroupPlayerList { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class ScoreQueryResponseTeamPlayer + { + public UInt32 Id { get; set; } + public String Name { get; set; } + public UInt32 CurrHeadPortraitId { get; set; } + public Int32 CurrHeadFrameId { get; set; } + public Int32 Point { get; set; } + public Int32 LastPointTime { get; set; } + } + + public List TeamPlayerList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class Ping + { + public UInt64 UtcTime { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class Pong + { + public UInt64 UtcTime { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class TeamSetTeamRequest + { + [global::MessagePack.MessagePackObject(true)] + public class TeamSetTeamRequestTeamData + { + public Int32 TeamId { get; set; } + public Int32 CaptainPos { get; set; } + public Dictionary TeamData { get; set; } + public Int32 FirstFightPos { get; set; } + public String TeamName { get; set; } + } + + public TeamSetTeamRequestTeamData TeamData { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class TeamSetTeamResponse + { + public Int32 Code { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class PreFightRequest + { + [global::MessagePack.MessagePackObject(true)] + public class PreFightRequestPreFightData + { + public Int32 ChallengeCount { get; set; } + public UInt32 StageId { get; set; } + public List CardIds { get; set; } = new(); + public Int32 FirstFightPos { get; set; } + public Int32 CaptainPos { get; set; } + public Boolean IsHasAssist { get; set; } + } + + public PreFightRequestPreFightData PreFightData { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class PreFightResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class PreFightResponseFightData + { + public Boolean Online { get; set; } + public UInt32 FightId { get; set; } + public dynamic? RoomId { get; set; } + public Int32 OnlineMode { get; set; } + public UInt32 Seed { get; set; } + public UInt32 StageId { get; set; } + public Int32 RebootId { get; set; } + public Int32 PassTimeLimit { get; set; } + public Int32 StarsMark { get; set; } + public List MonsterLevel { get; set; } = new(); + public List EventIds { get; set; } = new(); + public dynamic? FightEventsWithLevel { get; set; } + public List NormalEventIds { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class PreFightResponseFightDataRoleData + { + public UInt32 Id { get; set; } + public Int32 Camp { get; set; } + public String Name { get; set; } + public Boolean IsRobot { get; set; } + public Int32 CaptainIndex { get; set; } + public Int32 FirstFightPos { get; set; } + public Dictionary NpcData { get; set; } + public dynamic? CustomNpc { get; set; } + public dynamic? AssistNpcData { get; set; } + } + + public List RoleData { get; set; } = new(); + public Int32 ReviseId { get; set; } + public Int32 PlayerLevel { get; set; } + public dynamic? NpcGroupList { get; set; } + public dynamic? FightControlData { get; set; } + public Boolean DisableJoystick { get; set; } + public Boolean Restartable { get; set; } + public Boolean DisableDeadEffect { get; set; } + public String CustomData { get; set; } + public dynamic? Records { get; set; } + public dynamic? StageParams { get; set; } + public dynamic? StStageDropData { get; set; } + } + + public PreFightResponseFightData FightData { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyStageData + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyStageDataStage + { + public UInt32 StageId { get; set; } + public Int32 StarsMark { get; set; } + public Boolean Passed { get; set; } + public Int32 PassTimesToday { get; set; } + public Int32 PassTimesTotal { get; set; } + public Int32 BuyCount { get; set; } + public Int32 Score { get; set; } + public UInt32 LastPassTime { get; set; } + public UInt32 RefreshTime { get; set; } + public UInt32 CreateTime { get; set; } + public Int32 BestRecordTime { get; set; } + public Int32 LastRecordTime { get; set; } + public List BestCardIds { get; set; } = new(); + public List LastCardIds { get; set; } = new(); + } + + public List StageList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class FightSettleResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class FightSettleResponseSettle + { + public Boolean IsWin { get; set; } + public UInt32 StageId { get; set; } + public Int32 StarsMark { get; set; } + public List RewardGoodsList { get; set; } = new(); + public Int32 LeftTime { get; set; } + public Dictionary NpcHpInfo { get; set; } + public Int32 UrgentEnventId { get; set; } + public dynamic? ClientAssistInfo { get; set; } + public List FlopRewardList { get; set; } = new(); + public dynamic? ArenaResult { get; set; } + public List MultiRewardGoodsList { get; set; } = new(); + public Int32 ChallengeCount { get; set; } + public dynamic? UnionKillResult { get; set; } + public dynamic? InfestorBossFightResult { get; set; } + public dynamic? GuildBossFightResult { get; set; } + public dynamic? WorldBossFightResult { get; set; } + public dynamic? BossSingleFightResult { get; set; } + public dynamic? NieRBossFightResult { get; set; } + public dynamic? TRPGBossFightResult { get; set; } + public dynamic? ExpeditionFightResult { get; set; } + public dynamic? ChessPursuitResult { get; set; } + public dynamic? StrongholdFightResult { get; set; } + public dynamic? AreaWarFightResult { get; set; } + public dynamic? GuildWarFightResult { get; set; } + public dynamic? ReformFightResult { get; set; } + public dynamic? KillZoneStageResult { get; set; } + public dynamic? EpisodeFightResult { get; set; } + public dynamic? StTargetStageFightResult { get; set; } + public dynamic? StMapTierDataOperation { get; set; } + public dynamic? SimulateTrainFightResult { get; set; } + public dynamic? SuperSmashBrosBattleResult { get; set; } + public dynamic? SpecialTrainRankFightResult { get; set; } + public dynamic? DoubleTowerFightResult { get; set; } + public dynamic? TaikoMasterSettleResult { get; set; } + public dynamic? MultiDimFightResult { get; set; } + public dynamic? MoewarParkourSettleResult { get; set; } + public dynamic? SpecialTrainBreakthroughResult { get; set; } + public dynamic? TwoSideTowerSettleResult { get; set; } + public dynamic? BabelTowerSettleResult { get; set; } + } + + public FightSettleResponseSettle Settle { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class CharacterUpgradeSkillGroupRequest + { + public UInt32 SkillGroupId { get; set; } + public Int32 Count { get; set; } + } + + [MessagePack.MessagePackObject(true)] + public class NotifyPrequelUnlockChallengeStages + { + public List UnlockChallengeStages { get; set; } = new(); + } + + [global::MessagePack.MessagePackObject(true)] + public class NotifyCharacterDataList + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyCharacterDataListCharacterData + { + public UInt32 Id { get; set; } + public Int32 Level { get; set; } + public UInt32 Exp { get; set; } + public Int32 Quality { get; set; } + public Int32 InitQuality { get; set; } + public Int32 Star { get; set; } + public Int32 Grade { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyCharacterDataListCharacterDataSkill + { + public UInt32 Id { get; set; } + public Int32 Level { get; set; } + } + + public List SkillList { get; set; } = new(); + public List EnhanceSkillList { get; set; } = new(); + public UInt32 FashionId { get; set; } + public UInt32 CreateTime { get; set; } + public Int32 TrustLv { get; set; } + public Int32 TrustExp { get; set; } + public Int32 Ability { get; set; } + public Int32 LiberateLv { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class NotifyCharacterDataListCharacterDataCharacterHeadInfo + { + public UInt32 HeadFashionId { get; set; } + public Int32 HeadFashionType { get; set; } + } + + public NotifyCharacterDataListCharacterDataCharacterHeadInfo CharacterHeadInfo { get; set; } + } + + public List CharacterDataList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class CharacterUpgradeSkillGroupResponse + { + public Int32 Code { get; set; } + public Int32 Level { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoRequest + { + public UInt32 Id { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class ItemUseRequest + { + public UInt32 Id { get; set; } + public UInt32 RecycleTime { get; set; } + public Int32 Count { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class ItemUseResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class ItemUseResponseRewardGoods + { + public Int32 RewardType { get; set; } + public Int32 TemplateId { get; set; } + public UInt32 Count { get; set; } + public Int32 Level { get; set; } + public Int32 Quality { get; set; } + public Int32 Grade { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ConvertFrom { get; set; } + public UInt32 Id { get; set; } + } + + public List RewardGoodsList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyPlayerLevel + { + public Int32 Level { get; set; } + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveEquip + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveEquipEquip + { + public UInt32 Id { get; set; } + public Int32 Level { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ResonanceCount { get; set; } + } + + public List Equips { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveMonsterRecord + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyArchiveMonsterRecordMonster + { + public UInt32 Id { get; set; } + public UInt32 Killed { get; set; } + } + + public List Monsters { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class NotifyEquipDataList + { + [global::MessagePack.MessagePackObject(true)] + public class NotifyEquipDataListEquipData + { + public UInt32 Id { get; set; } + public UInt32 TemplateId { get; set; } + public Int32 CharacterId { get; set; } + public Int32 Level { get; set; } + public Int32 Exp { get; set; } + public Int32 Breakthrough { get; set; } + public List ResonanceInfo { get; set; } = new(); + public List UnconfirmedResonanceInfo { get; set; } = new(); + public List AwakeSlotList { get; set; } = new(); + public Boolean IsLock { get; set; } + public UInt32 CreateTime { get; set; } + public Boolean IsRecycle { get; set; } + } + + public List EquipDataList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetVoteGroupListResponse + { + [global::MessagePack.MessagePackObject(true)] + public class GetVoteGroupListResponseVoteGroup + { + public Int32 Id { get; set; } + public Int32 TimeToClose { get; set; } + public Dictionary VoteDic { get; set; } + } + + public List VoteGroupList { get; set; } = new(); + } + + + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoResponse + { + public Int32 Code { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoResponseClientShop + { + public UInt32 Id { get; set; } + public String Name { get; set; } + public Int32 RefreshTime { get; set; } + public Int32 ClosedTime { get; set; } + public Int32 ManualRefreshTimes { get; set; } + public Int32 ManualResetTimesLimit { get; set; } + public Int32 RefreshCostId { get; set; } + public Int32 RefreshCostCount { get; set; } + public Int32 TotalBuyTimes { get; set; } + public Int32 BuyTimesLimit { get; set; } + public List ShowIds { get; set; } = new(); + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoResponseClientShopGoods + { + public UInt32 Id { get; set; } + public UInt32 Priority { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoResponseClientShopGoodsRewardGoods + { + public Int32 RewardType { get; set; } + public UInt32 TemplateId { get; set; } + public Int32 Count { get; set; } + public Int32 Level { get; set; } + public Int32 Quality { get; set; } + public Int32 Grade { get; set; } + public Int32 Breakthrough { get; set; } + public Int32 ConvertFrom { get; set; } + public Int32 Id { get; set; } + } + + public GetShopInfoResponseClientShopGoodsRewardGoods RewardGoods { get; set; } + [global::MessagePack.MessagePackObject(true)] + public class GetShopInfoResponseClientShopGoodsConsume + { + public Int32 Id { get; set; } + public UInt32 Count { get; set; } + } + + public List ConsumeList { get; set; } = new(); + public Int32 TotalBuyTimes { get; set; } + public Int32 BuyTimesLimit { get; set; } + public dynamic? OnSales { get; set; } + public Int32 OnSaleTime { get; set; } + public Int32 SelloutTime { get; set; } + public Int32 RefreshTime { get; set; } + public Int32 Tags { get; set; } + public dynamic? PayKeySuffix { get; set; } + public List ConditionIds { get; set; } = new(); + public Int32 GiftRewardId { get; set; } + public Int32 AutoResetClockId { get; set; } + } + + public List GoodsList { get; set; } = new(); + public List ScreenGroupList { get; set; } = new(); + public List ConditionIds { get; set; } = new(); + public dynamic? RefreshTips { get; set; } + } + + public GetShopInfoResponseClientShop ClientShop { get; set; } } @@ -1451,653 +2741,20 @@ namespace AscNet.Common.MsgPack public int Id { get; set; } } - public NotifyMailsNewMailListRewardGoodsList[] RewardGoodsList { get; set; } + public List RewardGoodsList { get; set; } = new(); public bool IsForbidDelete { get; set; } } - public NotifyMailsNewMailList[] NewMailList { get; set; } + public List NewMailList { get; set; } = new(); public dynamic? ExpireIdList { get; set; } } [MessagePack.MessagePackObject(true)] - public class EnterWorldChatResponse + public class NotifyMaintainerActionDailyReset { - public int Code { get; set; } - public int ChannelId { get; set; } + public int UsedActionCount { get; set; } + public int ExtraActionCount { get; set; } } - - [MessagePack.MessagePackObject(true)] - public class GetWorldChannelInfoResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class GetWorldChannelInfoResponseChannelInf - { - public int ChannelId { get; set; } - public int PlayerNum { get; set; } - } - - public GetWorldChannelInfoResponseChannelInf[] ChannelInfos { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class HeartbeatResponse - { - public uint UtcServerTime { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListRequest - { - public int[] UiTypeList { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListResponsePurchaseInfoList - { - public uint Id { get; set; } - public int TimeToInvalid { get; set; } - public int TimeToShelve { get; set; } - public int TimeToUnShelve { get; set; } - public int BuyTimes { get; set; } - public int BuyLimitTimes { get; set; } - public int ConsumeId { get; set; } - public int ConsumeCount { get; set; } - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListResponsePurchaseInfoListRewardGoodsList - { - public int RewardType { get; set; } - public int TemplateId { get; set; } - public uint Count { get; set; } - public int Level { get; set; } - public int Quality { get; set; } - public int Grade { get; set; } - public int Breakthrough { get; set; } - public int ConvertFrom { get; set; } - public uint Id { get; set; } - } - - public GetPurchaseListResponsePurchaseInfoListRewardGoodsList[] RewardGoodsList { get; set; } - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListResponsePurchaseInfoListDailyRewardGoodsList - { - public int RewardType { get; set; } - public int TemplateId { get; set; } - public int Count { get; set; } - public int Level { get; set; } - public int Quality { get; set; } - public int Grade { get; set; } - public int Breakthrough { get; set; } - public int ConvertFrom { get; set; } - public uint Id { get; set; } - } - - public GetPurchaseListResponsePurchaseInfoListDailyRewardGoodsList[] DailyRewardGoodsList { get; set; } - public dynamic? FirstRewardGoods { get; set; } - public dynamic? ExtraRewardGoods { get; set; } - public int DailyRewardRemainDay { get; set; } - public bool IsDailyRewardGet { get; set; } - public string Name { get; set; } - public string Desc { get; set; } - public string Icon { get; set; } - public int UiType { get; set; } - public int SignInId { get; set; } - public int Tag { get; set; } - public int Priority { get; set; } - [MessagePack.MessagePackObject(true)] - public class GetPurchaseListResponsePurchaseInfoListClientResetInfo - { - public int ResetType { get; set; } - public int DayCount { get; set; } - } - - public GetPurchaseListResponsePurchaseInfoListClientResetInfo ClientResetInfo { get; set; } - public bool IsUseMail { get; set; } - public dynamic? NormalDiscounts { get; set; } - public dynamic? DiscountCouponInfos { get; set; } - public dynamic? DiscountShowStr { get; set; } - public int LastBuyTime { get; set; } - public int MailCount { get; set; } - public dynamic? PayKeySuffix { get; set; } - public uint[] MutexPurchaseIds { get; set; } - public int ConvertSwitch { get; set; } - public bool CanMultiply { get; set; } - public dynamic? FashionLabel { get; set; } - } - - public GetPurchaseListResponsePurchaseInfoList[] PurchaseInfoList { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class OfflineMessageRequest - { - public sbyte MessageId { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class OfflineMessageResponse - { - public int Code { get; set; } - public dynamic? Messages { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class DoClientTaskEventRequest - { - public int ClientTaskType { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class DoClientTaskEventResponse - { - public int Code { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class SignInRequest - { - public int Id { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyItemDataList - { - [MessagePack.MessagePackObject(true)] - public class NotifyItemDataListItemDataList - { - public uint Id { get; set; } - public int Count { get; set; } - public int BuyTimes { get; set; } - public int TotalBuyTimes { get; set; } - public int LastBuyTime { get; set; } - public uint RefreshTime { get; set; } - public uint CreateTime { get; set; } - } - - public NotifyItemDataListItemDataList[] ItemDataList { get; set; } - public dynamic? ItemRecycleDict { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class SignInResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class SignInResponseRewardGoodsList - { - public int RewardType { get; set; } - public uint TemplateId { get; set; } - public int Count { get; set; } - public int Level { get; set; } - public int Quality { get; set; } - public int Grade { get; set; } - public int Breakthrough { get; set; } - public int ConvertFrom { get; set; } - public uint Id { get; set; } - } - - public SignInResponseRewardGoodsList[] RewardGoodsList { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyEquipDataList - { - [MessagePack.MessagePackObject(true)] - public class NotifyEquipDataListEquipDataList - { - public uint Id { get; set; } - public uint TemplateId { get; set; } - public int CharacterId { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Breakthrough { get; set; } - public dynamic[] ResonanceInfo { get; set; } - public dynamic[] UnconfirmedResonanceInfo { get; set; } - public dynamic[] AwakeSlotList { get; set; } - public bool IsLock { get; set; } - public uint CreateTime { get; set; } - public bool IsRecycle { get; set; } - } - - public NotifyEquipDataListEquipDataList[] EquipDataList { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class CharacterLevelUpRequest - { - public Dictionary UseItems { get; set; } - public uint TemplateId { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class NotifyCharacterDataList - { - [MessagePack.MessagePackObject(true)] - public class NotifyCharacterDataListCharacterDataList - { - public uint Id { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Quality { get; set; } - public int InitQuality { get; set; } - public int Star { get; set; } - public int Grade { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyCharacterDataListCharacterDataListSkillList - { - public uint Id { get; set; } - public int Level { get; set; } - } - - public NotifyCharacterDataListCharacterDataListSkillList[] SkillList { get; set; } - public dynamic[] EnhanceSkillList { get; set; } - public uint FashionId { get; set; } - public uint CreateTime { get; set; } - public int TrustLv { get; set; } - public int TrustExp { get; set; } - public uint Ability { get; set; } - public int LiberateLv { get; set; } - [MessagePack.MessagePackObject(true)] - public class NotifyCharacterDataListCharacterDataListCharacterHeadInfo - { - public int HeadFashionId { get; set; } - public int HeadFashionType { get; set; } - } - - public NotifyCharacterDataListCharacterDataListCharacterHeadInfo CharacterHeadInfo { get; set; } - } - - public NotifyCharacterDataListCharacterDataList[] CharacterDataList { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class CharacterLevelUpResponse - { - public int Code { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class AreaDataResponse - { - public int Code { get; set; } - public int TotalPoint { get; set; } - [MessagePack.MessagePackObject(true)] - public class AreaDataResponseAreaList - { - public int AreaId { get; set; } - public int Lock { get; set; } - public int Point { get; set; } - [MessagePack.MessagePackObject(true)] - public class AreaDataResponseAreaListLordList - { - public uint Id { get; set; } - public string Name { get; set; } - public uint CurrHeadPortraitId { get; set; } - public int CurrHeadFrameId { get; set; } - public uint Point { get; set; } - } - - public AreaDataResponseAreaListLordList[] LordList { get; set; } - public dynamic? StageInfos { get; set; } - } - - public AreaDataResponseAreaList[] AreaList { get; set; } - public uint GroupFightEvent { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class Ping - { - public ulong UtcTime { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class Pong - { - public ulong UtcTime { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class TeamSetTeamRequest - { - [MessagePack.MessagePackObject(true)] - public class TeamSetTeamRequestTeamData - { - public int TeamId { get; set; } - public int CaptainPos { get; set; } - public int FirstFightPos { get; set; } - public string TeamName { get; set; } - public Dictionary TeamData { get; set; } - } - - public TeamSetTeamRequestTeamData TeamData { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class TeamSetTeamResponse - { - public int Code { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class PreFightRequest - { - [MessagePack.MessagePackObject(true)] - public class PreFightRequestPreFightData - { - public int ChallengeCount { get; set; } - public bool IsHasAssist { get; set; } - public int FirstFightPos { get; set; } - public uint[] CardIds { get; set; } - public int CaptainPos { get; set; } - public uint StageId { get; set; } - } - - public PreFightRequestPreFightData PreFightData { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class PreFightResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightData - { - public bool Online { get; set; } - public uint FightId { get; set; } - public dynamic? RoomId { get; set; } - public int OnlineMode { get; set; } - public uint Seed { get; set; } - public uint StageId { get; set; } - public int RebootId { get; set; } - public uint PassTimeLimit { get; set; } - public int StarsMark { get; set; } - public dynamic? MonsterLevel { get; set; } - public dynamic[] EventIds { get; set; } - public dynamic? FightEventsWithLevel { get; set; } - public dynamic[] NormalEventIds { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleData - { - public uint Id { get; set; } - public int Camp { get; set; } - public string Name { get; set; } - public bool IsRobot { get; set; } - public int CaptainIndex { get; set; } - public int FirstFightPos { get; set; } - public Dictionary NpcData { get; set; } - public dynamic? CustomNpc { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcData - { - public uint Id { get; set; } - public int Level { get; set; } - public string Name { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcDataNpcData - { - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacter - { - public uint Id { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Quality { get; set; } - public int InitQuality { get; set; } - public int Star { get; set; } - public int Grade { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacterSkillList - { - public uint Id { get; set; } - public int Level { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacterSkillList[] SkillList { get; set; } - public dynamic[] EnhanceSkillList { get; set; } - public uint FashionId { get; set; } - public uint CreateTime { get; set; } - public int TrustLv { get; set; } - public int TrustExp { get; set; } - public int Ability { get; set; } - public int LiberateLv { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacterCharacterHeadInfo - { - public uint HeadFashionId { get; set; } - public int HeadFashionType { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacterCharacterHeadInfo CharacterHeadInfo { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcDataNpcDataCharacter Character { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataRoleDataAssistNpcDataNpcDataEqui - { - public int Id { get; set; } - public uint TemplateId { get; set; } - public uint CharacterId { get; set; } - public int Level { get; set; } - public int Exp { get; set; } - public int Breakthrough { get; set; } - public dynamic[] ResonanceInfo { get; set; } - public dynamic[] UnconfirmedResonanceInfo { get; set; } - public dynamic[] AwakeSlotList { get; set; } - public bool IsLock { get; set; } - public uint CreateTime { get; set; } - public bool IsRecycle { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcDataNpcDataEqui[] Equips { get; set; } - public dynamic[] AttribGroupList { get; set; } - public dynamic? CharacterSkillPlus { get; set; } - public dynamic[] EquipSkillPlus { get; set; } - public int AttribReviseId { get; set; } - public dynamic[] EventIds { get; set; } - public dynamic? FightEventsWithLevel { get; set; } - public int WeaponFashionId { get; set; } - public dynamic? Partner { get; set; } - public bool IsRobot { get; set; } - public dynamic? AttrRateTable { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcDataNpcData NpcData { get; set; } - public int AssistType { get; set; } - public int RuleTemplateId { get; set; } - public string Sign { get; set; } - public uint HeadPortraitId { get; set; } - public int HeadFrameId { get; set; } - } - - public PreFightResponseFightDataRoleDataAssistNpcData AssistNpcData { get; set; } - } - - public PreFightResponseFightDataRoleData[] RoleData { get; set; } - public int ReviseId { get; set; } - public int PlayerLevel { get; set; } - public dynamic? NpcGroupList { get; set; } - [MessagePack.MessagePackObject(true)] - public class PreFightResponseFightDataFightControlData - { - public int MaxFight { get; set; } - public int MaxRecommendFight { get; set; } - public int MaxShowFight { get; set; } - public int AvgFight { get; set; } - public int AvgRecommendFight { get; set; } - public int AvgShowFight { get; set; } - } - - public PreFightResponseFightDataFightControlData FightControlData { get; set; } - public bool DisableJoystick { get; set; } - public bool Restartable { get; set; } - public bool DisableDeadEffect { get; set; } - public dynamic? CustomData { get; set; } - public dynamic? Records { get; set; } - public dynamic? StageParams { get; set; } - public dynamic? StStageDropData { get; set; } - } - - public PreFightResponseFightData FightData { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class FightSettleRequest - { - [MessagePack.MessagePackObject(true)] - public class FightSettleRequestResult - { - public bool IsWin { get; set; } - public bool IsForceExit { get; set; } - public uint StageId { get; set; } - public int StageLevel { get; set; } - public uint FightId { get; set; } - public int RebootCount { get; set; } - public int AddStars { get; set; } - public int StartFrame { get; set; } - public uint SettleFrame { get; set; } - public int PauseFrame { get; set; } - public int ExSkillPauseFrame { get; set; } - public uint SettleCode { get; set; } - public int DodgeTimes { get; set; } - public int NormalAttackTimes { get; set; } - public int ConsumeBallTimes { get; set; } - public int StuntSkillTimes { get; set; } - public int PauseTimes { get; set; } - public int HighestCombo { get; set; } - public int DamagedTimes { get; set; } - public int MatrixTimes { get; set; } - public uint HighestDamage { get; set; } - public uint TotalDamage { get; set; } - public uint TotalDamaged { get; set; } - public uint TotalCure { get; set; } - public uint[] PlayerIds { get; set; } - public dynamic[] PlayerData { get; set; } - public dynamic? IntToIntRecord { get; set; } - public dynamic? StringToIntRecord { get; set; } - public Dictionary Operations { get; set; } - public uint[] Codes { get; set; } - public int LeftTime { get; set; } - public Dictionary NpcHpInfo { get; set; } - public Dictionary NpcDpsTable { get; set; } - public dynamic[] EventSet { get; set; } - public int DeathTotalMyTeam { get; set; } - public int DeathTotalEnemy { get; set; } - public Dictionary DeathRecord { get; set; } - public dynamic[] GroupDropDatas { get; set; } - public dynamic? EpisodeFightResults { get; set; } - public dynamic? CustomData { get; set; } - } - - public FightSettleRequestResult Result { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class FightSettleResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class FightSettleResponseSettle - { - public bool IsWin { get; set; } - public uint StageId { get; set; } - public int StarsMark { get; set; } - public dynamic? RewardGoodsList { get; set; } - public int LeftTime { get; set; } - public Dictionary NpcHpInfo { get; set; } - public int UrgentEnventId { get; set; } - public dynamic? ClientAssistInfo { get; set; } - public dynamic[] FlopRewardList { get; set; } - public dynamic? ArenaResult { get; set; } - public dynamic? MultiRewardGoodsList { get; set; } - public int ChallengeCount { get; set; } - public dynamic? UnionKillResult { get; set; } - public dynamic? InfestorBossFightResult { get; set; } - public dynamic? GuildBossFightResult { get; set; } - public dynamic? WorldBossFightResult { get; set; } - public dynamic? BossSingleFightResult { get; set; } - public dynamic? NieRBossFightResult { get; set; } - public dynamic? TRPGBossFightResult { get; set; } - public dynamic? ExpeditionFightResult { get; set; } - public dynamic? ChessPursuitResult { get; set; } - public dynamic? StrongholdFightResult { get; set; } - public dynamic? AreaWarFightResult { get; set; } - public dynamic? GuildWarFightResult { get; set; } - public dynamic? ReformFightResult { get; set; } - public dynamic? KillZoneStageResult { get; set; } - public dynamic? EpisodeFightResult { get; set; } - public dynamic? StTargetStageFightResult { get; set; } - public dynamic? StMapTierDataOperation { get; set; } - public dynamic? SimulateTrainFightResult { get; set; } - public dynamic? SuperSmashBrosBattleResult { get; set; } - public dynamic? SpecialTrainRankFightResult { get; set; } - public dynamic? DoubleTowerFightResult { get; set; } - public dynamic? TaikoMasterSettleResult { get; set; } - public dynamic? MultiDimFightResult { get; set; } - public dynamic? MoewarParkourSettleResult { get; set; } - public dynamic? SpecialTrainBreakthroughResult { get; set; } - public dynamic? TwoSideTowerSettleResult { get; set; } - public dynamic? BabelTowerSettleResult { get; set; } - } - - public FightSettleResponseSettle Settle { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class FinishTaskRequest - { - public uint TaskId { get; set; } - } - - - [MessagePack.MessagePackObject(true)] - public class FinishTaskResponse - { - public int Code { get; set; } - [MessagePack.MessagePackObject(true)] - public class FinishTaskResponseRewardGoodsList - { - public int RewardType { get; set; } - public int TemplateId { get; set; } - public uint Count { get; set; } - public int Level { get; set; } - public int Quality { get; set; } - public int Grade { get; set; } - public int Breakthrough { get; set; } - public int ConvertFrom { get; set; } - public uint Id { get; set; } - } - - public FinishTaskResponseRewardGoodsList[] RewardGoodsList { get; set; } - } } diff --git a/AscNet.GameServer/Handlers/AccountModule.cs b/AscNet.GameServer/Handlers/AccountModule.cs index 333367c..9e9234b 100644 --- a/AscNet.GameServer/Handlers/AccountModule.cs +++ b/AscNet.GameServer/Handlers/AccountModule.cs @@ -62,11 +62,7 @@ namespace AscNet.GameServer.Handlers //GetWorldChannelInfoRequest request = MessagePackSerializer.Deserialize(packet); //session.c.Log("GetWorldChannelInfoRequest" + " " + JsonConvert.SerializeObject(request)); - GetWorldChannelInfoResponse getWorldChannelInfoResponse = new() - { - Code = 0, - ChannelInfos = { } - }; + GetWorldChannelInfoResponse getWorldChannelInfoResponse = new(); getWorldChannelInfoResponse.ChannelInfos.Append(new() { ChannelId = 0, @@ -84,7 +80,7 @@ namespace AscNet.GameServer.Handlers OfflineMessageResponse offlineMessageResponse = new() { Code = 0, - Messages = { } + Messages = Array.Empty() }; session.SendResponse(offlineMessageResponse); } @@ -121,11 +117,7 @@ namespace AscNet.GameServer.Handlers SignInRequest request = MessagePackSerializer.Deserialize(packet); session.c.Log("SignInRequest" + " " + JsonConvert.SerializeObject(request)); - SignInResponse signInResponse = new() - { - Code = 0, - RewardGoodsList = { }, - }; + SignInResponse signInResponse = new(); session.SendResponse(signInResponse); } @@ -135,11 +127,7 @@ namespace AscNet.GameServer.Handlers GetPurchaseListRequest request = MessagePackSerializer.Deserialize(packet); session.c.Log("GetPurchaseListRequest" + " " + JsonConvert.SerializeObject(request)); - GetPurchaseListResponse getPurchaseListResponse = new() - { - Code = 0, - PurchaseInfoList = { } - }; + GetPurchaseListResponse getPurchaseListResponse = new(); session.SendResponse(getPurchaseListResponse); } @@ -149,10 +137,7 @@ namespace AscNet.GameServer.Handlers NotifyLogin notifyLogin = JsonConvert.DeserializeObject(File.ReadAllText("Data/NotifyLogin.json"))!; session.SendPush(notifyLogin); - NotifyDailyLotteryData notifyDailyLotteryData = new() - { - Lotteries = { } - }; + NotifyDailyLotteryData notifyDailyLotteryData = new(); session.SendPush(notifyDailyLotteryData); NotifyPayInfo notifyPayInfo = new() @@ -162,78 +147,41 @@ namespace AscNet.GameServer.Handlers }; session.SendPush(notifyPayInfo); - NotifyEquipChipGroupList notifyEquipChipGroupList = new() - { - ChipGroupDataList = { } - }; + NotifyEquipChipGroupList notifyEquipChipGroupList = new(); session.SendPush(notifyEquipChipGroupList); NotifyEquipChipAutoRecycleSite notifyEquipChipAutoRecycleSite = new() { - ChipRecycleSite = { } + ChipRecycleSite = new NotifyEquipChipAutoRecycleSite.NotifyEquipChipAutoRecycleSiteChipRecycleSite() }; session.SendPush(notifyEquipChipAutoRecycleSite); NotifyEquipGuideData notifyEquipGuideData = new() { EquipGuideData = new() - { - TargetId = 0, - PutOnPosList = { }, - FinishedTargets = { } - } }; session.SendPush(notifyEquipGuideData); - NotifyArchiveLoginData notifyArchiveLoginData = new() - { - Monsters = { }, - Equips = { }, - MonsterUnlockIds = { }, - WeaponUnlockIds = { }, - AwarenessUnlockIds = { }, - MonsterSettings = { }, - WeaponSettings = { }, - AwarenessSettings = { }, - MonsterInfos = { }, - MonsterSkills = { }, - UnlockCgs = { }, - UnlockStoryDetails = { }, - PartnerUnlockIds = { }, - PartnerSettings = { }, - UnlockPvDetails = { }, - UnlockMails = { } - }; + NotifyArchiveLoginData notifyArchiveLoginData = new(); session.SendPush(notifyArchiveLoginData); NotifyChatLoginData notifyChatLoginData = new() { - RefreshTime = GetPlaceholderTime(), - UnlockEmojis = { } + RefreshTime = GetPlaceholderTime() }; session.SendPush(notifyChatLoginData); - NotifySocialData notifySocialData = new() - { - FriendData = { }, - ApplyData = { }, - Remarks = { }, - BlockData = { }, - }; + NotifySocialData notifySocialData = new(); session.SendPush(notifySocialData); NotifyTaskData notifyTaskData = JsonConvert.DeserializeObject(File.ReadAllText("Data/NotifyTaskData.json"))!; //NotifyTaskData notifyTaskData = new() //{ - // TaskData = { } + // TaskData = Array.Empty() //}; session.SendPush(notifyTaskData); - NotifyActivenessStatus notifyActivenessStatus = new() - { - DailyActivenessRewardStatus = 0, - WeeklyActivenessRewardStatus = 0 - }; + NotifyActivenessStatus notifyActivenessStatus = new(); session.SendPush(notifyActivenessStatus); NotifyNewPlayerTaskStatus notifyNewPlayerTaskStatus = new() @@ -244,35 +192,19 @@ namespace AscNet.GameServer.Handlers NotifyRegression2Data notifyRegression2Data = new() { - Data = { } + Data = new NotifyRegression2Data.NotifyRegression2DataData() }; session.SendPush(notifyRegression2Data); - NotifyMaintainerActionData notifyMaintainerActionData = new(); - session.SendPush(notifyMaintainerActionData); - - NotifyAllRedEnvelope notifyAllRedEnvelope = new() - { - Envelopes = { } - }; + NotifyAllRedEnvelope notifyAllRedEnvelope = new(); session.SendPush(notifyAllRedEnvelope); - NotifyScoreTitleData notifyScoreTitleData = new() - { - TitleInfos = { }, - HideTypes = { }, - IsHideCollection = false, - WallInfos = { }, - }; + NotifyScoreTitleData notifyScoreTitleData = new(); session.SendPush(notifyScoreTitleData); NotifyBfrtData notifyBfrtData = new() { BfrtData = new() - { - BfrtGroupRecords = { }, - BfrtTeamInfos = { } - } }; session.SendPush(notifyBfrtData); @@ -294,108 +226,71 @@ namespace AscNet.GameServer.Handlers }; session.SendPush(notifyWorkNextRefreshTime); - NotifyDormitoryData notifyDormitoryData = new() - { - FurnitureCreateList = { }, - WorkList = { }, - FurnitureUnlockList = { }, - SnapshotTimes = 0, - DormitoryList = { }, - VisitorList = { }, - FurnitureList = { }, - CharacterList = { }, - Layouts = { }, - BindRelations = { } - }; + NotifyDormitoryData notifyDormitoryData = new(); session.SendPush(notifyDormitoryData); - NotifyNameplateLoginData notifyNameplateLoginData = new() - { - CurrentWearNameplate = 0, - UnlockNameplates = { } - }; + NotifyNameplateLoginData notifyNameplateLoginData = new(); session.SendPush(notifyNameplateLoginData); NotifyGuildDormPlayerData notifyGuildDormPlayerData = new() { - GuildDormData = { } + GuildDormData = new NotifyGuildDormPlayerData.NotifyGuildDormPlayerDataGuildDormData() }; session.SendPush(notifyGuildDormPlayerData); NotifyBountyTaskInfo notifyBountyTaskInfo = new() { - TaskInfo = { }, + TaskInfo = new NotifyBountyTaskInfo.NotifyBountyTaskInfoTaskInfo + { + RankLevel = 1, + TaskPoolRefreshCount = 0 + }, RefreshTime = GetPlaceholderTime() }; session.SendPush(notifyBountyTaskInfo); - NotifyFiveTwentyRecord notifyFiveTwentyRecord = new() - { - CharacterIds = { }, - GroupRecord = { }, - ActivityNo = 0 - }; + NotifyFiveTwentyRecord notifyFiveTwentyRecord = new(); session.SendPush(notifyFiveTwentyRecord); - PurchaseDailyNotify purchaseDailyNotify = new() - { - ExpireInfoList = { }, - DailyRewardInfoList = { }, - FreeRewardInfoList = { } - }; + PurchaseDailyNotify purchaseDailyNotify = new(); session.SendPush(purchaseDailyNotify); NotifyPurchaseRecommendConfig notifyPurchaseRecommendConfig = new() { - Data = { } + Data = new NotifyPurchaseRecommendConfig.NotifyPurchaseRecommendConfigData + { + AddOrModifyConfigs = new(), + RemoveIds = Array.Empty() + } }; session.SendPush(notifyPurchaseRecommendConfig); - NotifyBackgroundLoginData notifyBackgroundLoginData = new() - { - HaveBackgroundIds = { } - }; + NotifyBackgroundLoginData notifyBackgroundLoginData = new(); session.SendPush(notifyBackgroundLoginData); - NotifyMedalData notifyMedalData = new() - { - MedalInfos = { } - }; + NotifyMedalData notifyMedalData = new(); session.SendPush(notifyMedalData); - NotifyExploreData notifyExploreData = new() - { - ChapterDatas = { } - }; + NotifyExploreData notifyExploreData = new(); session.SendPush(notifyExploreData); - NotifyGatherRewardList notifyGatherRewardList = new() - { - GatherRewards = { } - }; + NotifyGatherRewardList notifyGatherRewardList = new(); session.SendPush(notifyGatherRewardList); - NotifyDrawTicketData notifyDrawTicketData = new() - { - DrawTicketInfos = { } - }; + NotifyDrawTicketData notifyDrawTicketData = new(); session.SendPush(notifyDrawTicketData); NotifyAccumulatedPayData notifyAccumulatedPayData = new() { PayId = 1, - PayMoney = 0, - PayRewardIds = { } + PayMoney = 0 }; session.SendPush(notifyAccumulatedPayData); NotifyArenaActivity notifyArenaActivity = new(); session.SendPush(notifyArenaActivity); - NotifyPrequelUnlockChallengeStages notifyPrequelUnlockChallengeStages = new() - { - UnlockChallengeStages = { } - }; + NotifyPrequelUnlockChallengeStages notifyPrequelUnlockChallengeStages = new(); session.SendPush(notifyPrequelUnlockChallengeStages); NotifyPrequelChallengeRefreshTime notifyPrequelChallengeRefreshTime = new() @@ -406,13 +301,12 @@ namespace AscNet.GameServer.Handlers NotifyFubenPrequelData notifyFubenPrequelData = new() { - FubenPrequelData = { } + FubenPrequelData = new() }; session.SendPush(notifyFubenPrequelData); NotifyMainLineActivity notifyMainLineActivity = new() { - Chapters = { }, BfrtChapter = 0, EndTime = GetPlaceholderTime(), HideChapterBeginTime = 0 @@ -421,51 +315,46 @@ namespace AscNet.GameServer.Handlers NotifyDailyFubenLoginData notifyDailyFubenLoginData = new() { - RefreshTime = GetPlaceholderTime(), - Records = { } + RefreshTime = GetPlaceholderTime() }; session.SendPush(notifyDailyFubenLoginData); NotifyBirthdayPlot notifyBirthdayPlot = new() { NextActiveYear = 2023, - IsChange = 1, - UnLockCg = { } + IsChange = 1 }; session.SendPush(notifyBirthdayPlot); - NotifyBossActivityData notifyBossActivityData = new(); + NotifyBossActivityData notifyBossActivityData = new() + { + ActivityId = 11, + SectionId = 1, + Schedule = 0 + }; session.SendPush(notifyBossActivityData); - NotifyBriefStoryData notifyBriefStoryData = new() - { - FinishedIds = { } - }; + NotifyBriefStoryData notifyBriefStoryData = new(); session.SendPush(notifyBriefStoryData); - NotifyChessPursuitGroupInfo notifyChessPursuitGroupInfo = new() - { - MapDBList = { }, - MapBossList = { } - }; + NotifyChessPursuitGroupInfo notifyChessPursuitGroupInfo = new(); session.SendPush(notifyChessPursuitGroupInfo); - NotifyClickClearData notifyClickClearData = new() - { - Activities = { } - }; + NotifyClickClearData notifyClickClearData = new(); session.SendPush(notifyClickClearData); NotifyCourseData notifyCourseData = new() { - Data = { } + Data = new NotifyCourseData.NotifyCourseDataData + { + MaxTotalLessonPoint = 0, + StageDataDict = new Dictionary(), + TotalLessonPoint = 0 + } }; session.SendPush(notifyCourseData); - NotifyActivityDrawList notifyActivityDrawList = new() - { - DrawIdList = { } - }; + NotifyActivityDrawList notifyActivityDrawList = new(); session.SendPush(notifyActivityDrawList); NotifyActivityDrawGroupCount notifyActivityDrawGroupCount = new() @@ -474,11 +363,7 @@ namespace AscNet.GameServer.Handlers }; session.SendPush(notifyActivityDrawGroupCount); - NotifyExperimentData notifyExperimentData = new() - { - FinishIds = { }, - ExperimentInfos = { } - }; + NotifyExperimentData notifyExperimentData = new(); session.SendPush(notifyExperimentData); NotifyBabelTowerActivityStatus notifyBabelTowerActivityStatus = new(); @@ -489,33 +374,26 @@ namespace AscNet.GameServer.Handlers NotifyFubenBossSingleData notifyFubenBossSingleData = new() { - FubenBossSingleData = { } + FubenBossSingleData = new NotifyFubenBossSingleData.NotifyFubenBossSingleDataFubenBossSingleData() }; session.SendPush(notifyFubenBossSingleData); - NotifyFestivalData notifyFestivalData = new() - { - FestivalInfos = { } - }; + NotifyFestivalData notifyFestivalData = new(); session.SendPush(notifyFestivalData); - NotifyPracticeData notifyPracticeData = new() - { - ChapterInfos = { } - }; + NotifyPracticeData notifyPracticeData = new(); session.SendPush(notifyPracticeData); - NotifyTrialData notifyTrialData = new() - { - FinishTrial = { }, - RewardRecord = { }, - TypeRewardRecord = { } - }; + NotifyTrialData notifyTrialData = new(); session.SendPush(notifyTrialData); NotifyPivotCombatData notifyPivotCombatData = new() { - PivotCombatData = { } + PivotCombatData = new NotifyPivotCombatData.NotifyPivotCombatDataPivotCombatData + { + ActivityId = 0, + Difficulty = 0 + } }; session.SendPush(notifyPivotCombatData); @@ -525,84 +403,103 @@ namespace AscNet.GameServer.Handlers }; session.SendPush(notifySettingLoadingOption); - NotifyRepeatChallengeData notifyRepeatChallengeData = new(); + NotifyTask notifyTask = new() + { + TaskLimitIdActiveInfos = Array.Empty() + }; + + NotifyRepeatChallengeData notifyRepeatChallengeData = new() + { + Id = 20, + ExpInfo = new() { Level = 1 } + }; session.SendPush(notifyRepeatChallengeData); + + NotifyPlayerReportData notifyPlayerReportData = new() { - ReportData = { } + ReportData = new NotifyPlayerReportData.NotifyPlayerReportDataReportData() }; session.SendPush(notifyPlayerReportData); - NotifyReviewConfig notifyReviewConfig = new() - { - ReviewActivityConfigList = { } - }; + NotifyReviewConfig notifyReviewConfig = new(); session.SendPush(notifyReviewConfig); - NotifyStrongholdLoginData notifyStrongholdLoginData = new(); + NotifyStrongholdLoginData notifyStrongholdLoginData = new() + { + Id = 21 + }; session.SendPush(notifyStrongholdLoginData); - NotifySummerSignInData notifySummerSignInData = new(); + NotifySummerSignInData notifySummerSignInData = new() + { + ActId = 1, + SurplusTimes = 1 + }; session.SendPush(notifySummerSignInData); NotifyTaikoMasterData notifyTaikoMasterData = new() { - TaikoMasterData = { } + TaikoMasterData = new NotifyTaikoMasterData.NotifyTaikoMasterDataTaikoMasterData() + { + Setting = new() + } }; session.SendPush(notifyTaikoMasterData); - NotifyTeachingActivityInfo notifyTeachingActivityInfo = new() - { - ActivityInfo = { } - }; + NotifyTeachingActivityInfo notifyTeachingActivityInfo = new(); session.SendPush(notifyTeachingActivityInfo); NotifyTheatreData notifyTheatreData = new(); session.SendPush(notifyTheatreData); - NotifyVoteData notifyVoteData = new() - { - VoteAlarmDic = { } - }; + NotifyVoteData notifyVoteData = new(); session.SendPush(notifyVoteData); - NotifyTRPGData notifyTRPGData = new(); + NotifyTRPGData notifyTRPGData = new() + { + BossInfo = new(), + BaseInfo = new() + { + Level = 1 + } + }; session.SendPush(notifyTRPGData); - NotifyBiancaTheatreActivityData notifyBiancaTheatreActivityData = new(); + NotifyBiancaTheatreActivityData notifyBiancaTheatreActivityData = new() + { + CurActivityId = 1 + }; session.SendPush(notifyBiancaTheatreActivityData); - NotifyMentorData notifyMentorData = new(); + NotifyMentorData notifyMentorData = new() + { + PlayerType = 2, + Announcement = "", + WeeklyLevel = 28 + }; session.SendPush(notifyMentorData); - NotifyMentorChat notifyMentorChat = new() - { - ChatMessages = { } - }; + NotifyMentorChat notifyMentorChat = new(); session.SendPush(notifyMentorChat); - NotifyMaintainerActionDailyReset notifyMaintainerActionDailyReset = new() - { - UsedActionCount = 0, - ExtraActionCount = 0 - }; + NotifyMaintainerActionDailyReset notifyMaintainerActionDailyReset = new(); session.SendPush(notifyMaintainerActionDailyReset); - NotifyGuildData notifyGuildData = new(); + NotifyGuildData notifyGuildData = new() + { + GuildName = string.Empty, + GuildRankLevel = 0 + }; session.SendPush(notifyGuildData); - NotifyMails notifyMails = new() - { - NewMailList = { }, - ExpireIdList = { } - }; + NotifyMails notifyMails = new(); session.SendPush(notifyMails); NotifyItemDataList notifyItemDataList = new() { - ItemDataList = { }, - ItemRecycleDict = { } + ItemRecycleDict = Array.Empty() }; session.SendPush(notifyItemDataList); } diff --git a/Resources/Data/NotifyLogin.json b/Resources/Data/NotifyLogin.json index 1cc8267..a7d50ac 100644 --- a/Resources/Data/NotifyLogin.json +++ b/Resources/Data/NotifyLogin.json @@ -1,44 +1,45 @@ { "PlayerData": { - "Id": 10000001, - "Name": "Test", - "Level": 50, - "Sign": "", - "DisplayCharId": 1021001, - "Birthday": { - "Mon": 1, - "Day": 1 - }, - "HonorLevel": 1, - "ServerId": "5001", - "Likes": 0, - "CurrTeamId": 1, - "ChallengeEventId": 0, - "CurrHeadPortraitId": 9000002, - "CurrHeadFrameId": 0, - "CurrMedalId": 0, - "AppearanceShowType": 0, - "DailyReceiveGiftCount": 0, - "DailyActivenessRewardStatus": 0, - "WeeklyActivenessRewardStatus": 0, - "Marks": [], - "ShowCharacters": [ - 1021001 - ], - "ShieldFuncList": [], - "AppearanceSettingInfo": { - "TitleType": 1, - "CharacterType": 1, - "FashionType": 1, - "WeaponFashionType": 1, - "DormitoryType": 1, - "DormitoryId": 21001 - }, - "CreateTime": 1626538573, - "LastLoginTime": 1691332946, - "ReportTime": 0, - "ChangeNameTime": 1626547796, - "Flags": 0 + "Id": 10000001, + "Name": "Test", + "Level": 50, + "Sign": "", + "DisplayCharId": 1021001, + "Birthday": { + "Mon": 1, + "Day": 1 + }, + "HonorLevel": 1, + "ServerId": "5001", + "Likes": 0, + "CurrTeamId": 1, + "ChallengeEventId": 0, + "CurrHeadPortraitId": 9000002, + "CurrHeadFrameId": 0, + "CurrMedalId": 0, + "AppearanceShowType": 0, + "DailyReceiveGiftCount": 0, + "DailyActivenessRewardStatus": 0, + "WeeklyActivenessRewardStatus": 0, + "Marks": [], + "ShowCharacters": [ + 1021001 + ], + "ShieldFuncList": [], + "AppearanceSettingInfo": { + "TitleType": 1, + "CharacterType": 1, + "FashionType": 1, + "WeaponFashionType": 1, + "DormitoryType": 1, + "DormitoryId": 21001 + }, + "CreateTime": 1626538573, + "LastLoginTime": 1691332946, + "ReportTime": 0, + "ChangeNameTime": 1626547796, + "Flags": 0, + "GuideData": [] }, "TimeLimitCtrlConfigList": [], "SharePlatformConfigList": [