forked from PGR/ascnet
types refactor
This commit is contained in:
parent
a707deaa9f
commit
630b0aab84
File diff suppressed because it is too large
Load Diff
|
@ -62,11 +62,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
//GetWorldChannelInfoRequest request = MessagePackSerializer.Deserialize<GetWorldChannelInfoRequest>(packet);
|
//GetWorldChannelInfoRequest request = MessagePackSerializer.Deserialize<GetWorldChannelInfoRequest>(packet);
|
||||||
//session.c.Log("GetWorldChannelInfoRequest" + " " + JsonConvert.SerializeObject(request));
|
//session.c.Log("GetWorldChannelInfoRequest" + " " + JsonConvert.SerializeObject(request));
|
||||||
|
|
||||||
GetWorldChannelInfoResponse getWorldChannelInfoResponse = new()
|
GetWorldChannelInfoResponse getWorldChannelInfoResponse = new();
|
||||||
{
|
|
||||||
Code = 0,
|
|
||||||
ChannelInfos = { }
|
|
||||||
};
|
|
||||||
getWorldChannelInfoResponse.ChannelInfos.Append(new()
|
getWorldChannelInfoResponse.ChannelInfos.Append(new()
|
||||||
{
|
{
|
||||||
ChannelId = 0,
|
ChannelId = 0,
|
||||||
|
@ -84,7 +80,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
OfflineMessageResponse offlineMessageResponse = new()
|
OfflineMessageResponse offlineMessageResponse = new()
|
||||||
{
|
{
|
||||||
Code = 0,
|
Code = 0,
|
||||||
Messages = { }
|
Messages = Array.Empty<dynamic>()
|
||||||
};
|
};
|
||||||
session.SendResponse(offlineMessageResponse);
|
session.SendResponse(offlineMessageResponse);
|
||||||
}
|
}
|
||||||
|
@ -121,11 +117,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
SignInRequest request = MessagePackSerializer.Deserialize<SignInRequest>(packet);
|
SignInRequest request = MessagePackSerializer.Deserialize<SignInRequest>(packet);
|
||||||
session.c.Log("SignInRequest" + " " + JsonConvert.SerializeObject(request));
|
session.c.Log("SignInRequest" + " " + JsonConvert.SerializeObject(request));
|
||||||
|
|
||||||
SignInResponse signInResponse = new()
|
SignInResponse signInResponse = new();
|
||||||
{
|
|
||||||
Code = 0,
|
|
||||||
RewardGoodsList = { },
|
|
||||||
};
|
|
||||||
session.SendResponse(signInResponse);
|
session.SendResponse(signInResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,11 +127,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
GetPurchaseListRequest request = MessagePackSerializer.Deserialize<GetPurchaseListRequest>(packet);
|
GetPurchaseListRequest request = MessagePackSerializer.Deserialize<GetPurchaseListRequest>(packet);
|
||||||
session.c.Log("GetPurchaseListRequest" + " " + JsonConvert.SerializeObject(request));
|
session.c.Log("GetPurchaseListRequest" + " " + JsonConvert.SerializeObject(request));
|
||||||
|
|
||||||
GetPurchaseListResponse getPurchaseListResponse = new()
|
GetPurchaseListResponse getPurchaseListResponse = new();
|
||||||
{
|
|
||||||
Code = 0,
|
|
||||||
PurchaseInfoList = { }
|
|
||||||
};
|
|
||||||
session.SendResponse(getPurchaseListResponse);
|
session.SendResponse(getPurchaseListResponse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,10 +137,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
NotifyLogin notifyLogin = JsonConvert.DeserializeObject<NotifyLogin>(File.ReadAllText("Data/NotifyLogin.json"))!;
|
NotifyLogin notifyLogin = JsonConvert.DeserializeObject<NotifyLogin>(File.ReadAllText("Data/NotifyLogin.json"))!;
|
||||||
session.SendPush(notifyLogin);
|
session.SendPush(notifyLogin);
|
||||||
|
|
||||||
NotifyDailyLotteryData notifyDailyLotteryData = new()
|
NotifyDailyLotteryData notifyDailyLotteryData = new();
|
||||||
{
|
|
||||||
Lotteries = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyDailyLotteryData);
|
session.SendPush(notifyDailyLotteryData);
|
||||||
|
|
||||||
NotifyPayInfo notifyPayInfo = new()
|
NotifyPayInfo notifyPayInfo = new()
|
||||||
|
@ -162,78 +147,41 @@ namespace AscNet.GameServer.Handlers
|
||||||
};
|
};
|
||||||
session.SendPush(notifyPayInfo);
|
session.SendPush(notifyPayInfo);
|
||||||
|
|
||||||
NotifyEquipChipGroupList notifyEquipChipGroupList = new()
|
NotifyEquipChipGroupList notifyEquipChipGroupList = new();
|
||||||
{
|
|
||||||
ChipGroupDataList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyEquipChipGroupList);
|
session.SendPush(notifyEquipChipGroupList);
|
||||||
|
|
||||||
NotifyEquipChipAutoRecycleSite notifyEquipChipAutoRecycleSite = new()
|
NotifyEquipChipAutoRecycleSite notifyEquipChipAutoRecycleSite = new()
|
||||||
{
|
{
|
||||||
ChipRecycleSite = { }
|
ChipRecycleSite = new NotifyEquipChipAutoRecycleSite.NotifyEquipChipAutoRecycleSiteChipRecycleSite()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyEquipChipAutoRecycleSite);
|
session.SendPush(notifyEquipChipAutoRecycleSite);
|
||||||
|
|
||||||
NotifyEquipGuideData notifyEquipGuideData = new()
|
NotifyEquipGuideData notifyEquipGuideData = new()
|
||||||
{
|
{
|
||||||
EquipGuideData = new()
|
EquipGuideData = new()
|
||||||
{
|
|
||||||
TargetId = 0,
|
|
||||||
PutOnPosList = { },
|
|
||||||
FinishedTargets = { }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyEquipGuideData);
|
session.SendPush(notifyEquipGuideData);
|
||||||
|
|
||||||
NotifyArchiveLoginData notifyArchiveLoginData = new()
|
NotifyArchiveLoginData notifyArchiveLoginData = new();
|
||||||
{
|
|
||||||
Monsters = { },
|
|
||||||
Equips = { },
|
|
||||||
MonsterUnlockIds = { },
|
|
||||||
WeaponUnlockIds = { },
|
|
||||||
AwarenessUnlockIds = { },
|
|
||||||
MonsterSettings = { },
|
|
||||||
WeaponSettings = { },
|
|
||||||
AwarenessSettings = { },
|
|
||||||
MonsterInfos = { },
|
|
||||||
MonsterSkills = { },
|
|
||||||
UnlockCgs = { },
|
|
||||||
UnlockStoryDetails = { },
|
|
||||||
PartnerUnlockIds = { },
|
|
||||||
PartnerSettings = { },
|
|
||||||
UnlockPvDetails = { },
|
|
||||||
UnlockMails = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyArchiveLoginData);
|
session.SendPush(notifyArchiveLoginData);
|
||||||
|
|
||||||
NotifyChatLoginData notifyChatLoginData = new()
|
NotifyChatLoginData notifyChatLoginData = new()
|
||||||
{
|
{
|
||||||
RefreshTime = GetPlaceholderTime(),
|
RefreshTime = GetPlaceholderTime()
|
||||||
UnlockEmojis = { }
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyChatLoginData);
|
session.SendPush(notifyChatLoginData);
|
||||||
|
|
||||||
NotifySocialData notifySocialData = new()
|
NotifySocialData notifySocialData = new();
|
||||||
{
|
|
||||||
FriendData = { },
|
|
||||||
ApplyData = { },
|
|
||||||
Remarks = { },
|
|
||||||
BlockData = { },
|
|
||||||
};
|
|
||||||
session.SendPush(notifySocialData);
|
session.SendPush(notifySocialData);
|
||||||
|
|
||||||
NotifyTaskData notifyTaskData = JsonConvert.DeserializeObject<NotifyTaskData>(File.ReadAllText("Data/NotifyTaskData.json"))!;
|
NotifyTaskData notifyTaskData = JsonConvert.DeserializeObject<NotifyTaskData>(File.ReadAllText("Data/NotifyTaskData.json"))!;
|
||||||
//NotifyTaskData notifyTaskData = new()
|
//NotifyTaskData notifyTaskData = new()
|
||||||
//{
|
//{
|
||||||
// TaskData = { }
|
// TaskData = Array.Empty<dynamic>()
|
||||||
//};
|
//};
|
||||||
session.SendPush(notifyTaskData);
|
session.SendPush(notifyTaskData);
|
||||||
|
|
||||||
NotifyActivenessStatus notifyActivenessStatus = new()
|
NotifyActivenessStatus notifyActivenessStatus = new();
|
||||||
{
|
|
||||||
DailyActivenessRewardStatus = 0,
|
|
||||||
WeeklyActivenessRewardStatus = 0
|
|
||||||
};
|
|
||||||
session.SendPush(notifyActivenessStatus);
|
session.SendPush(notifyActivenessStatus);
|
||||||
|
|
||||||
NotifyNewPlayerTaskStatus notifyNewPlayerTaskStatus = new()
|
NotifyNewPlayerTaskStatus notifyNewPlayerTaskStatus = new()
|
||||||
|
@ -244,35 +192,19 @@ namespace AscNet.GameServer.Handlers
|
||||||
|
|
||||||
NotifyRegression2Data notifyRegression2Data = new()
|
NotifyRegression2Data notifyRegression2Data = new()
|
||||||
{
|
{
|
||||||
Data = { }
|
Data = new NotifyRegression2Data.NotifyRegression2DataData()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyRegression2Data);
|
session.SendPush(notifyRegression2Data);
|
||||||
|
|
||||||
NotifyMaintainerActionData notifyMaintainerActionData = new();
|
NotifyAllRedEnvelope notifyAllRedEnvelope = new();
|
||||||
session.SendPush(notifyMaintainerActionData);
|
|
||||||
|
|
||||||
NotifyAllRedEnvelope notifyAllRedEnvelope = new()
|
|
||||||
{
|
|
||||||
Envelopes = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyAllRedEnvelope);
|
session.SendPush(notifyAllRedEnvelope);
|
||||||
|
|
||||||
NotifyScoreTitleData notifyScoreTitleData = new()
|
NotifyScoreTitleData notifyScoreTitleData = new();
|
||||||
{
|
|
||||||
TitleInfos = { },
|
|
||||||
HideTypes = { },
|
|
||||||
IsHideCollection = false,
|
|
||||||
WallInfos = { },
|
|
||||||
};
|
|
||||||
session.SendPush(notifyScoreTitleData);
|
session.SendPush(notifyScoreTitleData);
|
||||||
|
|
||||||
NotifyBfrtData notifyBfrtData = new()
|
NotifyBfrtData notifyBfrtData = new()
|
||||||
{
|
{
|
||||||
BfrtData = new()
|
BfrtData = new()
|
||||||
{
|
|
||||||
BfrtGroupRecords = { },
|
|
||||||
BfrtTeamInfos = { }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyBfrtData);
|
session.SendPush(notifyBfrtData);
|
||||||
|
|
||||||
|
@ -294,108 +226,71 @@ namespace AscNet.GameServer.Handlers
|
||||||
};
|
};
|
||||||
session.SendPush(notifyWorkNextRefreshTime);
|
session.SendPush(notifyWorkNextRefreshTime);
|
||||||
|
|
||||||
NotifyDormitoryData notifyDormitoryData = new()
|
NotifyDormitoryData notifyDormitoryData = new();
|
||||||
{
|
|
||||||
FurnitureCreateList = { },
|
|
||||||
WorkList = { },
|
|
||||||
FurnitureUnlockList = { },
|
|
||||||
SnapshotTimes = 0,
|
|
||||||
DormitoryList = { },
|
|
||||||
VisitorList = { },
|
|
||||||
FurnitureList = { },
|
|
||||||
CharacterList = { },
|
|
||||||
Layouts = { },
|
|
||||||
BindRelations = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyDormitoryData);
|
session.SendPush(notifyDormitoryData);
|
||||||
|
|
||||||
NotifyNameplateLoginData notifyNameplateLoginData = new()
|
NotifyNameplateLoginData notifyNameplateLoginData = new();
|
||||||
{
|
|
||||||
CurrentWearNameplate = 0,
|
|
||||||
UnlockNameplates = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyNameplateLoginData);
|
session.SendPush(notifyNameplateLoginData);
|
||||||
|
|
||||||
NotifyGuildDormPlayerData notifyGuildDormPlayerData = new()
|
NotifyGuildDormPlayerData notifyGuildDormPlayerData = new()
|
||||||
{
|
{
|
||||||
GuildDormData = { }
|
GuildDormData = new NotifyGuildDormPlayerData.NotifyGuildDormPlayerDataGuildDormData()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyGuildDormPlayerData);
|
session.SendPush(notifyGuildDormPlayerData);
|
||||||
|
|
||||||
NotifyBountyTaskInfo notifyBountyTaskInfo = new()
|
NotifyBountyTaskInfo notifyBountyTaskInfo = new()
|
||||||
{
|
{
|
||||||
TaskInfo = { },
|
TaskInfo = new NotifyBountyTaskInfo.NotifyBountyTaskInfoTaskInfo
|
||||||
|
{
|
||||||
|
RankLevel = 1,
|
||||||
|
TaskPoolRefreshCount = 0
|
||||||
|
},
|
||||||
RefreshTime = GetPlaceholderTime()
|
RefreshTime = GetPlaceholderTime()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyBountyTaskInfo);
|
session.SendPush(notifyBountyTaskInfo);
|
||||||
|
|
||||||
NotifyFiveTwentyRecord notifyFiveTwentyRecord = new()
|
NotifyFiveTwentyRecord notifyFiveTwentyRecord = new();
|
||||||
{
|
|
||||||
CharacterIds = { },
|
|
||||||
GroupRecord = { },
|
|
||||||
ActivityNo = 0
|
|
||||||
};
|
|
||||||
session.SendPush(notifyFiveTwentyRecord);
|
session.SendPush(notifyFiveTwentyRecord);
|
||||||
|
|
||||||
PurchaseDailyNotify purchaseDailyNotify = new()
|
PurchaseDailyNotify purchaseDailyNotify = new();
|
||||||
{
|
|
||||||
ExpireInfoList = { },
|
|
||||||
DailyRewardInfoList = { },
|
|
||||||
FreeRewardInfoList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(purchaseDailyNotify);
|
session.SendPush(purchaseDailyNotify);
|
||||||
|
|
||||||
NotifyPurchaseRecommendConfig notifyPurchaseRecommendConfig = new()
|
NotifyPurchaseRecommendConfig notifyPurchaseRecommendConfig = new()
|
||||||
{
|
{
|
||||||
Data = { }
|
Data = new NotifyPurchaseRecommendConfig.NotifyPurchaseRecommendConfigData
|
||||||
|
{
|
||||||
|
AddOrModifyConfigs = new(),
|
||||||
|
RemoveIds = Array.Empty<dynamic>()
|
||||||
|
}
|
||||||
};
|
};
|
||||||
session.SendPush(notifyPurchaseRecommendConfig);
|
session.SendPush(notifyPurchaseRecommendConfig);
|
||||||
|
|
||||||
NotifyBackgroundLoginData notifyBackgroundLoginData = new()
|
NotifyBackgroundLoginData notifyBackgroundLoginData = new();
|
||||||
{
|
|
||||||
HaveBackgroundIds = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyBackgroundLoginData);
|
session.SendPush(notifyBackgroundLoginData);
|
||||||
|
|
||||||
NotifyMedalData notifyMedalData = new()
|
NotifyMedalData notifyMedalData = new();
|
||||||
{
|
|
||||||
MedalInfos = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyMedalData);
|
session.SendPush(notifyMedalData);
|
||||||
|
|
||||||
NotifyExploreData notifyExploreData = new()
|
NotifyExploreData notifyExploreData = new();
|
||||||
{
|
|
||||||
ChapterDatas = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyExploreData);
|
session.SendPush(notifyExploreData);
|
||||||
|
|
||||||
NotifyGatherRewardList notifyGatherRewardList = new()
|
NotifyGatherRewardList notifyGatherRewardList = new();
|
||||||
{
|
|
||||||
GatherRewards = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyGatherRewardList);
|
session.SendPush(notifyGatherRewardList);
|
||||||
|
|
||||||
NotifyDrawTicketData notifyDrawTicketData = new()
|
NotifyDrawTicketData notifyDrawTicketData = new();
|
||||||
{
|
|
||||||
DrawTicketInfos = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyDrawTicketData);
|
session.SendPush(notifyDrawTicketData);
|
||||||
|
|
||||||
NotifyAccumulatedPayData notifyAccumulatedPayData = new()
|
NotifyAccumulatedPayData notifyAccumulatedPayData = new()
|
||||||
{
|
{
|
||||||
PayId = 1,
|
PayId = 1,
|
||||||
PayMoney = 0,
|
PayMoney = 0
|
||||||
PayRewardIds = { }
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyAccumulatedPayData);
|
session.SendPush(notifyAccumulatedPayData);
|
||||||
|
|
||||||
NotifyArenaActivity notifyArenaActivity = new();
|
NotifyArenaActivity notifyArenaActivity = new();
|
||||||
session.SendPush(notifyArenaActivity);
|
session.SendPush(notifyArenaActivity);
|
||||||
|
|
||||||
NotifyPrequelUnlockChallengeStages notifyPrequelUnlockChallengeStages = new()
|
NotifyPrequelUnlockChallengeStages notifyPrequelUnlockChallengeStages = new();
|
||||||
{
|
|
||||||
UnlockChallengeStages = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyPrequelUnlockChallengeStages);
|
session.SendPush(notifyPrequelUnlockChallengeStages);
|
||||||
|
|
||||||
NotifyPrequelChallengeRefreshTime notifyPrequelChallengeRefreshTime = new()
|
NotifyPrequelChallengeRefreshTime notifyPrequelChallengeRefreshTime = new()
|
||||||
|
@ -406,13 +301,12 @@ namespace AscNet.GameServer.Handlers
|
||||||
|
|
||||||
NotifyFubenPrequelData notifyFubenPrequelData = new()
|
NotifyFubenPrequelData notifyFubenPrequelData = new()
|
||||||
{
|
{
|
||||||
FubenPrequelData = { }
|
FubenPrequelData = new()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyFubenPrequelData);
|
session.SendPush(notifyFubenPrequelData);
|
||||||
|
|
||||||
NotifyMainLineActivity notifyMainLineActivity = new()
|
NotifyMainLineActivity notifyMainLineActivity = new()
|
||||||
{
|
{
|
||||||
Chapters = { },
|
|
||||||
BfrtChapter = 0,
|
BfrtChapter = 0,
|
||||||
EndTime = GetPlaceholderTime(),
|
EndTime = GetPlaceholderTime(),
|
||||||
HideChapterBeginTime = 0
|
HideChapterBeginTime = 0
|
||||||
|
@ -421,51 +315,46 @@ namespace AscNet.GameServer.Handlers
|
||||||
|
|
||||||
NotifyDailyFubenLoginData notifyDailyFubenLoginData = new()
|
NotifyDailyFubenLoginData notifyDailyFubenLoginData = new()
|
||||||
{
|
{
|
||||||
RefreshTime = GetPlaceholderTime(),
|
RefreshTime = GetPlaceholderTime()
|
||||||
Records = { }
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyDailyFubenLoginData);
|
session.SendPush(notifyDailyFubenLoginData);
|
||||||
|
|
||||||
NotifyBirthdayPlot notifyBirthdayPlot = new()
|
NotifyBirthdayPlot notifyBirthdayPlot = new()
|
||||||
{
|
{
|
||||||
NextActiveYear = 2023,
|
NextActiveYear = 2023,
|
||||||
IsChange = 1,
|
IsChange = 1
|
||||||
UnLockCg = { }
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyBirthdayPlot);
|
session.SendPush(notifyBirthdayPlot);
|
||||||
|
|
||||||
NotifyBossActivityData notifyBossActivityData = new();
|
NotifyBossActivityData notifyBossActivityData = new()
|
||||||
|
{
|
||||||
|
ActivityId = 11,
|
||||||
|
SectionId = 1,
|
||||||
|
Schedule = 0
|
||||||
|
};
|
||||||
session.SendPush(notifyBossActivityData);
|
session.SendPush(notifyBossActivityData);
|
||||||
|
|
||||||
NotifyBriefStoryData notifyBriefStoryData = new()
|
NotifyBriefStoryData notifyBriefStoryData = new();
|
||||||
{
|
|
||||||
FinishedIds = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyBriefStoryData);
|
session.SendPush(notifyBriefStoryData);
|
||||||
|
|
||||||
NotifyChessPursuitGroupInfo notifyChessPursuitGroupInfo = new()
|
NotifyChessPursuitGroupInfo notifyChessPursuitGroupInfo = new();
|
||||||
{
|
|
||||||
MapDBList = { },
|
|
||||||
MapBossList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyChessPursuitGroupInfo);
|
session.SendPush(notifyChessPursuitGroupInfo);
|
||||||
|
|
||||||
NotifyClickClearData notifyClickClearData = new()
|
NotifyClickClearData notifyClickClearData = new();
|
||||||
{
|
|
||||||
Activities = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyClickClearData);
|
session.SendPush(notifyClickClearData);
|
||||||
|
|
||||||
NotifyCourseData notifyCourseData = new()
|
NotifyCourseData notifyCourseData = new()
|
||||||
{
|
{
|
||||||
Data = { }
|
Data = new NotifyCourseData.NotifyCourseDataData
|
||||||
|
{
|
||||||
|
MaxTotalLessonPoint = 0,
|
||||||
|
StageDataDict = new Dictionary<dynamic, dynamic>(),
|
||||||
|
TotalLessonPoint = 0
|
||||||
|
}
|
||||||
};
|
};
|
||||||
session.SendPush(notifyCourseData);
|
session.SendPush(notifyCourseData);
|
||||||
|
|
||||||
NotifyActivityDrawList notifyActivityDrawList = new()
|
NotifyActivityDrawList notifyActivityDrawList = new();
|
||||||
{
|
|
||||||
DrawIdList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyActivityDrawList);
|
session.SendPush(notifyActivityDrawList);
|
||||||
|
|
||||||
NotifyActivityDrawGroupCount notifyActivityDrawGroupCount = new()
|
NotifyActivityDrawGroupCount notifyActivityDrawGroupCount = new()
|
||||||
|
@ -474,11 +363,7 @@ namespace AscNet.GameServer.Handlers
|
||||||
};
|
};
|
||||||
session.SendPush(notifyActivityDrawGroupCount);
|
session.SendPush(notifyActivityDrawGroupCount);
|
||||||
|
|
||||||
NotifyExperimentData notifyExperimentData = new()
|
NotifyExperimentData notifyExperimentData = new();
|
||||||
{
|
|
||||||
FinishIds = { },
|
|
||||||
ExperimentInfos = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyExperimentData);
|
session.SendPush(notifyExperimentData);
|
||||||
|
|
||||||
NotifyBabelTowerActivityStatus notifyBabelTowerActivityStatus = new();
|
NotifyBabelTowerActivityStatus notifyBabelTowerActivityStatus = new();
|
||||||
|
@ -489,33 +374,26 @@ namespace AscNet.GameServer.Handlers
|
||||||
|
|
||||||
NotifyFubenBossSingleData notifyFubenBossSingleData = new()
|
NotifyFubenBossSingleData notifyFubenBossSingleData = new()
|
||||||
{
|
{
|
||||||
FubenBossSingleData = { }
|
FubenBossSingleData = new NotifyFubenBossSingleData.NotifyFubenBossSingleDataFubenBossSingleData()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyFubenBossSingleData);
|
session.SendPush(notifyFubenBossSingleData);
|
||||||
|
|
||||||
NotifyFestivalData notifyFestivalData = new()
|
NotifyFestivalData notifyFestivalData = new();
|
||||||
{
|
|
||||||
FestivalInfos = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyFestivalData);
|
session.SendPush(notifyFestivalData);
|
||||||
|
|
||||||
NotifyPracticeData notifyPracticeData = new()
|
NotifyPracticeData notifyPracticeData = new();
|
||||||
{
|
|
||||||
ChapterInfos = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyPracticeData);
|
session.SendPush(notifyPracticeData);
|
||||||
|
|
||||||
NotifyTrialData notifyTrialData = new()
|
NotifyTrialData notifyTrialData = new();
|
||||||
{
|
|
||||||
FinishTrial = { },
|
|
||||||
RewardRecord = { },
|
|
||||||
TypeRewardRecord = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyTrialData);
|
session.SendPush(notifyTrialData);
|
||||||
|
|
||||||
NotifyPivotCombatData notifyPivotCombatData = new()
|
NotifyPivotCombatData notifyPivotCombatData = new()
|
||||||
{
|
{
|
||||||
PivotCombatData = { }
|
PivotCombatData = new NotifyPivotCombatData.NotifyPivotCombatDataPivotCombatData
|
||||||
|
{
|
||||||
|
ActivityId = 0,
|
||||||
|
Difficulty = 0
|
||||||
|
}
|
||||||
};
|
};
|
||||||
session.SendPush(notifyPivotCombatData);
|
session.SendPush(notifyPivotCombatData);
|
||||||
|
|
||||||
|
@ -525,84 +403,103 @@ namespace AscNet.GameServer.Handlers
|
||||||
};
|
};
|
||||||
session.SendPush(notifySettingLoadingOption);
|
session.SendPush(notifySettingLoadingOption);
|
||||||
|
|
||||||
NotifyRepeatChallengeData notifyRepeatChallengeData = new();
|
NotifyTask notifyTask = new()
|
||||||
|
{
|
||||||
|
TaskLimitIdActiveInfos = Array.Empty<int>()
|
||||||
|
};
|
||||||
|
|
||||||
|
NotifyRepeatChallengeData notifyRepeatChallengeData = new()
|
||||||
|
{
|
||||||
|
Id = 20,
|
||||||
|
ExpInfo = new() { Level = 1 }
|
||||||
|
};
|
||||||
session.SendPush(notifyRepeatChallengeData);
|
session.SendPush(notifyRepeatChallengeData);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NotifyPlayerReportData notifyPlayerReportData = new()
|
NotifyPlayerReportData notifyPlayerReportData = new()
|
||||||
{
|
{
|
||||||
ReportData = { }
|
ReportData = new NotifyPlayerReportData.NotifyPlayerReportDataReportData()
|
||||||
};
|
};
|
||||||
session.SendPush(notifyPlayerReportData);
|
session.SendPush(notifyPlayerReportData);
|
||||||
|
|
||||||
NotifyReviewConfig notifyReviewConfig = new()
|
NotifyReviewConfig notifyReviewConfig = new();
|
||||||
{
|
|
||||||
ReviewActivityConfigList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyReviewConfig);
|
session.SendPush(notifyReviewConfig);
|
||||||
|
|
||||||
NotifyStrongholdLoginData notifyStrongholdLoginData = new();
|
NotifyStrongholdLoginData notifyStrongholdLoginData = new()
|
||||||
|
{
|
||||||
|
Id = 21
|
||||||
|
};
|
||||||
session.SendPush(notifyStrongholdLoginData);
|
session.SendPush(notifyStrongholdLoginData);
|
||||||
|
|
||||||
NotifySummerSignInData notifySummerSignInData = new();
|
NotifySummerSignInData notifySummerSignInData = new()
|
||||||
|
{
|
||||||
|
ActId = 1,
|
||||||
|
SurplusTimes = 1
|
||||||
|
};
|
||||||
session.SendPush(notifySummerSignInData);
|
session.SendPush(notifySummerSignInData);
|
||||||
|
|
||||||
NotifyTaikoMasterData notifyTaikoMasterData = new()
|
NotifyTaikoMasterData notifyTaikoMasterData = new()
|
||||||
{
|
{
|
||||||
TaikoMasterData = { }
|
TaikoMasterData = new NotifyTaikoMasterData.NotifyTaikoMasterDataTaikoMasterData()
|
||||||
|
{
|
||||||
|
Setting = new()
|
||||||
|
}
|
||||||
};
|
};
|
||||||
session.SendPush(notifyTaikoMasterData);
|
session.SendPush(notifyTaikoMasterData);
|
||||||
|
|
||||||
NotifyTeachingActivityInfo notifyTeachingActivityInfo = new()
|
NotifyTeachingActivityInfo notifyTeachingActivityInfo = new();
|
||||||
{
|
|
||||||
ActivityInfo = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyTeachingActivityInfo);
|
session.SendPush(notifyTeachingActivityInfo);
|
||||||
|
|
||||||
NotifyTheatreData notifyTheatreData = new();
|
NotifyTheatreData notifyTheatreData = new();
|
||||||
session.SendPush(notifyTheatreData);
|
session.SendPush(notifyTheatreData);
|
||||||
|
|
||||||
NotifyVoteData notifyVoteData = new()
|
NotifyVoteData notifyVoteData = new();
|
||||||
{
|
|
||||||
VoteAlarmDic = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyVoteData);
|
session.SendPush(notifyVoteData);
|
||||||
|
|
||||||
NotifyTRPGData notifyTRPGData = new();
|
NotifyTRPGData notifyTRPGData = new()
|
||||||
|
{
|
||||||
|
BossInfo = new(),
|
||||||
|
BaseInfo = new()
|
||||||
|
{
|
||||||
|
Level = 1
|
||||||
|
}
|
||||||
|
};
|
||||||
session.SendPush(notifyTRPGData);
|
session.SendPush(notifyTRPGData);
|
||||||
|
|
||||||
NotifyBiancaTheatreActivityData notifyBiancaTheatreActivityData = new();
|
NotifyBiancaTheatreActivityData notifyBiancaTheatreActivityData = new()
|
||||||
|
{
|
||||||
|
CurActivityId = 1
|
||||||
|
};
|
||||||
session.SendPush(notifyBiancaTheatreActivityData);
|
session.SendPush(notifyBiancaTheatreActivityData);
|
||||||
|
|
||||||
NotifyMentorData notifyMentorData = new();
|
NotifyMentorData notifyMentorData = new()
|
||||||
|
{
|
||||||
|
PlayerType = 2,
|
||||||
|
Announcement = "",
|
||||||
|
WeeklyLevel = 28
|
||||||
|
};
|
||||||
session.SendPush(notifyMentorData);
|
session.SendPush(notifyMentorData);
|
||||||
|
|
||||||
NotifyMentorChat notifyMentorChat = new()
|
NotifyMentorChat notifyMentorChat = new();
|
||||||
{
|
|
||||||
ChatMessages = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyMentorChat);
|
session.SendPush(notifyMentorChat);
|
||||||
|
|
||||||
NotifyMaintainerActionDailyReset notifyMaintainerActionDailyReset = new()
|
NotifyMaintainerActionDailyReset notifyMaintainerActionDailyReset = new();
|
||||||
{
|
|
||||||
UsedActionCount = 0,
|
|
||||||
ExtraActionCount = 0
|
|
||||||
};
|
|
||||||
session.SendPush(notifyMaintainerActionDailyReset);
|
session.SendPush(notifyMaintainerActionDailyReset);
|
||||||
|
|
||||||
NotifyGuildData notifyGuildData = new();
|
NotifyGuildData notifyGuildData = new()
|
||||||
|
{
|
||||||
|
GuildName = string.Empty,
|
||||||
|
GuildRankLevel = 0
|
||||||
|
};
|
||||||
session.SendPush(notifyGuildData);
|
session.SendPush(notifyGuildData);
|
||||||
|
|
||||||
NotifyMails notifyMails = new()
|
NotifyMails notifyMails = new();
|
||||||
{
|
|
||||||
NewMailList = { },
|
|
||||||
ExpireIdList = { }
|
|
||||||
};
|
|
||||||
session.SendPush(notifyMails);
|
session.SendPush(notifyMails);
|
||||||
|
|
||||||
NotifyItemDataList notifyItemDataList = new()
|
NotifyItemDataList notifyItemDataList = new()
|
||||||
{
|
{
|
||||||
ItemDataList = { },
|
ItemRecycleDict = Array.Empty<dynamic>()
|
||||||
ItemRecycleDict = { }
|
|
||||||
};
|
};
|
||||||
session.SendPush(notifyItemDataList);
|
session.SendPush(notifyItemDataList);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,44 +1,45 @@
|
||||||
{
|
{
|
||||||
"PlayerData": {
|
"PlayerData": {
|
||||||
"Id": 10000001,
|
"Id": 10000001,
|
||||||
"Name": "Test",
|
"Name": "Test",
|
||||||
"Level": 50,
|
"Level": 50,
|
||||||
"Sign": "",
|
"Sign": "",
|
||||||
"DisplayCharId": 1021001,
|
"DisplayCharId": 1021001,
|
||||||
"Birthday": {
|
"Birthday": {
|
||||||
"Mon": 1,
|
"Mon": 1,
|
||||||
"Day": 1
|
"Day": 1
|
||||||
},
|
},
|
||||||
"HonorLevel": 1,
|
"HonorLevel": 1,
|
||||||
"ServerId": "5001",
|
"ServerId": "5001",
|
||||||
"Likes": 0,
|
"Likes": 0,
|
||||||
"CurrTeamId": 1,
|
"CurrTeamId": 1,
|
||||||
"ChallengeEventId": 0,
|
"ChallengeEventId": 0,
|
||||||
"CurrHeadPortraitId": 9000002,
|
"CurrHeadPortraitId": 9000002,
|
||||||
"CurrHeadFrameId": 0,
|
"CurrHeadFrameId": 0,
|
||||||
"CurrMedalId": 0,
|
"CurrMedalId": 0,
|
||||||
"AppearanceShowType": 0,
|
"AppearanceShowType": 0,
|
||||||
"DailyReceiveGiftCount": 0,
|
"DailyReceiveGiftCount": 0,
|
||||||
"DailyActivenessRewardStatus": 0,
|
"DailyActivenessRewardStatus": 0,
|
||||||
"WeeklyActivenessRewardStatus": 0,
|
"WeeklyActivenessRewardStatus": 0,
|
||||||
"Marks": [],
|
"Marks": [],
|
||||||
"ShowCharacters": [
|
"ShowCharacters": [
|
||||||
1021001
|
1021001
|
||||||
],
|
],
|
||||||
"ShieldFuncList": [],
|
"ShieldFuncList": [],
|
||||||
"AppearanceSettingInfo": {
|
"AppearanceSettingInfo": {
|
||||||
"TitleType": 1,
|
"TitleType": 1,
|
||||||
"CharacterType": 1,
|
"CharacterType": 1,
|
||||||
"FashionType": 1,
|
"FashionType": 1,
|
||||||
"WeaponFashionType": 1,
|
"WeaponFashionType": 1,
|
||||||
"DormitoryType": 1,
|
"DormitoryType": 1,
|
||||||
"DormitoryId": 21001
|
"DormitoryId": 21001
|
||||||
},
|
},
|
||||||
"CreateTime": 1626538573,
|
"CreateTime": 1626538573,
|
||||||
"LastLoginTime": 1691332946,
|
"LastLoginTime": 1691332946,
|
||||||
"ReportTime": 0,
|
"ReportTime": 0,
|
||||||
"ChangeNameTime": 1626547796,
|
"ChangeNameTime": 1626547796,
|
||||||
"Flags": 0
|
"Flags": 0,
|
||||||
|
"GuideData": []
|
||||||
},
|
},
|
||||||
"TimeLimitCtrlConfigList": [],
|
"TimeLimitCtrlConfigList": [],
|
||||||
"SharePlatformConfigList": [
|
"SharePlatformConfigList": [
|
||||||
|
|
Loading…
Reference in New Issue