diff --git a/PacketOpcodes.java b/PacketOpcodes.java index 41c10fcf..b62e23be 100644 --- a/PacketOpcodes.java +++ b/PacketOpcodes.java @@ -1,1544 +1,1857 @@ package emu.grasscutter.net.packet; -import java.util.HashSet; - public class PacketOpcodes { - // Empty - public static final int NONE = 0; + // Empty + public static final int NONE = 0; - // Opcodes - public static final int AbilityChangeNotify = 1155; - public static final int AbilityInvocationFailNotify = 1132; - public static final int AbilityInvocationFixedNotify = 1109; - public static final int AbilityInvocationsNotify = 1131; - public static final int AcceptCityReputationRequestReq = 2835; - public static final int AcceptCityReputationRequestRsp = 2849; - public static final int AchievementAllDataNotify = 2668; - public static final int AchievementUpdateNotify = 2659; - public static final int ActivityCoinInfoNotify = 2094; - public static final int ActivityCondStateChangeNotify = 2120; - public static final int ActivityDisableTransferPointInteractionNotify = 8686; - public static final int ActivityInfoNotify = 2125; - public static final int ActivityPlayOpenAnimNotify = 2146; - public static final int ActivitySaleChangeNotify = 2109; - public static final int ActivityScheduleInfoNotify = 2033; - public static final int ActivitySelectAvatarCardReq = 2030; - public static final int ActivitySelectAvatarCardRsp = 2127; - public static final int ActivityTakeAllScoreRewardReq = 8424; - public static final int ActivityTakeAllScoreRewardRsp = 8692; - public static final int ActivityTakeScoreRewardReq = 8321; - public static final int ActivityTakeScoreRewardRsp = 8218; - public static final int ActivityTakeWatcherRewardBatchReq = 2079; - public static final int ActivityTakeWatcherRewardBatchRsp = 2150; - public static final int ActivityTakeWatcherRewardReq = 2090; - public static final int ActivityTakeWatcherRewardRsp = 2025; - public static final int ActivityUpdateWatcherNotify = 2172; - public static final int AddBlacklistReq = 4050; - public static final int AddBlacklistRsp = 4020; - public static final int AddFriendNotify = 4024; - public static final int AddNoGachaAvatarCardNotify = 1648; - public static final int AddQuestContentProgressReq = 417; - public static final int AddQuestContentProgressRsp = 485; - public static final int AddRandTaskInfoNotify = 116; - public static final int AddSeenMonsterNotify = 251; - public static final int AdjustWorldLevelReq = 195; - public static final int AdjustWorldLevelRsp = 115; - public static final int AllCoopInfoNotify = 1968; - public static final int AllMarkPointNotify = 3195; - public static final int AllSeenMonsterNotify = 226; - public static final int AllWidgetDataNotify = 4273; - public static final int AnchorPointDataNotify = 4268; - public static final int AnchorPointOpReq = 4254; - public static final int AnchorPointOpRsp = 4278; - public static final int AnimatorForceSetAirMoveNotify = 346; - public static final int AntiAddictNotify = 148; - public static final int ArenaChallengeFinishNotify = 2082; - public static final int AskAddFriendNotify = 4038; - public static final int AskAddFriendReq = 4032; - public static final int AskAddFriendRsp = 4017; - public static final int AsterLargeInfoNotify = 2192; - public static final int AsterLittleInfoNotify = 2188; - public static final int AsterMidCampInfoNotify = 2020; - public static final int AsterMidInfoNotify = 2121; - public static final int AsterMiscInfoNotify = 2187; - public static final int AsterProgressInfoNotify = 2193; - public static final int AvatarAddNotify = 1757; - public static final int AvatarBuffAddNotify = 350; - public static final int AvatarBuffDelNotify = 320; - public static final int AvatarCardChangeReq = 650; - public static final int AvatarCardChangeRsp = 620; - public static final int AvatarChangeAnimHashReq = 1798; - public static final int AvatarChangeAnimHashRsp = 1622; - public static final int AvatarChangeCostumeNotify = 1780; - public static final int AvatarChangeCostumeReq = 1734; - public static final int AvatarChangeCostumeRsp = 1723; - public static final int AvatarChangeElementTypeReq = 1706; - public static final int AvatarChangeElementTypeRsp = 1708; - public static final int AvatarDataNotify = 1695; - public static final int AvatarDelNotify = 1608; - public static final int AvatarDieAnimationEndReq = 1616; - public static final int AvatarDieAnimationEndRsp = 1765; - public static final int AvatarEnterElementViewNotify = 311; - public static final int AvatarEquipAffixStartNotify = 1609; - public static final int AvatarEquipChangeNotify = 690; - public static final int AvatarExpeditionAllDataReq = 1659; - public static final int AvatarExpeditionAllDataRsp = 1636; - public static final int AvatarExpeditionCallBackReq = 1655; - public static final int AvatarExpeditionCallBackRsp = 1642; - public static final int AvatarExpeditionDataNotify = 1698; - public static final int AvatarExpeditionGetRewardReq = 1603; - public static final int AvatarExpeditionGetRewardRsp = 1646; - public static final int AvatarExpeditionStartReq = 1675; - public static final int AvatarExpeditionStartRsp = 1688; - public static final int AvatarFetterDataNotify = 1777; - public static final int AvatarFetterLevelRewardReq = 1704; - public static final int AvatarFetterLevelRewardRsp = 1606; - public static final int AvatarFightPropNotify = 1232; - public static final int AvatarFightPropUpdateNotify = 1217; - public static final int AvatarFlycloakChangeNotify = 1681; - public static final int AvatarFollowRouteNotify = 3353; - public static final int AvatarGainCostumeNotify = 1670; - public static final int AvatarGainFlycloakNotify = 1615; - public static final int AvatarLifeStateChangeNotify = 1235; - public static final int AvatarPromoteGetRewardReq = 1676; - public static final int AvatarPromoteGetRewardRsp = 1613; - public static final int AvatarPromoteReq = 1711; - public static final int AvatarPromoteRsp = 1668; - public static final int AvatarPropChangeReasonNotify = 1249; - public static final int AvatarPropNotify = 1255; - public static final int AvatarSatiationDataNotify = 1632; - public static final int AvatarSkillChangeNotify = 1030; - public static final int AvatarSkillDepotChangeNotify = 1037; - public static final int AvatarSkillInfoNotify = 1035; - public static final int AvatarSkillMaxChargeCountNotify = 1085; - public static final int AvatarSkillUpgradeReq = 1027; - public static final int AvatarSkillUpgradeRsp = 1007; - public static final int AvatarTeamUpdateNotify = 1713; - public static final int AvatarUnlockTalentNotify = 1041; - public static final int AvatarUpgradeReq = 1680; - public static final int AvatarUpgradeRsp = 1779; - public static final int AvatarWearFlycloakReq = 1728; - public static final int AvatarWearFlycloakRsp = 1770; - public static final int BackMyWorldReq = 221; - public static final int BackMyWorldRsp = 223; - public static final int BargainOfferPriceReq = 419; - public static final int BargainOfferPriceRsp = 412; - public static final int BargainStartNotify = 406; - public static final int BargainTerminateNotify = 458; - public static final int BattlePassAllDataNotify = 2618; - public static final int BattlePassBuySuccNotify = 2614; - public static final int BattlePassCurScheduleUpdateNotify = 2604; - public static final int BattlePassMissionDelNotify = 2643; - public static final int BattlePassMissionUpdateNotify = 2609; - public static final int BeginCameraSceneLookNotify = 203; - public static final int BigTalentPointConvertReq = 1032; - public static final int BigTalentPointConvertRsp = 1017; - public static final int BlessingAcceptAllGivePicReq = 2123; - public static final int BlessingAcceptAllGivePicRsp = 2180; - public static final int BlessingAcceptGivePicReq = 2006; - public static final int BlessingAcceptGivePicRsp = 2048; - public static final int BlessingGetAllRecvPicRecordListReq = 2076; - public static final int BlessingGetAllRecvPicRecordListRsp = 2013; - public static final int BlessingGetFriendPicListReq = 2081; - public static final int BlessingGetFriendPicListRsp = 2015; - public static final int BlessingGiveFriendPicReq = 2009; - public static final int BlessingGiveFriendPicRsp = 2104; - public static final int BlessingRecvFriendPicNotify = 2134; - public static final int BlessingRedeemRewardReq = 2128; - public static final int BlessingRedeemRewardRsp = 2170; - public static final int BlessingScanReq = 2012; - public static final int BlessingScanRsp = 2032; - public static final int BlitzRushParkourRestartReq = 8355; - public static final int BlitzRushParkourRestartRsp = 8943; - public static final int BlossomBriefInfoNotify = 2741; - public static final int BlossomChestCreateNotify = 2717; - public static final int BlossomChestInfoNotify = 835; - public static final int BonusActivityInfoReq = 2507; - public static final int BonusActivityInfoRsp = 2530; - public static final int BonusActivityUpdateNotify = 2527; - public static final int BossChestActivateNotify = 885; - public static final int BounceConjuringSettleNotify = 8313; - public static final int BuoyantCombatSettleNotify = 8347; - public static final int BuyBattlePassLevelReq = 2612; - public static final int BuyBattlePassLevelRsp = 2646; - public static final int BuyGoodsReq = 741; - public static final int BuyGoodsRsp = 737; - public static final int BuyResinReq = 602; - public static final int BuyResinRsp = 616; - public static final int CalcWeaponUpgradeReturnItemsReq = 610; - public static final int CalcWeaponUpgradeReturnItemsRsp = 666; - public static final int CancelCityReputationRequestReq = 2882; - public static final int CancelCityReputationRequestRsp = 2855; - public static final int CancelCoopTaskReq = 1962; - public static final int CancelCoopTaskRsp = 1996; - public static final int CancelFinishParentQuestNotify = 459; - public static final int CanUseSkillNotify = 1098; - public static final int CardProductRewardNotify = 4104; - public static final int ChallengeDataNotify = 963; - public static final int ChallengeRecordNotify = 919; - public static final int ChangeAvatarReq = 1662; - public static final int ChangeAvatarRsp = 1710; - public static final int ChangeGameTimeReq = 149; - public static final int ChangeGameTimeRsp = 182; - public static final int ChangeMailStarNotify = 1407; - public static final int ChangeMpTeamAvatarReq = 1689; - public static final int ChangeMpTeamAvatarRsp = 1617; - public static final int ChangeServerGlobalValueNotify = 12; - public static final int ChangeTeamNameReq = 1762; - public static final int ChangeTeamNameRsp = 1789; - public static final int ChangeWorldToSingleModeNotify = 3260; - public static final int ChangeWorldToSingleModeReq = 3140; - public static final int ChangeWorldToSingleModeRsp = 3083; - public static final int ChannelerSlabStageActiveChallengeIndexNotify = 8864; - public static final int ChannelerSlabStageOneoffDungeonNotify = 8522; - public static final int ChannellerSlabCheckEnterLoopDungeonReq = 8304; - public static final int ChannellerSlabCheckEnterLoopDungeonRsp = 8928; - public static final int ChannellerSlabEnterLoopDungeonReq = 8687; - public static final int ChannellerSlabEnterLoopDungeonRsp = 8639; - public static final int ChannellerSlabLoopDungeonChallengeInfoNotify = 8555; - public static final int ChannellerSlabLoopDungeonSelectConditionReq = 8383; - public static final int ChannellerSlabLoopDungeonSelectConditionRsp = 8979; - public static final int ChannellerSlabLoopDungeonTakeFirstPassRewardReq = 8910; - public static final int ChannellerSlabLoopDungeonTakeFirstPassRewardRsp = 8482; - public static final int ChannellerSlabLoopDungeonTakeScoreRewardReq = 8305; - public static final int ChannellerSlabLoopDungeonTakeScoreRewardRsp = 8552; - public static final int ChannellerSlabOneOffDungeonInfoNotify = 8008; - public static final int ChannellerSlabOneOffDungeonInfoReq = 8295; - public static final int ChannellerSlabOneOffDungeonInfoRsp = 8716; - public static final int ChannellerSlabSaveAssistInfoReq = 8860; - public static final int ChannellerSlabSaveAssistInfoRsp = 8320; - public static final int ChannellerSlabTakeoffBuffReq = 8577; - public static final int ChannellerSlabTakeoffBuffRsp = 8689; - public static final int ChannellerSlabWearBuffReq = 8132; - public static final int ChannellerSlabWearBuffRsp = 8315; - public static final int ChapterStateNotify = 498; - public static final int ChatChannelDataNotify = 4957; - public static final int ChatChannelUpdateNotify = 4977; - public static final int ChatHistoryNotify = 3213; - public static final int CheckAddItemExceedLimitNotify = 653; - public static final int CheckSegmentCRCNotify = 86; - public static final int CheckSegmentCRCReq = 63; - public static final int ChessEscapedMonstersNotify = 5374; - public static final int ChessLeftMonstersNotify = 5391; - public static final int ChessManualRefreshCardsReq = 5373; - public static final int ChessManualRefreshCardsRsp = 5361; - public static final int ChessPickCardNotify = 5348; - public static final int ChessPickCardReq = 5310; - public static final int ChessPickCardRsp = 5366; - public static final int ChessPlayerInfoNotify = 5388; - public static final int ChessSelectedCardsNotify = 5353; - public static final int ChooseCurAvatarTeamReq = 1800; - public static final int ChooseCurAvatarTeamRsp = 1673; - public static final int CityReputationDataNotify = 2898; - public static final int CityReputationLevelupNotify = 2832; - public static final int ClearRoguelikeCurseNotify = 8291; - public static final int ClientAbilitiesInitFinishCombineNotify = 1185; - public static final int ClientAbilityChangeNotify = 1127; - public static final int ClientAbilityInitBeginNotify = 1141; - public static final int ClientAbilityInitFinishNotify = 1137; - public static final int ClientAIStateNotify = 1197; - public static final int ClientBulletCreateNotify = 6; - public static final int ClientCollectorDataNotify = 4264; - public static final int ClientHashDebugNotify = 3192; - public static final int ClientLoadingCostumeVerificationNotify = 3488; - public static final int ClientLockGameTimeNotify = 174; - public static final int ClientNewMailNotify = 1482; - public static final int ClientPauseNotify = 291; - public static final int ClientReconnectNotify = 27; - public static final int ClientReportNotify = 97; - public static final int ClientScriptEventNotify = 214; - public static final int ClientTransmitReq = 272; - public static final int ClientTransmitRsp = 259; - public static final int ClientTriggerEventNotify = 107; - public static final int CloseCommonTipsNotify = 3496; - public static final int ClosedItemNotify = 674; - public static final int CodexDataFullNotify = 4201; - public static final int CodexDataUpdateNotify = 4210; - public static final int CombatInvocationsNotify = 316; - public static final int CombineDataNotify = 661; - public static final int CombineFormulaDataNotify = 688; - public static final int CombineReq = 654; - public static final int CombineRsp = 646; - public static final int CommonPlayerTipsNotify = 8490; - public static final int CompoundDataNotify = 136; - public static final int CompoundUnlockNotify = 181; - public static final int CookDataNotify = 142; - public static final int CookGradeDataNotify = 111; - public static final int CookRecipeDataNotify = 101; - public static final int CoopCgShowNotify = 1989; - public static final int CoopCgUpdateNotify = 1966; - public static final int CoopChapterUpdateNotify = 1997; - public static final int CoopDataNotify = 1976; - public static final int CoopPointUpdateNotify = 1987; - public static final int CoopProgressUpdateNotify = 1961; - public static final int CoopRewardUpdateNotify = 1951; - public static final int CreateMassiveEntityNotify = 325; - public static final int CreateMassiveEntityReq = 370; - public static final int CreateMassiveEntityRsp = 329; - public static final int CreateVehicleReq = 819; - public static final int CreateVehicleRsp = 812; - public static final int CutSceneBeginNotify = 300; - public static final int CutSceneEndNotify = 299; - public static final int CutSceneFinishNotify = 294; - public static final int DailyTaskDataNotify = 183; - public static final int DailyTaskFilterCityReq = 192; - public static final int DailyTaskFilterCityRsp = 118; - public static final int DailyTaskProgressNotify = 103; - public static final int DailyTaskScoreRewardNotify = 134; - public static final int DailyTaskUnlockedCitiesNotify = 121; - public static final int DataResVersionNotify = 125; - public static final int DealAddFriendReq = 4085; - public static final int DealAddFriendRsp = 4035; - public static final int DebugNotify = 101; - public static final int DeleteFriendNotify = 4063; - public static final int DeleteFriendReq = 4055; - public static final int DeleteFriendRsp = 4027; - public static final int DelMailReq = 1417; - public static final int DelMailRsp = 1485; - public static final int DelScenePlayTeamEntityNotify = 3087; - public static final int DelTeamEntityNotify = 302; - public static final int DestroyMassiveEntityNotify = 383; - public static final int DestroyMaterialReq = 678; - public static final int DestroyMaterialRsp = 608; - public static final int DigActivityChangeGadgetStateReq = 8155; - public static final int DigActivityChangeGadgetStateRsp = 8851; - public static final int DigActivityMarkPointChangeNotify = 8679; - public static final int DisableRoguelikeTrapNotify = 8250; - public static final int DoGachaReq = 1541; - public static final int DoGachaRsp = 1537; - public static final int DoRoguelikeDungeonCardGachaReq = 8764; - public static final int DoRoguelikeDungeonCardGachaRsp = 8641; - public static final int DoSetPlayerBornDataNotify = 190; - public static final int DraftGuestReplyInviteNotify = 5435; - public static final int DraftGuestReplyInviteReq = 5417; - public static final int DraftGuestReplyInviteRsp = 5485; - public static final int DraftGuestReplyTwiceConfirmNotify = 5430; - public static final int DraftGuestReplyTwiceConfirmReq = 5455; - public static final int DraftGuestReplyTwiceConfirmRsp = 5427; - public static final int DraftInviteResultNotify = 5449; - public static final int DraftOwnerInviteNotify = 5432; - public static final int DraftOwnerStartInviteReq = 5441; - public static final int DraftOwnerStartInviteRsp = 5437; - public static final int DraftOwnerTwiceConfirmNotify = 5482; - public static final int DraftTwiceConfirmResultNotify = 5407; - public static final int DragonSpineChapterFinishNotify = 2135; - public static final int DragonSpineChapterOpenNotify = 2119; - public static final int DragonSpineChapterProgressChangeNotify = 2102; - public static final int DragonSpineCoinChangeNotify = 2031; - public static final int DropHintNotify = 622; - public static final int DropItemReq = 682; - public static final int DropItemRsp = 655; - public static final int DungeonCandidateTeamChangeAvatarReq = 984; - public static final int DungeonCandidateTeamChangeAvatarRsp = 970; - public static final int DungeonCandidateTeamCreateReq = 942; - public static final int DungeonCandidateTeamCreateRsp = 901; - public static final int DungeonCandidateTeamDismissNotify = 913; - public static final int DungeonCandidateTeamInfoNotify = 912; - public static final int DungeonCandidateTeamInviteNotify = 958; - public static final int DungeonCandidateTeamInviteReq = 911; - public static final int DungeonCandidateTeamInviteRsp = 922; - public static final int DungeonCandidateTeamKickReq = 954; - public static final int DungeonCandidateTeamKickRsp = 946; - public static final int DungeonCandidateTeamLeaveReq = 933; - public static final int DungeonCandidateTeamLeaveRsp = 936; - public static final int DungeonCandidateTeamPlayerLeaveNotify = 920; - public static final int DungeonCandidateTeamRefuseNotify = 950; - public static final int DungeonCandidateTeamReplyInviteReq = 928; - public static final int DungeonCandidateTeamReplyInviteRsp = 976; - public static final int DungeonCandidateTeamSetChangingAvatarReq = 908; - public static final int DungeonCandidateTeamSetChangingAvatarRsp = 904; - public static final int DungeonCandidateTeamSetReadyReq = 972; - public static final int DungeonCandidateTeamSetReadyRsp = 959; - public static final int DungeonChallengeBeginNotify = 990; - public static final int DungeonChallengeFinishNotify = 986; - public static final int DungeonDataNotify = 945; - public static final int DungeonDieOptionReq = 927; - public static final int DungeonDieOptionRsp = 907; - public static final int DungeonEntryInfoReq = 909; - public static final int DungeonEntryInfoRsp = 931; - public static final int DungeonEntryToBeExploreNotify = 3414; - public static final int DungeonFollowNotify = 924; - public static final int DungeonGetStatueDropReq = 938; - public static final int DungeonGetStatueDropRsp = 906; - public static final int DungeonInterruptChallengeReq = 934; - public static final int DungeonInterruptChallengeRsp = 902; - public static final int DungeonPlayerDieNotify = 955; - public static final int DungeonPlayerDieReq = 997; - public static final int DungeonPlayerDieRsp = 998; - public static final int DungeonRestartInviteNotify = 977; - public static final int DungeonRestartInviteReplyNotify = 989; - public static final int DungeonRestartInviteReplyReq = 943; - public static final int DungeonRestartInviteReplyRsp = 987; - public static final int DungeonRestartReq = 993; - public static final int DungeonRestartResultNotify = 978; - public static final int DungeonRestartRsp = 960; - public static final int DungeonReviseLevelNotify = 905; - public static final int DungeonSettleNotify = 982; - public static final int DungeonShowReminderNotify = 930; - public static final int DungeonSlipRevivePointActivateReq = 983; - public static final int DungeonSlipRevivePointActivateRsp = 903; - public static final int DungeonWayPointActivateReq = 935; - public static final int DungeonWayPointActivateRsp = 949; - public static final int DungeonWayPointNotify = 985; - public static final int EchoNotify = 38; - public static final int EchoShellTakeRewardReq = 8074; - public static final int EchoShellTakeRewardRsp = 8446; - public static final int EchoShellUpdateNotify = 8077; - public static final int EffigyChallengeInfoNotify = 2153; - public static final int EffigyChallengeResultNotify = 2064; - public static final int EndCameraSceneLookNotify = 234; - public static final int EnterChessDungeonReq = 8571; - public static final int EnterChessDungeonRsp = 8819; - public static final int EnterFishingReq = 5818; - public static final int EnterFishingRsp = 5809; - public static final int EnterMechanicusDungeonReq = 3955; - public static final int EnterMechanicusDungeonRsp = 3927; - public static final int EnterRoguelikeDungeonNotify = 8646; - public static final int EnterSceneDoneReq = 279; - public static final int EnterSceneDoneRsp = 269; - public static final int EnterScenePeerNotify = 257; - public static final int EnterSceneReadyReq = 244; - public static final int EnterSceneReadyRsp = 252; - public static final int EnterSceneWeatherAreaNotify = 284; - public static final int EnterTransPointRegionNotify = 298; - public static final int EnterTrialAvatarActivityDungeonReq = 2057; - public static final int EnterTrialAvatarActivityDungeonRsp = 2021; - public static final int EnterWorldAreaReq = 222; - public static final int EnterWorldAreaRsp = 254; - public static final int EntityAiKillSelfNotify = 378; - public static final int EntityAiSyncNotify = 343; - public static final int EntityAuthorityChangeNotify = 358; - public static final int EntityConfigHashNotify = 3271; - public static final int EntityFightPropChangeReasonNotify = 1285; - public static final int EntityFightPropNotify = 1241; - public static final int EntityFightPropUpdateNotify = 1237; - public static final int EntityForceSyncReq = 246; - public static final int EntityForceSyncRsp = 233; - public static final int EntityJumpNotify = 224; - public static final int EntityMoveRoomNotify = 3209; - public static final int EntityPropNotify = 1209; - public static final int EntityTagChangeNotify = 3273; - public static final int EquipRoguelikeRuneReq = 8510; - public static final int EquipRoguelikeRuneRsp = 8516; - public static final int EvtAiSyncCombatThreatInfoNotify = 360; - public static final int EvtAiSyncSkillCdNotify = 333; - public static final int EvtAnimatorParameterNotify = 331; - public static final int EvtAnimatorStateChangedNotify = 355; - public static final int EvtAvatarEnterFocusNotify = 306; - public static final int EvtAvatarExitFocusNotify = 319; - public static final int EvtAvatarLockChairReq = 308; - public static final int EvtAvatarLockChairRsp = 304; - public static final int EvtAvatarSitDownNotify = 359; - public static final int EvtAvatarStandUpNotify = 384; - public static final int EvtAvatarUpdateFocusNotify = 312; - public static final int EvtBeingHitNotify = 309; - public static final int EvtBeingHitsCombineNotify = 336; - public static final int EvtBulletDeactiveNotify = 330; - public static final int EvtBulletHitNotify = 307; - public static final int EvtBulletMoveNotify = 338; - public static final int EvtCostStaminaNotify = 349; - public static final int EvtCreateGadgetNotify = 332; - public static final int EvtDestroyGadgetNotify = 317; - public static final int EvtDestroyServerGadgetNotify = 389; - public static final int EvtDoSkillSuccNotify = 337; - public static final int EvtEntityRenderersChangedNotify = 354; - public static final int EvtEntityStartDieEndNotify = 397; - public static final int EvtFaceToDirNotify = 335; - public static final int EvtFaceToEntityNotify = 385; - public static final int EvtRushMoveNotify = 327; - public static final int EvtSetAttackTargetNotify = 382; - public static final int ExclusiveRuleNotify = 123; - public static final int ExecuteGadgetLuaReq = 267; - public static final int ExecuteGadgetLuaRsp = 271; - public static final int ExecuteGroupTriggerReq = 277; - public static final int ExecuteGroupTriggerRsp = 243; - public static final int ExitFishingReq = 5814; - public static final int ExitFishingRsp = 5812; - public static final int ExitSceneWeatherAreaNotify = 270; - public static final int ExitTransPointRegionNotify = 245; - public static final int ExpeditionChallengeEnterRegionNotify = 2050; - public static final int ExpeditionChallengeFinishedNotify = 2034; - public static final int ExpeditionRecallReq = 2122; - public static final int ExpeditionRecallRsp = 2156; - public static final int ExpeditionStartReq = 2026; - public static final int ExpeditionStartRsp = 2163; - public static final int ExpeditionTakeRewardReq = 2173; - public static final int ExpeditionTakeRewardRsp = 2196; - public static final int FindHilichurlAcceptQuestNotify = 8465; - public static final int FindHilichurlFinishSecondQuestNotify = 8981; - public static final int FinishDeliveryNotify = 2158; - public static final int FinishedParentQuestNotify = 437; - public static final int FinishedParentQuestUpdateNotify = 432; - public static final int FinishMainCoopReq = 1978; - public static final int FinishMainCoopRsp = 1953; - public static final int FireworkReq = 6068; - public static final int FireworkNotify = 6079; - public static final int FireworkRsp = 5918; - public static final int FireworkSetReq = 6099; - public static final int FireworkSetNotify = 5934; - public static final int FireworkSetRsp = 5969; - public static final int FishAttractNotify = 5846; - public static final int FishBaitGoneNotify = 5827; - public static final int FishBattleBeginReq = 5802; - public static final int FishBattleBeginRsp = 5813; - public static final int FishBattleEndReq = 5837; - public static final int FishBattleEndRsp = 5832; - public static final int FishBiteReq = 5816; - public static final int FishBiteRsp = 5801; - public static final int FishCastRodReq = 5828; - public static final int FishCastRodRsp = 5803; - public static final int FishChosenNotify = 5826; - public static final int FishEscapeNotify = 5847; - public static final int FishingGallerySettleNotify = 8896; - public static final int FishPoolDataNotify = 5811; - public static final int FleurFairBalloonSettleNotify = 2139; - public static final int FleurFairBuffEnergyNotify = 5359; - public static final int FleurFairFallSettleNotify = 2097; - public static final int FleurFairFinishGalleryStageNotify = 5370; - public static final int FleurFairMusicGameSettleReq = 2115; - public static final int FleurFairMusicGameSettleRsp = 2124; - public static final int FleurFairMusicGameStartReq = 2171; - public static final int FleurFairMusicGameStartRsp = 2149; - public static final int FleurFairReplayMiniGameReq = 2152; - public static final int FleurFairReplayMiniGameRsp = 2101; - public static final int FleurFairStageSettleNotify = 5384; - public static final int FlightActivityRestartReq = 2164; - public static final int FlightActivityRestartRsp = 2002; - public static final int FlightActivitySettleNotify = 2084; - public static final int FocusAvatarReq = 1652; - public static final int FocusAvatarRsp = 1612; - public static final int ForceAddPlayerFriendReq = 4077; - public static final int ForceAddPlayerFriendRsp = 4043; - public static final int ForceDragAvatarNotify = 3425; - public static final int ForceDragBackTransferNotify = 3088; - public static final int ForgeDataNotify = 648; - public static final int ForgeFormulaDataNotify = 673; - public static final int ForgeGetQueueDataReq = 636; - public static final int ForgeGetQueueDataRsp = 628; - public static final int ForgeQueueDataNotify = 633; - public static final int ForgeQueueManipulateReq = 659; - public static final int ForgeQueueManipulateRsp = 684; - public static final int ForgeStartReq = 676; - public static final int ForgeStartRsp = 672; - public static final int FoundationNotify = 890; - public static final int FoundationReq = 898; - public static final int FoundationRsp = 845; - public static final int FriendInfoChangeNotify = 4088; - public static final int FunitureMakeMakeInfoChangeNotify = 4488; - public static final int FurnitureCurModuleArrangeCountNotify = 4681; - public static final int FurnitureMakeBeHelpedNotify = 4626; - public static final int FurnitureMakeCancelReq = 4834; - public static final int FurnitureMakeCancelRsp = 4660; - public static final int FurnitureMakeFinishNotify = 4557; - public static final int FurnitureMakeHelpReq = 4580; - public static final int FurnitureMakeHelpRsp = 4722; - public static final int FurnitureMakeReq = 4551; - public static final int FurnitureMakeRsp = 4530; - public static final int FurnitureMakeStartReq = 4582; - public static final int FurnitureMakeStartRsp = 4463; - public static final int GachaOpenWishNotify = 1585; - public static final int GachaSimpleInfoNotify = 1535; - public static final int GachaWishReq = 1532; - public static final int GachaWishRsp = 1517; - public static final int GadgetAutoPickDropInfoNotify = 830; - public static final int GadgetChainLevelChangeNotify = 824; - public static final int GadgetChainLevelUpdateNotify = 863; - public static final int GadgetCustomTreeInfoNotify = 822; - public static final int GadgetGeneralRewardInfoNotify = 807; - public static final int GadgetInteractReq = 809; - public static final int GadgetInteractRsp = 831; - public static final int GadgetPlayDataNotify = 855; - public static final int GadgetPlayStartNotify = 849; - public static final int GadgetPlayStopNotify = 882; - public static final int GadgetPlayUidOpNotify = 827; - public static final int GadgetStateNotify = 841; - public static final int GadgetTalkChangeNotify = 886; - public static final int GalleryBalloonScoreNotify = 5541; - public static final int GalleryBalloonShootNotify = 5531; - public static final int GalleryBounceConjuringHitNotify = 5598; - public static final int GalleryBrokenFloorFallNotify = 5527; - public static final int GalleryBulletHitNotify = 5555; - public static final int GalleryFallCatchNotify = 5532; - public static final int GalleryFallScoreNotify = 5517; - public static final int GalleryFlowerCatchNotify = 5549; - public static final int GalleryPreStartNotify = 5582; - public static final int GalleryStartNotify = 5509; - public static final int GalleryStopNotify = 5537; - public static final int GallerySumoKillMonsterNotify = 5545; - public static final int GetActivityInfoReq = 2067; - public static final int GetActivityInfoRsp = 2144; - public static final int GetActivityScheduleReq = 2049; - public static final int GetActivityScheduleRsp = 2044; - public static final int GetActivityShopSheetInfoReq = 785; - public static final int GetActivityShopSheetInfoRsp = 735; - public static final int GetAllActivatedBargainDataReq = 413; - public static final int GetAllActivatedBargainDataRsp = 442; - public static final int GetAllH5ActivityInfoReq = 5659; - public static final int GetAllH5ActivityInfoRsp = 5668; - public static final int GetAllMailReq = 1455; - public static final int GetAllMailRsp = 1427; - public static final int GetAllSceneGalleryInfoReq = 5585; - public static final int GetAllSceneGalleryInfoRsp = 5535; - public static final int GetAllUnlockNameCardReq = 4012; - public static final int GetAllUnlockNameCardRsp = 4058; - public static final int GetAreaExplorePointReq = 228; - public static final int GetAreaExplorePointRsp = 276; - public static final int GetAuthkeyReq = 1435; - public static final int GetAuthkeyRsp = 1449; - public static final int GetAuthSalesmanInfoReq = 2161; - public static final int GetAuthSalesmanInfoRsp = 2039; - public static final int GetBargainDataReq = 450; - public static final int GetBargainDataRsp = 420; - public static final int GetBattlePassProductReq = 2616; - public static final int GetBattlePassProductRsp = 2601; - public static final int GetBlossomBriefInfoListReq = 2709; - public static final int GetBlossomBriefInfoListRsp = 2731; - public static final int GetBonusActivityRewardReq = 2597; - public static final int GetBonusActivityRewardRsp = 2598; - public static final int GetChatEmojiCollectionReq = 4005; - public static final int GetChatEmojiCollectionRsp = 4010; - public static final int GetCityHuntingOfferReq = 4343; - public static final int GetCityHuntingOfferRsp = 4304; - public static final int GetCityReputationInfoReq = 2809; - public static final int GetCityReputationInfoRsp = 2831; - public static final int GetCityReputationMapInfoReq = 2827; - public static final int GetCityReputationMapInfoRsp = 2807; - public static final int GetCompoundDataReq = 128; - public static final int GetCompoundDataRsp = 176; - public static final int GetDailyDungeonEntryInfoReq = 929; - public static final int GetDailyDungeonEntryInfoRsp = 925; - public static final int GetDungeonEntryExploreConditionReq = 3136; - public static final int GetDungeonEntryExploreConditionRsp = 3099; - public static final int GetExpeditionAssistInfoListReq = 2181; - public static final int GetExpeditionAssistInfoListRsp = 2045; - public static final int GetFriendShowAvatarInfoReq = 4003; - public static final int GetFriendShowAvatarInfoRsp = 4034; - public static final int GetFriendShowNameCardInfoReq = 4093; - public static final int GetFriendShowNameCardInfoRsp = 4060; - public static final int GetFurnitureCurModuleArrangeCountReq = 4603; - public static final int GetGachaInfoReq = 1509; - public static final int GetGachaInfoRsp = 1531; - public static final int GetHomeLevelUpRewardReq = 4747; - public static final int GetHomeLevelUpRewardRsp = 4517; - public static final int GetHuntingOfferRewardReq = 4328; - public static final int GetHuntingOfferRewardRsp = 4303; - public static final int GetInvestigationMonsterReq = 1902; - public static final int GetInvestigationMonsterRsp = 1911; - public static final int GetMailItemReq = 1437; - public static final int GetMailItemRsp = 1432; - public static final int GetMapAreaReq = 3466; - public static final int GetMapAreaRsp = 3012; - public static final int GetMapMarkTipsReq = 3329; - public static final int GetMapMarkTipsRsp = 3118; - public static final int GetMechanicusInfoReq = 3909; - public static final int GetMechanicusInfoRsp = 3931; - public static final int GetNextResourceInfoReq = 153; - public static final int GetNextResourceInfoRsp = 139; - public static final int GetOnlinePlayerInfoReq = 45; - public static final int GetOnlinePlayerInfoRsp = 90; - public static final int GetOnlinePlayerListReq = 35; - public static final int GetOnlinePlayerListRsp = 49; - public static final int GetOpActivityInfoReq = 5109; - public static final int GetOpActivityInfoRsp = 5131; - public static final int GetPlayerAskFriendListReq = 4008; - public static final int GetPlayerAskFriendListRsp = 4004; - public static final int GetPlayerBlacklistReq = 4076; - public static final int GetPlayerBlacklistRsp = 4072; - public static final int GetPlayerFriendListReq = 4009; - public static final int GetPlayerFriendListRsp = 4031; - public static final int GetPlayerHomeCompInfoReq = 4845; - public static final int GetPlayerMpModeAvailabilityReq = 1816; - public static final int GetPlayerMpModeAvailabilityRsp = 1801; - public static final int GetPlayerSocialDetailReq = 4049; - public static final int GetPlayerSocialDetailRsp = 4082; - public static final int GetPlayerTokenReq = 109; - public static final int GetPlayerTokenRsp = 131; - public static final int GetPushTipsRewardReq = 2212; - public static final int GetPushTipsRewardRsp = 2258; - public static final int GetQuestTalkHistoryReq = 435; - public static final int GetQuestTalkHistoryRsp = 449; - public static final int GetRecentMpPlayerListReq = 4011; - public static final int GetRecentMpPlayerListRsp = 4022; - public static final int GetRegionSearchReq = 5628; - public static final int GetReunionMissionInfoReq = 5066; - public static final int GetReunionMissionInfoRsp = 5051; - public static final int GetReunionPrivilegeInfoReq = 5062; - public static final int GetReunionPrivilegeInfoRsp = 5096; - public static final int GetReunionSignInInfoReq = 5078; - public static final int GetReunionSignInInfoRsp = 5053; - public static final int GetSceneAreaReq = 238; - public static final int GetSceneAreaRsp = 206; - public static final int GetSceneNpcPositionReq = 537; - public static final int GetSceneNpcPositionRsp = 532; - public static final int GetScenePerformanceReq = 3340; - public static final int GetScenePerformanceRsp = 3447; - public static final int GetScenePointReq = 230; - public static final int GetScenePointRsp = 297; - public static final int GetShopmallDataReq = 732; - public static final int GetShopmallDataRsp = 717; - public static final int GetShopReq = 709; - public static final int GetShopRsp = 731; - public static final int GetSignInRewardReq = 2532; - public static final int GetSignInRewardRsp = 2517; - public static final int GetWidgetSlotReq = 4267; - public static final int GetWidgetSlotRsp = 4300; - public static final int GetWorldMpInfoReq = 3264; - public static final int GetWorldMpInfoRsp = 3179; - public static final int GiveUpRoguelikeDungeonCardReq = 8977; - public static final int GiveUpRoguelikeDungeonCardRsp = 8583; - public static final int GivingRecordChangeNotify = 189; - public static final int GivingRecordNotify = 187; - public static final int GMShowNavMeshReq = 2377; - public static final int GMShowNavMeshRsp = 2343; - public static final int GMShowObstacleReq = 2393; - public static final int GMShowObstacleRsp = 2360; - public static final int GmTalkNotify = 58; - public static final int GmTalkReq = 31; - public static final int GmTalkRsp = 41; - public static final int GrantRewardNotify = 613; - public static final int GroupLinkAllNotify = 5768; - public static final int GroupLinkChangeNotify = 5759; - public static final int GroupLinkDeleteNotify = 5793; - public static final int GroupSuiteNotify = 3476; - public static final int GroupUnloadNotify = 3416; - public static final int GuestBeginEnterSceneNotify = 3125; - public static final int GuestPostEnterSceneNotify = 3379; - public static final int H5ActivityIdsNotify = 5693; - public static final int HideAndSeekPlayerReadyNotify = 5302; - public static final int HideAndSeekPlayerSetAvatarNotify = 5316; - public static final int HideAndSeekSelectAvatarReq = 5329; - public static final int HideAndSeekSelectAvatarRsp = 5325; - public static final int HideAndSeekSelectSkillReq = 8307; - public static final int HideAndSeekSelectSkillRsp = 8227; - public static final int HideAndSeekSetReadyReq = 5383; - public static final int HideAndSeekSetReadyRsp = 5303; - public static final int HideAndSeekSettleNotify = 5334; - public static final int HitClientTrivialNotify = 218; - public static final int HitTreeNotify = 3222; - public static final int HomeAvatarAllFinishRewardNotify = 4648; - public static final int HomeAvatarCostumeChangeNotify = 4685; - public static final int HomeAvatarRewardEventGetReq = 4775; - public static final int HomeAvatarRewardEventGetRsp = 4873; - public static final int HomeAvatarRewardEventNotify = 4789; - public static final int HomeAvatarSummonAllEventNotify = 4617; - public static final int HomeAvatarSummonEventReq = 4615; - public static final int HomeAvatarSummonEventRsp = 4498; - public static final int HomeAvatarSummonFinishReq = 4748; - public static final int HomeAvatarSummonFinishRsp = 4782; - public static final int HomeAvatarTalkFinishInfoNotify = 4502; - public static final int HomeAvatarTalkReq = 4712; - public static final int HomeAvatarTalkRsp = 4700; - public static final int HomeAvtarAllFinishRewardNotify = 4849; - public static final int HomeBasicInfoNotify = 4872; - public static final int HomeBlockNotify = 4542; - public static final int HomeChangeEditModeReq = 4625; - public static final int HomeChangeEditModeRsp = 4885; - public static final int HomeChangeModuleReq = 4688; - public static final int HomeChangeModuleRsp = 4821; - public static final int HomeChooseModuleReq = 4479; - public static final int HomeChooseModuleRsp = 4745; - public static final int HomeComfortInfoNotify = 4649; - public static final int HomeCustomFurnitureInfoNotify = 4482; - public static final int HomeEditCustomFurnitureReq = 4516; - public static final int HomeEditCustomFurnitureRsp = 4871; - public static final int HomeFishFarmingInfoNotify = 4682; - public static final int HomeGetArrangementInfoReq = 4848; - public static final int HomeGetArrangementInfoRsp = 4456; - public static final int HomeGetBasicInfoReq = 4535; - public static final int HomeGetFishFarmingInfoReq = 4455; - public static final int HomeGetFishFarmingInfoRsp = 4889; - public static final int HomeGetOnlineStatusReq = 4796; - public static final int HomeGetOnlineStatusRsp = 4554; - public static final int HomeKickPlayerReq = 4809; - public static final int HomeKickPlayerRsp = 4752; - public static final int HomeLimitedShopBuyGoodsReq = 4638; - public static final int HomeLimitedShopBuyGoodsRsp = 4790; - public static final int HomeLimitedShopGoodsListReq = 4579; - public static final int HomeLimitedShopGoodsListRsp = 4846; - public static final int HomeLimitedShopInfoChangeNotify = 4814; - public static final int HomeLimitedShopInfoNotify = 4621; - public static final int HomeLimitedShopInfoReq = 4616; - public static final int HomeLimitedShopInfoRsp = 4585; - public static final int HomeMarkPointNotify = 4746; - public static final int HomeModuleSeenReq = 4546; - public static final int HomeModuleSeenRsp = 4526; - public static final int HomeModuleUnlockNotify = 4781; - public static final int HomePlantFieldNotify = 4466; - public static final int HomePlantInfoNotify = 4835; - public static final int HomePlantInfoReq = 4833; - public static final int HomePlantInfoRsp = 4859; - public static final int HomePlantSeedReq = 4614; - public static final int HomePlantSeedRsp = 4804; - public static final int HomePlantWeedReq = 4877; - public static final int HomePlantWeedRsp = 4575; - public static final int HomePriorCheckNotify = 4690; - public static final int HomeResourceNotify = 4806; - public static final int HomeResourceTakeFetterExpReq = 4840; - public static final int HomeResourceTakeFetterExpRsp = 4500; - public static final int HomeResourceTakeHomeCoinReq = 4763; - public static final int HomeResourceTakeHomeCoinRsp = 4658; - public static final int HomeSceneInitFinishReq = 4552; - public static final int HomeSceneInitFinishRsp = 4592; - public static final int HomeSceneJumpReq = 4659; - public static final int HomeSceneJumpRsp = 4570; - public static final int HomeTransferReq = 4880; - public static final int HomeTransferRsp = 4767; - public static final int HomeUnknown1Notify = 4528; - public static final int HomeUnknown2Req = 4857; - public static final int HomeUnknown2Rsp = 4670; - public static final int HomeUpdateArrangementInfoReq = 4472; - public static final int HomeUpdateArrangementInfoRsp = 4822; - public static final int HomeUpdateFishFarmingInfoReq = 4604; - public static final int HomeUpdateFishFarmingInfoRsp = 4856; - public static final int HostPlayerNotify = 341; - public static final int HuntingFailNotify = 4302; - public static final int HuntingGiveUpReq = 4337; - public static final int HuntingGiveUpRsp = 4332; - public static final int HuntingOngoingNotify = 4313; - public static final int HuntingRevealClueNotify = 4347; - public static final int HuntingRevealFinalNotify = 4316; - public static final int HuntingStartNotify = 4326; - public static final int HuntingSuccessNotify = 4301; - public static final int InBattleMechanicusBuildingPointsNotify = 5385; - public static final int InBattleMechanicusCardResultNotify = 5330; - public static final int InBattleMechanicusConfirmCardNotify = 5307; - public static final int InBattleMechanicusConfirmCardReq = 5355; - public static final int InBattleMechanicusConfirmCardRsp = 5327; - public static final int InBattleMechanicusExcapeMonsterNotify = 5332; - public static final int InBattleMechanicusLeftMonsterNotify = 5317; - public static final int InBattleMechanicusPickCardNotify = 5382; - public static final int InBattleMechanicusPickCardReq = 5335; - public static final int InBattleMechanicusPickCardRsp = 5349; - public static final int InBattleMechanicusSettleNotify = 5398; - public static final int InteractDailyDungeonInfoNotify = 916; - public static final int InterruptGalleryReq = 5507; - public static final int InterruptGalleryRsp = 5530; - public static final int InvestigationMonsterUpdateNotify = 1922; - public static final int ItemAddHintNotify = 632; - public static final int ItemCdGroupTimeNotify = 611; - public static final int ItemGivingReq = 178; - public static final int ItemGivingRsp = 108; - public static final int JoinHomeWorldFailNotify = 4863; - public static final int JoinPlayerFailNotify = 268; - public static final int JoinPlayerSceneReq = 253; - public static final int JoinPlayerSceneRsp = 239; - public static final int KeepAliveNotify = 9; - public static final int LeaveSceneReq = 231; - public static final int LeaveSceneRsp = 241; - public static final int LeaveWorldNotify = 3420; - public static final int LevelupCityReq = 287; - public static final int LevelupCityRsp = 289; - public static final int LifeStateChangeNotify = 1231; - public static final int LiveEndNotify = 801; - public static final int LiveStartNotify = 820; - public static final int LoadActivityTerrainNotify = 2175; - public static final int LuaEnvironmentEffectNotify = 3289; - public static final int LuaSetOptionNotify = 387; - public static final int LunaRiteAreaFinishNotify = 8107; - public static final int LunaRiteGroupBundleRegisterNotify = 8327; - public static final int LunaRiteHintPointRemoveNotify = 8420; - public static final int LunaRiteHintPointReq = 8342; - public static final int LunaRiteHintPointRsp = 8481; - public static final int LunaRiteSacrificeReq = 8062; - public static final int LunaRiteSacrificeRsp = 8401; - public static final int LunaRiteTakeSacrificeRewardReq = 8669; - public static final int LunaRiteTakeSacrificeRewardRsp = 8252; - public static final int MailChangeNotify = 1431; - public static final int MainCoopUpdateNotify = 1959; - public static final int MapAreaChangeNotify = 3103; - public static final int MarkEntityInMinMapNotify = 202; - public static final int MarkMapReq = 3208; - public static final int MarkMapRsp = 3421; - public static final int MarkNewNotify = 1227; - public static final int MarkTargetInvestigationMonsterNotify = 1928; - public static final int MassiveEntityElementOpBatchNotify = 377; - public static final int MassiveEntityStateChangedNotify = 303; - public static final int MaterialDeleteReturnNotify = 693; - public static final int MaterialDeleteUpdateNotify = 643; - public static final int McoinExchangeHcoinReq = 687; - public static final int McoinExchangeHcoinRsp = 689; - public static final int MechanicusCandidateTeamCreateReq = 3997; - public static final int MechanicusCandidateTeamCreateRsp = 3998; - public static final int MechanicusCloseNotify = 3917; - public static final int MechanicusCoinNotify = 3937; - public static final int MechanicusLevelupGearReq = 3949; - public static final int MechanicusLevelupGearRsp = 3982; - public static final int MechanicusOpenNotify = 3932; - public static final int MechanicusSequenceOpenNotify = 3941; - public static final int MechanicusUnlockGearReq = 3985; - public static final int MechanicusUnlockGearRsp = 3935; - public static final int MeetNpcReq = 585; - public static final int MeetNpcRsp = 535; - public static final int MetNpcIdListNotify = 517; - public static final int MiracleRingDataNotify = 5243; - public static final int MiracleRingDeliverItemReq = 5226; - public static final int MiracleRingDeliverItemRsp = 5247; - public static final int MiracleRingDestroyNotify = 5216; - public static final int MiracleRingDropResultNotify = 5203; - public static final int MiracleRingTakeRewardReq = 5204; - public static final int MiracleRingTakeRewardRsp = 5228; - public static final int MistTrialDunegonFailNotify = 8580; - public static final int MistTrialGetChallengeMissionReq = 8668; - public static final int MistTrialGetChallengeMissionRsp = 8385; - public static final int MistTrialSelectAvatarAndEnterDungeonReq = 8318; - public static final int MistTrialSelectAvatarAndEnterDungeonRsp = 8403; - public static final int MonsterAIConfigHashNotify = 3121; - public static final int MonsterAlertChangeNotify = 313; - public static final int MonsterForceAlertNotify = 342; - public static final int MonsterPointArrayRouteUpdateNotify = 3138; - public static final int MonsterSummonTagNotify = 1309; - public static final int MpBlockNotify = 1808; - public static final int MpPlayGuestReplyInviteReq = 1811; - public static final int MpPlayGuestReplyInviteRsp = 1841; - public static final int MpPlayGuestReplyNotify = 1805; - public static final int MpPlayInviteResultNotify = 1806; - public static final int MpPlayOwnerCheckReq = 1814; - public static final int MpPlayOwnerCheckRsp = 1812; - public static final int MpPlayOwnerInviteNotify = 1815; - public static final int MpPlayOwnerStartInviteReq = 1846; - public static final int MpPlayOwnerStartInviteRsp = 1827; - public static final int MpPlayPrepareInterruptNotify = 1848; - public static final int MpPlayPrepareNotify = 1839; - public static final int MultistagePlayEndNotify = 5375; - public static final int MultistagePlayFinishStageReq = 5331; - public static final int MultistagePlayFinishStageRsp = 5397; - public static final int MultistagePlayInfoNotify = 5309; - public static final int MultistagePlaySettleNotify = 5314; - public static final int MultistagePlayStageEndNotify = 5340; - public static final int MusicGameCreateBeatmapReq = 6326; - public static final int MusicGameCreateBeatmapRsp = 6347; - public static final int MusicGameGetBeatmapReq = 6318; - public static final int MusicGameGetBeatmapRsp = 6309; - public static final int MusicGameSearchBeatmapReq = 6343; - public static final int MusicGameSearchBeatmapRsp = 6304; - public static final int MusicGameSettleReq = 8745; - public static final int MusicGameSettleRsp = 8288; - public static final int MusicGameStartReq = 8927; - public static final int MusicGameStartRsp = 8101; - public static final int MusicCustomReq = 6318; - public static final int MusicCustomRsp = 6309; - public static final int MusicGameStoreSubmitReq = 6326; - public static final int MusicGameStoreSubmitRsp = 6347; - public static final int MusicGameStoreSubmitNotify = 6337; - public static final int MusicGameStartToPlayOthersBeatmapReq = 6302; - public static final int MusicGameStartToPlayOthersBeatmapRsp = 6313; - public static final int NavMeshStatsNotify = 2387; - public static final int NormalUidOpNotify = 5718; - public static final int NpcTalkReq = 509; - public static final int NpcTalkRsp = 531; - public static final int ObstacleModifyNotify = 2341; - public static final int OfferingInteractReq = 2908; - public static final int OfferingInteractRsp = 2923; - public static final int OneoffGatherPointDetectorDataNotify = 4262; - public static final int OpActivityDataNotify = 5141; - public static final int OpActivityStateNotify = 2509; - public static final int OpActivityUpdateNotify = 5137; - public static final int OpenBlossomCircleCampGuideNotify = 2785; - public static final int OpenStateChangeNotify = 112; - public static final int OpenStateUpdateNotify = 119; - public static final int OrderDisplayNotify = 4103; - public static final int OrderFinishNotify = 4143; - public static final int OtherPlayerEnterHomeNotify = 4609; - public static final int PathfindingEnterSceneReq = 2332; - public static final int PathfindingEnterSceneRsp = 2317; - public static final int PathfindingPingNotify = 2337; - public static final int PersonalLineAllDataReq = 446; - public static final int PersonalLineAllDataRsp = 433; - public static final int PersonalLineNewUnlockNotify = 470; - public static final int PersonalSceneJumpReq = 266; - public static final int PersonalSceneJumpRsp = 248; - public static final int PingReq = 32; - public static final int PingRsp = 17; - public static final int PlantFlowerAcceptAllGiveFlowerReq = 8017; - public static final int PlantFlowerAcceptAllGiveFlowerRsp = 8831; - public static final int PlantFlowerAcceptGiveFlowerReq = 8137; - public static final int PlantFlowerAcceptGiveFlowerRsp = 8431; - public static final int PlantFlowerEditFlowerCombinationReq = 8506; - public static final int PlantFlowerEditFlowerCombinationRsp = 8335; - public static final int PlantFlowerGetCanGiveFriendFlowerReq = 8648; - public static final int PlantFlowerGetCanGiveFriendFlowerRsp = 8507; - public static final int PlantFlowerGetFriendFlowerWishListReq = 8840; - public static final int PlantFlowerGetFriendFlowerWishListRsp = 8553; - public static final int PlantFlowerGetRecvFlowerListReq = 8914; - public static final int PlantFlowerGetRecvFlowerListRsp = 8929; - public static final int PlantFlowerGetSeedInfoReq = 8913; - public static final int PlantFlowerGetSeedInfoRsp = 8932; - public static final int PlantFlowerGiveFriendFlowerReq = 8836; - public static final int PlantFlowerGiveFriendFlowerRsp = 8893; - public static final int PlantFlowerHaveRecvFlowerNotify = 8174; - public static final int PlantFlowerSetFlowerWishReq = 8650; - public static final int PlantFlowerSetFlowerWishRsp = 8588; - public static final int PlantFlowerTakeSeedRewardReq = 8182; - public static final int PlantFlowerTakeSeedRewardRsp = 8386; - public static final int PlatformChangeRouteNotify = 205; - public static final int PlatformStartRouteNotify = 208; - public static final int PlatformStopRouteNotify = 204; - public static final int PlayerAllowEnterMpAfterAgreeMatchNotify = 4151; - public static final int PlayerApplyEnterHomeNotify = 4504; - public static final int PlayerApplyEnterHomeResultNotify = 4766; - public static final int PlayerApplyEnterHomeResultReq = 4568; - public static final int PlayerApplyEnterHomeResultRsp = 4697; - public static final int PlayerApplyEnterMpAfterMatchAgreedNotify = 4163; - public static final int PlayerApplyEnterMpNotify = 1818; - public static final int PlayerApplyEnterMpReq = 1809; - public static final int PlayerApplyEnterMpResultNotify = 1804; - public static final int PlayerApplyEnterMpResultReq = 1828; - public static final int PlayerApplyEnterMpResultRsp = 1803; - public static final int PlayerApplyEnterMpRsp = 1843; - public static final int PlayerCancelMatchReq = 4154; - public static final int PlayerCancelMatchRsp = 4178; - public static final int PlayerChatCDNotify = 3464; - public static final int PlayerChatNotify = 3295; - public static final int PlayerChatReq = 3378; - public static final int PlayerChatRsp = 3321; - public static final int PlayerCompoundMaterialReq = 122; - public static final int PlayerCompoundMaterialRsp = 154; - public static final int PlayerConfirmMatchReq = 4197; - public static final int PlayerConfirmMatchRsp = 4166; - public static final int PlayerCookArgsReq = 104; - public static final int PlayerCookArgsRsp = 105; - public static final int PlayerCookReq = 158; - public static final int PlayerCookRsp = 150; - public static final int PlayerDataNotify = 135; - public static final int PlayerEnterDungeonReq = 941; - public static final int PlayerEnterDungeonRsp = 937; - public static final int PlayerEnterSceneInfoNotify = 274; - public static final int PlayerEnterSceneNotify = 209; - public static final int PlayerEyePointStateNotify = 3376; - public static final int PlayerFishingDataNotify = 5815; - public static final int PlayerForceExitReq = 173; - public static final int PlayerForceExitRsp = 161; - public static final int PlayerGameTimeNotify = 155; - public static final int PlayerGeneralMatchConfirmNotify = 4182; - public static final int PlayerGeneralMatchDismissNotify = 4187; - public static final int PlayerGetForceQuitBanInfoReq = 4164; - public static final int PlayerGetForceQuitBanInfoRsp = 4162; - public static final int PlayerHomeCompInfoNotify = 4563; - public static final int PlayerInjectFixNotify = 188; - public static final int PlayerInvestigationAllInfoNotify = 1905; - public static final int PlayerInvestigationNotify = 1927; - public static final int PlayerInvestigationTargetNotify = 1906; - public static final int PlayerLevelRewardUpdateNotify = 143; - public static final int PlayerLoginReq = 141; - public static final int PlayerLoginRsp = 137; - public static final int PlayerLogoutNotify = 185; - public static final int PlayerLogoutReq = 132; - public static final int PlayerLogoutRsp = 117; - public static final int PlayerLuaShellNotify = 110; - public static final int PlayerMatchAgreedResultNotify = 4152; - public static final int PlayerMatchInfoNotify = 4193; - public static final int PlayerMatchStopNotify = 4153; - public static final int PlayerMatchSuccNotify = 4176; - public static final int PlayerOfferingDataNotify = 2901; - public static final int PlayerOfferingReq = 2906; - public static final int PlayerOfferingRsp = 2911; - public static final int PlayerPreEnterMpNotify = 1847; - public static final int PlayerPropChangeNotify = 186; - public static final int PlayerPropChangeReasonNotify = 1282; - public static final int PlayerPropNotify = 127; - public static final int PlayerQuitDungeonReq = 932; - public static final int PlayerQuitDungeonRsp = 917; - public static final int PlayerQuitFromHomeNotify = 4776; - public static final int PlayerQuitFromMpNotify = 1826; - public static final int PlayerRandomCookReq = 120; - public static final int PlayerRandomCookRsp = 113; - public static final int PlayerRechargeDataNotify = 4128; - public static final int PlayerReportReq = 4059; - public static final int PlayerReportRsp = 4084; - public static final int PlayerRoutineDataNotify = 3518; - public static final int PlayerSetLanguageReq = 170; - public static final int PlayerSetLanguageRsp = 129; - public static final int PlayerSetOnlyMPWithPSPlayerReq = 1802; - public static final int PlayerSetOnlyMPWithPSPlayerRsp = 1813; - public static final int PlayerSetPauseReq = 159; - public static final int PlayerSetPauseRsp = 184; - public static final int PlayerStartMatchReq = 4168; - public static final int PlayerStartMatchRsp = 4159; - public static final int PlayerStoreNotify = 609; - public static final int PlayerTimeNotify = 172; - public static final int PlayerWorldSceneInfoListNotify = 3172; - public static final int PostEnterSceneReq = 3097; - public static final int PostEnterSceneRsp = 3344; - public static final int PrivateChatNotify = 4991; - public static final int PrivateChatReq = 4959; - public static final int PrivateChatRsp = 4981; - public static final int PrivateChatSetSequenceReq = 4987; - public static final int PrivateChatSetSequenceRsp = 4982; - public static final int ProfilePictureChangeNotify = 4087; - public static final int ProjectorOptionReq = 813; - public static final int ProjectorOptionRsp = 842; - public static final int ProudSkillChangeNotify = 1055; - public static final int ProudSkillExtraLevelNotify = 1097; - public static final int ProudSkillUpgradeReq = 1049; - public static final int ProudSkillUpgradeRsp = 1082; - public static final int PSNBlackListNotify = 4078; - public static final int PSNFriendListNotify = 4089; - public static final int PSPlayerApplyEnterMpReq = 1837; - public static final int PSPlayerApplyEnterMpRsp = 1832; - public static final int PullPrivateChatReq = 4967; - public static final int PullPrivateChatRsp = 5035; - public static final int PullRecentChatReq = 4985; - public static final int PullRecentChatRsp = 4999; - public static final int PushTipsAllDataNotify = 2224; - public static final int PushTipsChangeNotify = 2238; - public static final int PushTipsReadFinishReq = 2206; - public static final int PushTipsReadFinishRsp = 2219; - public static final int QueryCodexMonsterBeKilledNumReq = 4207; - public static final int QueryCodexMonsterBeKilledNumRsp = 4205; - public static final int QueryPathReq = 2309; - public static final int QueryPathRsp = 2331; - public static final int QuestCreateEntityReq = 482; - public static final int QuestCreateEntityRsp = 455; - public static final int QuestDelNotify = 441; - public static final int QuestDestroyEntityReq = 427; - public static final int QuestDestroyEntityRsp = 407; - public static final int QuestDestroyNpcReq = 424; - public static final int QuestDestroyNpcRsp = 438; - public static final int QuestGlobalVarNotify = 411; - public static final int QuestListNotify = 409; - public static final int QuestListUpdateNotify = 431; - public static final int QuestProgressUpdateNotify = 445; - public static final int QuestTransmitReq = 422; - public static final int QuestTransmitRsp = 454; - public static final int QuestUpdateQuestTimeVarNotify = 484; - public static final int QuestUpdateQuestVarNotify = 463; - public static final int QuestUpdateQuestVarReq = 490; - public static final int QuestUpdateQuestVarRsp = 486; - public static final int QuickUseWidgetReq = 4251; - public static final int QuickUseWidgetRsp = 4252; - public static final int ReadMailNotify = 1441; - public static final int ReadPrivateChatReq = 5032; - public static final int ReadPrivateChatRsp = 5005; - public static final int ReceivedTrialAvatarActivityRewardReq = 2054; - public static final int ReceivedTrialAvatarActivityRewardRsp = 2199; - public static final int RechargeReq = 4118; - public static final int RechargeRsp = 4109; - public static final int RedeemLegendaryKeyReq = 436; - public static final int RedeemLegendaryKeyRsp = 428; - public static final int RefreshBackgroundAvatarReq = 1660; - public static final int RefreshBackgroundAvatarRsp = 1751; - public static final int RefreshRoguelikeDungeonCardReq = 8072; - public static final int RefreshRoguelikeDungeonCardRsp = 8644; - public static final int RegionSearchChangeRegionNotify = 5609; - public static final int RegionSearchNotify = 5618; - public static final int ReliquaryDecomposeReq = 615; - public static final int ReliquaryDecomposeRsp = 692; - public static final int ReliquaryPromoteReq = 612; - public static final int ReliquaryPromoteRsp = 658; - public static final int ReliquaryUpgradeReq = 606; - public static final int ReliquaryUpgradeRsp = 619; - public static final int RemoveBlacklistReq = 4013; - public static final int RemoveBlacklistRsp = 4042; - public static final int RemoveRandTaskInfoNotify = 193; - public static final int ReportFightAntiCheatNotify = 305; - public static final int ReportTrackingIOInfoNotify = 4126; - public static final int RequestLiveInfoReq = 858; - public static final int RequestLiveInfoRsp = 850; - public static final int ResinCardDataUpdateNotify = 4101; - public static final int ResinChangeNotify = 670; - public static final int RestartEffigyChallengeReq = 2023; - public static final int RestartEffigyChallengeRsp = 2133; - public static final int ReunionActivateNotify = 5065; - public static final int ReunionBriefInfoReq = 5068; - public static final int ReunionBriefInfoRsp = 5059; - public static final int ReunionDailyRefreshNotify = 5091; - public static final int ReunionPrivilegeChangeNotify = 5061; - public static final int ReunionSettleNotify = 5077; - public static final int RobotPushPlayerDataNotify = 30; - public static final int RogueCellUpdateNotify = 8022; - public static final int RogueDungeonPlayerCellChangeNotify = 8832; - public static final int RogueHealAvatarsReq = 8331; - public static final int RogueHealAvatarsRsp = 8937; - public static final int RoguelikeCardGachaNotify = 8618; - public static final int RoguelikeEffectDataNotify = 8606; - public static final int RoguelikeEffectViewReq = 8377; - public static final int RoguelikeEffectViewRsp = 8770; - public static final int RoguelikeGiveUpReq = 8988; - public static final int RoguelikeGiveUpRsp = 8009; - public static final int RoguelikeMistClearNotify = 8198; - public static final int RoguelikeRefreshCardCostUpdateNotify = 8912; - public static final int RoguelikeResourceBonusPropUpdateNotify = 8823; - public static final int RoguelikeRuneRecordUpdateNotify = 8497; - public static final int RoguelikeSelectAvatarAndEnterDungeonReq = 8975; - public static final int RoguelikeSelectAvatarAndEnterDungeonRsp = 8471; - public static final int RoguelikeTakeStageFirstPassRewardReq = 8205; - public static final int RoguelikeTakeStageFirstPassRewardRsp = 8409; - public static final int RogueResumeDungeonReq = 8417; - public static final int RogueResumeDungeonRsp = 8565; - public static final int RogueSwitchAvatarReq = 8930; - public static final int RogueSwitchAvatarRsp = 8556; - public static final int SalesmanDeliverItemReq = 2118; - public static final int SalesmanDeliverItemRsp = 2038; - public static final int SalesmanTakeRewardReq = 2007; - public static final int SalesmanTakeRewardRsp = 2100; - public static final int SalesmanTakeSpecialRewardReq = 2065; - public static final int SalesmanTakeSpecialRewardRsp = 2107; - public static final int SaveCoopDialogReq = 1991; - public static final int SaveCoopDialogRsp = 1955; - public static final int SaveMainCoopReq = 1993; - public static final int SaveMainCoopRsp = 1954; - public static final int SceneAreaUnlockNotify = 219; - public static final int SceneAreaWeatherNotify = 229; - public static final int SceneAudioNotify = 3430; - public static final int SceneAvatarStaminaStepReq = 282; - public static final int SceneAvatarStaminaStepRsp = 255; - public static final int SceneCreateEntityReq = 250; - public static final int SceneCreateEntityRsp = 220; - public static final int SceneDataNotify = 3117; - public static final int SceneDestroyEntityReq = 213; - public static final int SceneDestroyEntityRsp = 242; - public static final int SceneEntitiesMoveCombineNotify = 3298; - public static final int SceneEntitiesMovesReq = 240; - public static final int SceneEntitiesMovesRsp = 275; - public static final int SceneEntityAppearNotify = 217; - public static final int SceneEntityDisappearNotify = 285; - public static final int SceneEntityDrownReq = 212; - public static final int SceneEntityDrownRsp = 258; - public static final int SceneEntityMoveNotify = 227; - public static final int SceneEntityMoveReq = 235; - public static final int SceneEntityMoveRsp = 249; - public static final int SceneEntityUpdateNotify = 3089; - public static final int SceneForceLockNotify = 211; - public static final int SceneForceUnlockNotify = 201; - public static final int SceneGalleryInfoNotify = 5597; - public static final int SceneInitFinishReq = 237; - public static final int SceneInitFinishRsp = 232; - public static final int SceneKickPlayerNotify = 292; - public static final int SceneKickPlayerReq = 295; - public static final int SceneKickPlayerRsp = 215; - public static final int ScenePlayBattleInfoListNotify = 4447; - public static final int ScenePlayBattleInfoNotify = 4359; - public static final int ScenePlayBattleInterruptNotify = 4377; - public static final int ScenePlayBattleResultNotify = 4357; - public static final int ScenePlayBattleUidOpNotify = 4380; - public static final int ScenePlayerInfoNotify = 225; - public static final int ScenePlayerLocationNotify = 207; - public static final int ScenePlayerSoundNotify = 210; - public static final int ScenePlayGuestReplyInviteReq = 4435; - public static final int ScenePlayGuestReplyInviteRsp = 4385; - public static final int ScenePlayGuestReplyNotify = 4399; - public static final int ScenePlayInfoListNotify = 4405; - public static final int ScenePlayInviteResultNotify = 4432; - public static final int ScenePlayOutofRegionNotify = 4448; - public static final int ScenePlayOwnerCheckReq = 4381; - public static final int ScenePlayOwnerCheckRsp = 4391; - public static final int ScenePlayOwnerInviteNotify = 4367; - public static final int ScenePlayOwnerStartInviteReq = 4387; - public static final int ScenePlayOwnerStartInviteRsp = 4382; - public static final int ScenePointUnlockNotify = 290; - public static final int SceneRouteChangeNotify = 278; - public static final int SceneTeamUpdateNotify = 1699; - public static final int SceneTimeNotify = 262; - public static final int SceneTransToPointReq = 286; - public static final int SceneTransToPointRsp = 263; - public static final int SceneWeatherForcastReq = 3190; - public static final int SceneWeatherForcastRsp = 3063; - public static final int SeaLampCoinNotify = 2096; - public static final int SeaLampContributeItemReq = 2168; - public static final int SeaLampContributeItemRsp = 2159; - public static final int SeaLampFlyLampNotify = 2051; - public static final int SeaLampFlyLampReq = 2071; - public static final int SeaLampFlyLampRsp = 2019; - public static final int SeaLampPopularityNotify = 2112; - public static final int SeaLampTakeContributionRewardReq = 2069; - public static final int SeaLampTakeContributionRewardRsp = 2103; - public static final int SeaLampTakePhaseRewardReq = 2092; - public static final int SeaLampTakePhaseRewardRsp = 2160; - public static final int SealBattleBeginNotify = 273; - public static final int SealBattleEndNotify = 261; - public static final int SealBattleProgressNotify = 288; - public static final int SeeMonsterReq = 281; - public static final int SeeMonsterRsp = 264; - public static final int SelectAsterMidDifficultyReq = 2190; - public static final int SelectAsterMidDifficultyRsp = 2010; - public static final int SelectEffigyChallengeConditionReq = 2111; - public static final int SelectEffigyChallengeConditionRsp = 2068; - public static final int SelectRoguelikeDungeonCardReq = 8070; - public static final int SelectRoguelikeDungeonCardRsp = 8040; - public static final int SelectWorktopOptionReq = 832; - public static final int SelectWorktopOptionRsp = 817; - public static final int ServerAnnounceNotify = 2029; - public static final int ServerAnnounceRevokeNotify = 2141; - public static final int ServerBuffChangeNotify = 393; - public static final int ServerCondMeetQuestListUpdateNotify = 401; - public static final int ServerDisconnectClientNotify = 166; - public static final int ServerGlobalValueChangeNotify = 1130; - public static final int ServerLogNotify = 55; - public static final int ServerMessageNotify = 5709; - public static final int ServerTimeNotify = 82; - public static final int ServerUpdateGlobalValueNotify = 1107; - public static final int SetBattlePassViewedReq = 2637; - public static final int SetBattlePassViewedRsp = 2632; - public static final int SetChatEmojiCollectionReq = 4066; - public static final int SetChatEmojiCollectionRsp = 4048; - public static final int SetCoopChapterViewedReq = 1956; - public static final int SetCoopChapterViewedRsp = 1998; - public static final int SetCurExpeditionChallengeIdReq = 2130; - public static final int SetCurExpeditionChallengeIdRsp = 2093; - public static final int SetEntityClientDataNotify = 3375; - public static final int SetEquipLockStateReq = 604; - public static final int SetEquipLockStateRsp = 605; - public static final int SetFriendEnterHomeOptionReq = 4761; - public static final int SetFriendEnterHomeOptionRsp = 4590; - public static final int SetFriendRemarkNameReq = 4070; - public static final int SetFriendRemarkNameRsp = 4029; - public static final int SetH5ActivityRedDotTimestampReq = 5654; - public static final int SetH5ActivityRedDotTimestampRsp = 5678; - public static final int SetIsAutoUnlockSpecificEquipReq = 639; - public static final int SetIsAutoUnlockSpecificEquipRsp = 695; - public static final int SetLimitOptimizationNotify = 8194; - public static final int SetNameCardReq = 4006; - public static final int SetNameCardRsp = 4019; - public static final int SetOpenStateReq = 138; - public static final int SetOpenStateRsp = 106; - public static final int SetPlayerBirthdayReq = 4007; - public static final int SetPlayerBirthdayRsp = 4030; - public static final int SetPlayerBornDataReq = 198; - public static final int SetPlayerBornDataRsp = 145; - public static final int SetPlayerHeadImageReq = 4045; - public static final int SetPlayerHeadImageRsp = 4090; - public static final int SetPlayerNameReq = 163; - public static final int SetPlayerNameRsp = 124; - public static final int SetPlayerPropReq = 130; - public static final int SetPlayerPropRsp = 197; - public static final int SetPlayerSignatureReq = 4097; - public static final int SetPlayerSignatureRsp = 4098; - public static final int SetSceneWeatherAreaReq = 256; - public static final int SetSceneWeatherAreaRsp = 265; - public static final int SetUpAvatarTeamReq = 1753; - public static final int SetUpAvatarTeamRsp = 1664; - public static final int SetUpLunchBoxWidgetReq = 4297; - public static final int SetUpLunchBoxWidgetRsp = 4266; - public static final int SetWidgetSlotReq = 4269; - public static final int SetWidgetSlotRsp = 4260; - public static final int ShowClientGuideNotify = 3241; - public static final int ShowClientTutorialNotify = 3079; - public static final int ShowCommonTipsNotify = 3357; - public static final int ShowMessageNotify = 37; - public static final int ShowTemplateReminderNotify = 3011; - public static final int SignInInfoReq = 2541; - public static final int SignInInfoRsp = 2537; - public static final int SocialDataNotify = 4054; - public static final int SpringUseReq = 1623; - public static final int SpringUseRsp = 1733; - public static final int StartArenaChallengeLevelReq = 2154; - public static final int StartArenaChallengeLevelRsp = 2191; - public static final int StartBuoyantCombatGalleryReq = 9000; - public static final int StartBuoyantCombatGalleryRsp = 8364; - public static final int StartCoopPointReq = 1982; - public static final int StartCoopPointRsp = 1964; - public static final int StartEffigyChallengeReq = 2157; - public static final int StartEffigyChallengeRsp = 2008; - public static final int StartFishingReq = 5843; - public static final int StartFishingRsp = 5804; - public static final int StartRogueEliteCellChallengeReq = 8722; - public static final int StartRogueEliteCellChallengeRsp = 8876; - public static final int StartRogueNormalCellChallengeReq = 8456; - public static final int StartRogueNormalCellChallengeRsp = 8156; - public static final int StoreItemChangeNotify = 641; - public static final int StoreItemDelNotify = 637; - public static final int StoreWeightLimitNotify = 631; - public static final int SummerTimeFloatSignalPositionNotify = 8622; - public static final int SummerTimeFloatSignalUpdateNotify = 8333; - public static final int SummerTimeSprintBoatRestartReq = 8175; - public static final int SummerTimeSprintBoatRestartRsp = 8563; - public static final int SummerTimeSprintBoatSettleNotify = 8117; - public static final int SumoDungeonSettleNotify = 8426; - public static final int SumoEnterDungeonNotify = 8727; - public static final int SumoLeaveDungeonNotify = 8440; - public static final int SumoRestartDungeonReq = 8585; - public static final int SumoRestartDungeonRsp = 8628; - public static final int SumoSaveTeamReq = 8970; - public static final int SumoSaveTeamRsp = 8890; - public static final int SumoSelectTeamAndEnterDungeonReq = 8030; - public static final int SumoSelectTeamAndEnterDungeonRsp = 8915; - public static final int SumoSetNoSwitchPunishTimeNotify = 8269; - public static final int SumoSwitchTeamReq = 8400; - public static final int SumoSwitchTeamRsp = 8442; - public static final int SyncScenePlayTeamEntityNotify = 3096; - public static final int SyncTeamEntityNotify = 334; - public static final int TakeAchievementGoalRewardReq = 2678; - public static final int TakeAchievementGoalRewardRsp = 2653; - public static final int TakeAchievementRewardReq = 2693; - public static final int TakeAchievementRewardRsp = 2654; - public static final int TakeAsterSpecialRewardReq = 2174; - public static final int TakeAsterSpecialRewardRsp = 2035; - public static final int TakeBattlePassMissionPointReq = 2626; - public static final int TakeBattlePassMissionPointRsp = 2647; - public static final int TakeBattlePassRewardReq = 2628; - public static final int TakeBattlePassRewardRsp = 2603; - public static final int TakeCityReputationExploreRewardReq = 2830; - public static final int TakeCityReputationExploreRewardRsp = 2897; - public static final int TakeCityReputationLevelRewardReq = 2841; - public static final int TakeCityReputationLevelRewardRsp = 2837; - public static final int TakeCityReputationParentQuestReq = 2817; - public static final int TakeCityReputationParentQuestRsp = 2885; - public static final int TakeCompoundOutputReq = 146; - public static final int TakeCompoundOutputRsp = 133; - public static final int TakeCoopRewardReq = 1977; - public static final int TakeCoopRewardRsp = 1965; - public static final int TakeDeliveryDailyRewardReq = 2037; - public static final int TakeDeliveryDailyRewardRsp = 2083; - public static final int TakeEffigyFirstPassRewardReq = 2200; - public static final int TakeEffigyFirstPassRewardRsp = 2073; - public static final int TakeEffigyRewardReq = 2062; - public static final int TakeEffigyRewardRsp = 2110; - public static final int TakeFirstShareRewardReq = 4046; - public static final int TakeFirstShareRewardRsp = 4033; - public static final int TakeFurnitureMakeReq = 4768; - public static final int TakeFurnitureMakeRsp = 4599; - public static final int TakeHuntingOfferReq = 4318; - public static final int TakeHuntingOfferRsp = 4309; - public static final int TakeInvestigationRewardReq = 1925; - public static final int TakeInvestigationRewardRsp = 1903; - public static final int TakeInvestigationTargetRewardReq = 1901; - public static final int TakeInvestigationTargetRewardRsp = 1908; - public static final int TakeMaterialDeleteReturnReq = 660; - public static final int TakeMaterialDeleteReturnRsp = 677; - public static final int TakeoffEquipReq = 698; - public static final int TakeoffEquipRsp = 645; - public static final int TakeOfferingLevelRewardReq = 2903; - public static final int TakeOfferingLevelRewardRsp = 2902; - public static final int TakePlayerLevelRewardReq = 160; - public static final int TakePlayerLevelRewardRsp = 177; - public static final int TakeRegionSearchRewardReq = 5643; - public static final int TakeRegionSearchRewardRsp = 5604; - public static final int TakeResinCardDailyRewardReq = 4147; - public static final int TakeResinCardDailyRewardRsp = 4116; - public static final int TakeReunionFirstGiftRewardReq = 5093; - public static final int TakeReunionFirstGiftRewardRsp = 5054; - public static final int TakeReunionMissionRewardReq = 5082; - public static final int TakeReunionMissionRewardRsp = 5064; - public static final int TakeReunionSignInRewardReq = 5076; - public static final int TakeReunionSignInRewardRsp = 5097; - public static final int TakeReunionWatcherRewardReq = 5052; - public static final int TakeReunionWatcherRewardRsp = 5063; - public static final int TaskVarNotify = 191; - public static final int TeamResonanceChangeNotify = 1045; - public static final int TowerAllDataReq = 2435; - public static final int TowerAllDataRsp = 2449; - public static final int TowerBriefDataNotify = 2409; - public static final int TowerBuffSelectReq = 2407; - public static final int TowerBuffSelectRsp = 2430; - public static final int TowerCurLevelRecordChangeNotify = 2441; - public static final int TowerDailyRewardProgressChangeNotify = 2437; - public static final int TowerEnterLevelReq = 2455; - public static final int TowerEnterLevelRsp = 2427; - public static final int TowerFloorRecordChangeNotify = 2431; - public static final int TowerGetFloorStarRewardReq = 2406; - public static final int TowerGetFloorStarRewardRsp = 2419; - public static final int TowerLevelEndNotify = 2442; - public static final int TowerLevelStarCondNotify = 2401; - public static final int TowerMiddleLevelChangeTeamNotify = 2411; - public static final int TowerRecordHandbookReq = 2422; - public static final int TowerRecordHandbookRsp = 2454; - public static final int TowerSurrenderReq = 2424; - public static final int TowerSurrenderRsp = 2438; - public static final int TowerTeamSelectReq = 2417; - public static final int TowerTeamSelectRsp = 2485; - public static final int TreasureMapBonusChallengeNotify = 2075; - public static final int TreasureMapCurrencyNotify = 2098; - public static final int TreasureMapDetectorDataNotify = 4291; - public static final int TreasureMapGuideTaskDoneNotify = 2088; - public static final int TreasureMapHostInfoNotify = 8206; - public static final int TreasureMapMpChallengeNotify = 2036; - public static final int TreasureMapPreTaskDoneNotify = 2055; - public static final int TreasureMapRegionActiveNotify = 2059; - public static final int TreasureMapRegionInfoNotify = 2106; - public static final int TrialAvatarFirstPassDungeonNotify = 2137; - public static final int TrialAvatarInDungeonIndexNotify = 2024; - public static final int TriggerCreateGadgetToEquipPartNotify = 322; - public static final int TriggerRoguelikeCurseNotify = 8235; - public static final int TriggerRoguelikeRuneReq = 8138; - public static final int TriggerRoguelikeRuneRsp = 8781; - public static final int TryEnterHomeReq = 4553; - public static final int TryEnterHomeRsp = 4610; - public static final int UnfreezeGroupLimitNotify = 3253; - public static final int UnionCmdNotify = 98; - public static final int UnlockAvatarTalentReq = 1009; - public static final int UnlockAvatarTalentRsp = 1031; - public static final int UnlockCoopChapterReq = 1952; - public static final int UnlockCoopChapterRsp = 1963; - public static final int UnlockedFurnitureFormulaDataNotify = 4680; - public static final int UnlockedFurnitureSuiteDataNotify = 4717; - public static final int UnlockNameCardNotify = 4001; - public static final int UnlockPersonalLineReq = 476; - public static final int UnlockPersonalLineRsp = 472; - public static final int UnlockTransPointReq = 3228; - public static final int UnlockTransPointRsp = 3101; - public static final int UnmarkEntityInMinMapNotify = 216; - public static final int UpdateAbilityCreatedMovingPlatformNotify = 897; - public static final int UpdatePlayerShowAvatarListReq = 4025; - public static final int UpdatePlayerShowAvatarListRsp = 4083; - public static final int UpdatePlayerShowNameCardListReq = 4002; - public static final int UpdatePlayerShowNameCardListRsp = 4016; - public static final int UpdatePS4BlockListReq = 4036; - public static final int UpdatePS4BlockListRsp = 4028; - public static final int UpdatePS4FriendListNotify = 4086; - public static final int UpdatePS4FriendListReq = 4073; - public static final int UpdatePS4FriendListRsp = 4061; - public static final int UpdateRedPointNotify = 19; - public static final int UpdateReunionWatcherNotify = 5087; - public static final int UpgradeRoguelikeShikigamiReq = 8422; - public static final int UpgradeRoguelikeShikigamiRsp = 8671; - public static final int UseItemReq = 635; - public static final int UseItemRsp = 649; - public static final int UseMiracleRingReq = 5218; - public static final int UseMiracleRingRsp = 5209; - public static final int UseWidgetCreateGadgetReq = 4283; - public static final int UseWidgetCreateGadgetRsp = 4279; - public static final int UseWidgetRetractGadgetReq = 4290; - public static final int UseWidgetRetractGadgetRsp = 4271; - public static final int VehicleInteractReq = 838; - public static final int VehicleInteractRsp = 806; - public static final int VehicleStaminaNotify = 811; - public static final int ViewCodexReq = 4203; - public static final int ViewCodexRsp = 4202; - public static final int WatcherAllDataNotify = 2209; - public static final int WatcherChangeNotify = 2231; - public static final int WatcherEventNotify = 2241; - public static final int WatcherEventTypeNotify = 2237; - public static final int WaterSpritePhaseFinishNotify = 2028; - public static final int WeaponAwakenReq = 642; - public static final int WeaponAwakenRsp = 601; - public static final int WeaponPromoteReq = 624; - public static final int WeaponPromoteRsp = 638; - public static final int WeaponUpgradeReq = 686; - public static final int WeaponUpgradeRsp = 663; - public static final int WearEquipReq = 630; - public static final int WearEquipRsp = 697; - public static final int WidgetActiveChangeNotify = 4295; - public static final int WidgetCoolDownNotify = 4263; - public static final int WidgetDoBagReq = 4284; - public static final int WidgetDoBagRsp = 4286; - public static final int WidgetGadgetAllDataNotify = 4285; - public static final int WidgetGadgetDataNotify = 4292; - public static final int WidgetGadgetDestroyNotify = 4275; - public static final int WidgetReportReq = 4287; - public static final int WidgetReportRsp = 4282; - public static final int WidgetSlotChangeNotify = 4274; - public static final int WidgetUseAttachAbilityGroupChangeNotify = 4299; - public static final int WindSeedClientNotify = 1182; - public static final int WorktopOptionNotify = 837; - public static final int WorldAllRoutineTypeNotify = 3509; - public static final int WorldDataNotify = 3131; - public static final int WorldOwnerBlossomBriefInfoNotify = 2737; - public static final int WorldOwnerBlossomScheduleInfoNotify = 2732; - public static final int WorldOwnerDailyTaskNotify = 102; - public static final int WorldPlayerDieNotify = 296; - public static final int WorldPlayerInfoNotify = 3304; - public static final int WorldPlayerLocationNotify = 283; - public static final int WorldPlayerReviveReq = 247; - public static final int WorldPlayerReviveRsp = 280; - public static final int WorldPlayerRTTNotify = 24; - public static final int WorldRoutineChangeNotify = 3504; - public static final int WorldRoutineTypeCloseNotify = 3528; - public static final int WorldRoutineTypeRefreshNotify = 3543; + // Opcodes + public static final int AbilityChangeNotify = 1131; + public static final int AbilityInvocationFailNotify = 1107; + public static final int AbilityInvocationFixedNotify = 1172; + public static final int AbilityInvocationsNotify = 1198; + public static final int AcceptCityReputationRequestReq = 2890; + public static final int AcceptCityReputationRequestRsp = 2873; + public static final int AchievementAllDataNotify = 2676; + public static final int AchievementUpdateNotify = 2668; + public static final int ActivityCoinInfoNotify = 2008; + public static final int ActivityCondStateChangeNotify = 2140; + public static final int ActivityDisableTransferPointInteractionNotify = 8982; + public static final int ActivityInfoNotify = 2060; + public static final int ActivityPlayOpenAnimNotify = 2157; + public static final int ActivitySaleChangeNotify = 2071; + public static final int ActivityScheduleInfoNotify = 2073; + public static final int ActivitySelectAvatarCardReq = 2028; + public static final int ActivitySelectAvatarCardRsp = 2189; + public static final int ActivityTakeAllScoreRewardReq = 8372; + public static final int ActivityTakeAllScoreRewardRsp = 8043; + public static final int ActivityTakeScoreRewardReq = 8971; + public static final int ActivityTakeScoreRewardRsp = 8583; + public static final int ActivityTakeWatcherRewardBatchReq = 2159; + public static final int ActivityTakeWatcherRewardBatchRsp = 2109; + public static final int ActivityTakeWatcherRewardReq = 2038; + public static final int ActivityTakeWatcherRewardRsp = 2034; + public static final int ActivityUpdateWatcherNotify = 2156; + public static final int AddBlacklistReq = 4088; + public static final int AddBlacklistRsp = 4026; + public static final int AddFriendNotify = 4022; + public static final int AddNoGachaAvatarCardNotify = 1655; + public static final int AddQuestContentProgressReq = 421; + public static final int AddQuestContentProgressRsp = 403; + public static final int AddRandTaskInfoNotify = 119; + public static final int AddSeenMonsterNotify = 223; + public static final int AdjustWorldLevelReq = 164; + public static final int AdjustWorldLevelRsp = 138; + public static final int AllCoopInfoNotify = 1976; + public static final int AllMarkPointNotify = 3283; + public static final int AllSeenMonsterNotify = 271; + public static final int AllWidgetDataNotify = 4271; + public static final int AnchorPointDataNotify = 4276; + public static final int AnchorPointOpReq = 4257; + public static final int AnchorPointOpRsp = 4252; + public static final int AnimatorForceSetAirMoveNotify = 374; + public static final int AntiAddictNotify = 180; + public static final int ArenaChallengeFinishNotify = 2030; + public static final int AskAddFriendNotify = 4065; + public static final int AskAddFriendReq = 4007; + public static final int AskAddFriendRsp = 4021; + public static final int AsterLargeInfoNotify = 2146; + public static final int AsterLittleInfoNotify = 2068; + public static final int AsterMidCampInfoNotify = 2133; + public static final int AsterMidInfoNotify = 2031; + public static final int AsterMiscInfoNotify = 2036; + public static final int AsterProgressInfoNotify = 2016; + public static final int AvatarAddNotify = 1769; + public static final int AvatarBuffAddNotify = 388; + public static final int AvatarBuffDelNotify = 326; + public static final int AvatarCardChangeReq = 688; + public static final int AvatarCardChangeRsp = 626; + public static final int AvatarChangeAnimHashReq = 1711; + public static final int AvatarChangeAnimHashRsp = 1647; + public static final int AvatarChangeCostumeNotify = 1644; + public static final int AvatarChangeCostumeReq = 1778; + public static final int AvatarChangeCostumeRsp = 1645; + public static final int AvatarChangeElementTypeReq = 1785; + public static final int AvatarChangeElementTypeRsp = 1651; + public static final int AvatarDataNotify = 1633; + public static final int AvatarDelNotify = 1773; + public static final int AvatarDieAnimationEndReq = 1610; + public static final int AvatarDieAnimationEndRsp = 1694; + public static final int AvatarEnterElementViewNotify = 334; + public static final int AvatarEquipAffixStartNotify = 1662; + public static final int AvatarEquipChangeNotify = 647; + public static final int AvatarExpeditionAllDataReq = 1722; + public static final int AvatarExpeditionAllDataRsp = 1648; + public static final int AvatarExpeditionCallBackReq = 1752; + public static final int AvatarExpeditionCallBackRsp = 1726; + public static final int AvatarExpeditionDataNotify = 1771; + public static final int AvatarExpeditionGetRewardReq = 1623; + public static final int AvatarExpeditionGetRewardRsp = 1784; + public static final int AvatarExpeditionStartReq = 1715; + public static final int AvatarExpeditionStartRsp = 1719; + public static final int AvatarFetterDataNotify = 1782; + public static final int AvatarFetterLevelRewardReq = 1653; + public static final int AvatarFetterLevelRewardRsp = 1606; + public static final int AvatarFightPropNotify = 1207; + public static final int AvatarFightPropUpdateNotify = 1221; + public static final int AvatarFlycloakChangeNotify = 1643; + public static final int AvatarFollowRouteNotify = 3458; + public static final int AvatarGainCostumeNotify = 1677; + public static final int AvatarGainFlycloakNotify = 1656; + public static final int AvatarLifeStateChangeNotify = 1290; + public static final int AvatarPromoteGetRewardReq = 1696; + public static final int AvatarPromoteGetRewardRsp = 1683; + public static final int AvatarPromoteReq = 1664; + public static final int AvatarPromoteRsp = 1639; + public static final int AvatarPropChangeReasonNotify = 1273; + public static final int AvatarPropNotify = 1231; + public static final int AvatarSatiationDataNotify = 1693; + public static final int AvatarSkillChangeNotify = 1097; + public static final int AvatarSkillDepotChangeNotify = 1035; + public static final int AvatarSkillInfoNotify = 1090; + public static final int AvatarSkillMaxChargeCountNotify = 1003; + public static final int AvatarSkillUpgradeReq = 1075; + public static final int AvatarSkillUpgradeRsp = 1048; + public static final int AvatarTeamUpdateNotify = 1706; + public static final int AvatarUnlockTalentNotify = 1012; + public static final int AvatarUpgradeReq = 1770; + public static final int AvatarUpgradeRsp = 1701; + public static final int AvatarWearFlycloakReq = 1737; + public static final int AvatarWearFlycloakRsp = 1698; + public static final int BackMyWorldReq = 286; + public static final int BackMyWorldRsp = 201; + public static final int BargainOfferPriceReq = 493; + public static final int BargainOfferPriceRsp = 427; + public static final int BargainStartNotify = 404; + public static final int BargainTerminateNotify = 494; + public static final int BattlePassAllDataNotify = 2626; + public static final int BattlePassBuySuccNotify = 2614; + public static final int BattlePassCurScheduleUpdateNotify = 2607; + public static final int BattlePassMissionDelNotify = 2625; + public static final int BattlePassMissionUpdateNotify = 2618; + public static final int BeginCameraSceneLookNotify = 270; + public static final int BigTalentPointConvertReq = 1007; + public static final int BigTalentPointConvertRsp = 1021; + public static final int BlessingAcceptAllGivePicReq = 2045; + public static final int BlessingAcceptAllGivePicRsp = 2044; + public static final int BlessingAcceptGivePicReq = 2006; + public static final int BlessingAcceptGivePicRsp = 2055; + public static final int BlessingGetAllRecvPicRecordListReq = 2096; + public static final int BlessingGetAllRecvPicRecordListRsp = 2083; + public static final int BlessingGetFriendPicListReq = 2043; + public static final int BlessingGetFriendPicListRsp = 2056; + public static final int BlessingGiveFriendPicReq = 2062; + public static final int BlessingGiveFriendPicRsp = 2053; + public static final int BlessingRecvFriendPicNotify = 2178; + public static final int BlessingRedeemRewardReq = 2137; + public static final int BlessingRedeemRewardRsp = 2098; + public static final int BlessingScanReq = 2081; + public static final int BlessingScanRsp = 2093; + public static final int BlitzRushParkourRestartReq = 8653; + public static final int BlitzRushParkourRestartRsp = 8944; + public static final int BlossomBriefInfoNotify = 2712; + public static final int BlossomChestCreateNotify = 2721; + public static final int BlossomChestInfoNotify = 890; + public static final int BonusActivityInfoReq = 2548; + public static final int BonusActivityInfoRsp = 2597; + public static final int BonusActivityUpdateNotify = 2575; + public static final int BossChestActivateNotify = 803; + public static final int BounceConjuringSettleNotify = 8084; + public static final int BuoyantCombatSettleNotify = 8305; + public static final int BuyBattlePassLevelReq = 2647; + public static final int BuyBattlePassLevelRsp = 2637; + public static final int BuyGoodsReq = 712; + public static final int BuyGoodsRsp = 735; + public static final int BuyResinReq = 602; + public static final int BuyResinRsp = 619; + public static final int CalcWeaponUpgradeReturnItemsReq = 633; + public static final int CalcWeaponUpgradeReturnItemsRsp = 684; + public static final int CanUseSkillNotify = 1005; + public static final int CancelCityReputationRequestReq = 2899; + public static final int CancelCityReputationRequestRsp = 2831; + public static final int CancelCoopTaskReq = 1997; + public static final int CancelCoopTaskRsp = 1987; + public static final int CancelFinishParentQuestNotify = 424; + public static final int CardProductRewardNotify = 4107; + public static final int ChallengeDataNotify = 953; + public static final int ChallengeRecordNotify = 993; + public static final int ChangeAvatarReq = 1640; + public static final int ChangeAvatarRsp = 1607; + public static final int ChangeGameTimeReq = 173; + public static final int ChangeGameTimeRsp = 199; + public static final int ChangeMailStarNotify = 1448; + public static final int ChangeMpTeamAvatarReq = 1708; + public static final int ChangeMpTeamAvatarRsp = 1753; + public static final int ChangeServerGlobalValueNotify = 27; + public static final int ChangeTeamNameReq = 1603; + public static final int ChangeTeamNameRsp = 1666; + public static final int ChangeWorldToSingleModeNotify = 3006; + public static final int ChangeWorldToSingleModeReq = 3066; + public static final int ChangeWorldToSingleModeRsp = 3282; + public static final int ChannelerSlabCheckEnterLoopDungeonReq = 8745; + public static final int ChannelerSlabCheckEnterLoopDungeonRsp = 8452; + public static final int ChannelerSlabEnterLoopDungeonReq = 8869; + public static final int ChannelerSlabEnterLoopDungeonRsp = 8081; + public static final int ChannelerSlabLoopDungeonChallengeInfoNotify = 8224; + public static final int ChannelerSlabLoopDungeonSelectConditionReq = 8503; + public static final int ChannelerSlabLoopDungeonSelectConditionRsp = 8509; + public static final int ChannelerSlabLoopDungeonTakeFirstPassRewardReq = 8589; + public static final int ChannelerSlabLoopDungeonTakeFirstPassRewardRsp = 8539; + public static final int ChannelerSlabLoopDungeonTakeScoreRewardReq = 8684; + public static final int ChannelerSlabLoopDungeonTakeScoreRewardRsp = 8433; + public static final int ChannelerSlabOneOffDungeonInfoNotify = 8729; + public static final int ChannelerSlabOneOffDungeonInfoReq = 8409; + public static final int ChannelerSlabOneOffDungeonInfoRsp = 8268; + public static final int ChannelerSlabSaveAssistInfoReq = 8416; + public static final int ChannelerSlabSaveAssistInfoRsp = 8932; + public static final int ChannelerSlabStageActiveChallengeIndexNotify = 8734; + public static final int ChannelerSlabStageOneofDungeonNotify = 8203; + public static final int ChannelerSlabTakeoffBuffReq = 8516; + public static final int ChannelerSlabTakeoffBuffRsp = 8237; + public static final int ChannelerSlabWearBuffReq = 8107; + public static final int ChannelerSlabWearBuffRsp = 8600; + public static final int ChapterStateNotify = 405; + public static final int ChatChannelDataNotify = 4998; + public static final int ChatChannelUpdateNotify = 5025; + public static final int ChatHistoryNotify = 3496; + public static final int CheckAddItemExceedLimitNotify = 692; + public static final int CheckSegmentCRCNotify = 39; + public static final int CheckSegmentCRCReq = 53; + public static final int ChessEscapedMonstersNotify = 5314; + public static final int ChessLeftMonstersNotify = 5360; + public static final int ChessManualRefreshCardsReq = 5389; + public static final int ChessManualRefreshCardsRsp = 5359; + public static final int ChessPickCardNotify = 5380; + public static final int ChessPickCardReq = 5333; + public static final int ChessPickCardRsp = 5384; + public static final int ChessPlayerInfoNotify = 5332; + public static final int ChessSelectedCardsNotify = 5392; + public static final int ChooseCurAvatarTeamReq = 1796; + public static final int ChooseCurAvatarTeamRsp = 1661; + public static final int CityReputationDataNotify = 2805; + public static final int CityReputationLevelupNotify = 2807; + public static final int ClearRoguelikeCurseNotify = 8207; + public static final int ClientAIStateNotify = 1181; + public static final int ClientAbilitiesInitFinishCombineNotify = 1103; + public static final int ClientAbilityChangeNotify = 1175; + public static final int ClientAbilityInitBeginNotify = 1112; + public static final int ClientAbilityInitFinishNotify = 1135; + public static final int ClientBulletCreateNotify = 4; + public static final int ClientCollectorDataNotify = 4264; + public static final int ClientHashDebugNotify = 3086; + public static final int ClientLoadingCostumeVerificationNotify = 3487; + public static final int ClientLockGameTimeNotify = 114; + public static final int ClientNewMailNotify = 1499; + public static final int ClientPauseNotify = 260; + public static final int ClientReconnectNotify = 75; + public static final int ClientReportNotify = 81; + public static final int ClientScriptEventNotify = 213; + public static final int ClientTransmitReq = 291; + public static final int ClientTransmitRsp = 224; + public static final int ClientTriggerEventNotify = 148; + public static final int CloseCommonTipsNotify = 3194; + public static final int ClosedItemNotify = 614; + public static final int CodexDataFullNotify = 4205; + public static final int CodexDataUpdateNotify = 4207; + public static final int CombatInvocationsNotify = 319; + public static final int CombineDataNotify = 659; + public static final int CombineFormulaDataNotify = 632; + public static final int CombineReq = 643; + public static final int CombineRsp = 674; + public static final int CommonPlayerTipsNotify = 8466; + public static final int CompoundDataNotify = 146; + public static final int CompoundUnlockNotify = 128; + public static final int CookDataNotify = 195; + public static final int CookGradeDataNotify = 134; + public static final int CookRecipeDataNotify = 106; + public static final int CoopCgShowNotify = 1983; + public static final int CoopCgUpdateNotify = 1994; + public static final int CoopChapterUpdateNotify = 1972; + public static final int CoopDataNotify = 1979; + public static final int CoopPointUpdateNotify = 1991; + public static final int CoopProgressUpdateNotify = 1998; + public static final int CoopRewardUpdateNotify = 1999; + public static final int CreateMassiveEntityNotify = 367; + public static final int CreateMassiveEntityReq = 342; + public static final int CreateMassiveEntityRsp = 330; + public static final int CreateVehicleReq = 893; + public static final int CreateVehicleRsp = 827; + public static final int CutSceneBeginNotify = 296; + public static final int CutSceneEndNotify = 215; + public static final int CutSceneFinishNotify = 262; + public static final int DailyTaskDataNotify = 158; + public static final int DailyTaskFilterCityReq = 111; + public static final int DailyTaskFilterCityRsp = 144; + public static final int DailyTaskProgressNotify = 170; + public static final int DailyTaskScoreRewardNotify = 117; + public static final int DailyTaskUnlockedCitiesNotify = 186; + public static final int DataResVersionNotify = 167; + public static final int DealAddFriendReq = 4003; + public static final int DealAddFriendRsp = 4090; + public static final int DebugNotify = 101; + public static final int DelMailReq = 1421; + public static final int DelMailRsp = 1403; + public static final int DelScenePlayTeamEntityNotify = 3318; + public static final int DelTeamEntityNotify = 302; + public static final int DeleteFriendNotify = 4053; + public static final int DeleteFriendReq = 4031; + public static final int DeleteFriendRsp = 4075; + public static final int DestroyMassiveEntityNotify = 358; + public static final int DestroyMaterialReq = 640; + public static final int DestroyMaterialRsp = 618; + public static final int DigActivityChangeGadgetStateReq = 8464; + public static final int DigActivityChangeGadgetStateRsp = 8430; + public static final int DigActivityMarkPointChangeNotify = 8109; + public static final int DisableRoguelikeTrapNotify = 8259; + public static final int DoGachaReq = 1512; + public static final int DoGachaRsp = 1535; + public static final int DoRoguelikeDungeonCardGachaReq = 8148; + public static final int DoRoguelikeDungeonCardGachaRsp = 8472; + public static final int DoSetPlayerBornDataNotify = 147; + public static final int DraftGuestReplyInviteNotify = 5490; + public static final int DraftGuestReplyInviteReq = 5421; + public static final int DraftGuestReplyInviteRsp = 5403; + public static final int DraftGuestReplyTwiceConfirmNotify = 5497; + public static final int DraftGuestReplyTwiceConfirmReq = 5431; + public static final int DraftGuestReplyTwiceConfirmRsp = 5475; + public static final int DraftInviteResultNotify = 5473; + public static final int DraftOwnerInviteNotify = 5407; + public static final int DraftOwnerStartInviteReq = 5412; + public static final int DraftOwnerStartInviteRsp = 5435; + public static final int DraftOwnerTwiceConfirmNotify = 5499; + public static final int DraftTwiceConfirmResultNotify = 5448; + public static final int DragonSpineChapterFinishNotify = 2069; + public static final int DragonSpineChapterOpenNotify = 2022; + public static final int DragonSpineChapterProgressChangeNotify = 2065; + public static final int DragonSpineCoinChangeNotify = 2088; + public static final int DropHintNotify = 650; + public static final int DropItemReq = 699; + public static final int DropItemRsp = 631; + public static final int DungeonCandidateTeamChangeAvatarReq = 956; + public static final int DungeonCandidateTeamChangeAvatarRsp = 942; + public static final int DungeonCandidateTeamCreateReq = 995; + public static final int DungeonCandidateTeamCreateRsp = 906; + public static final int DungeonCandidateTeamDismissNotify = 963; + public static final int DungeonCandidateTeamInfoNotify = 927; + public static final int DungeonCandidateTeamInviteNotify = 994; + public static final int DungeonCandidateTeamInviteReq = 934; + public static final int DungeonCandidateTeamInviteRsp = 950; + public static final int DungeonCandidateTeamKickReq = 943; + public static final int DungeonCandidateTeamKickRsp = 974; + public static final int DungeonCandidateTeamLeaveReq = 976; + public static final int DungeonCandidateTeamLeaveRsp = 946; + public static final int DungeonCandidateTeamPlayerLeaveNotify = 926; + public static final int DungeonCandidateTeamRefuseNotify = 988; + public static final int DungeonCandidateTeamReplyInviteReq = 941; + public static final int DungeonCandidateTeamReplyInviteRsp = 949; + public static final int DungeonCandidateTeamSetChangingAvatarReq = 918; + public static final int DungeonCandidateTeamSetChangingAvatarRsp = 966; + public static final int DungeonCandidateTeamSetReadyReq = 991; + public static final int DungeonCandidateTeamSetReadyRsp = 924; + public static final int DungeonChallengeBeginNotify = 947; + public static final int DungeonChallengeFinishNotify = 939; + public static final int DungeonDataNotify = 982; + public static final int DungeonDieOptionReq = 975; + public static final int DungeonDieOptionRsp = 948; + public static final int DungeonEntryInfoReq = 972; + public static final int DungeonEntryInfoRsp = 998; + public static final int DungeonEntryToBeExploreNotify = 3147; + public static final int DungeonFollowNotify = 922; + public static final int DungeonGetStatueDropReq = 965; + public static final int DungeonGetStatueDropRsp = 904; + public static final int DungeonInterruptChallengeReq = 917; + public static final int DungeonInterruptChallengeRsp = 902; + public static final int DungeonPlayerDieNotify = 931; + public static final int DungeonPlayerDieReq = 981; + public static final int DungeonPlayerDieRsp = 905; + public static final int DungeonRestartInviteNotify = 957; + public static final int DungeonRestartInviteReplyNotify = 987; + public static final int DungeonRestartInviteReplyReq = 1000; + public static final int DungeonRestartInviteReplyRsp = 916; + public static final int DungeonRestartReq = 961; + public static final int DungeonRestartResultNotify = 940; + public static final int DungeonRestartRsp = 929; + public static final int DungeonReviseLevelNotify = 968; + public static final int DungeonSettleNotify = 999; + public static final int DungeonShowReminderNotify = 997; + public static final int DungeonSlipRevivePointActivateReq = 958; + public static final int DungeonSlipRevivePointActivateRsp = 970; + public static final int DungeonWayPointActivateReq = 990; + public static final int DungeonWayPointActivateRsp = 973; + public static final int DungeonWayPointNotify = 903; + public static final int EchoNotify = 65; + public static final int EchoShellTakeRewardReq = 8114; + public static final int EchoShellTakeRewardRsp = 8797; + public static final int EchoShellUpdateNotify = 8150; + public static final int EffigyChallengeInfoNotify = 2090; + public static final int EffigyChallengeResultNotify = 2046; + public static final int EndCameraSceneLookNotify = 217; + public static final int EnterChessDungeonReq = 8191; + public static final int EnterChessDungeonRsp = 8592; + public static final int EnterFishingReq = 5826; + public static final int EnterFishingRsp = 5818; + public static final int EnterMechanicusDungeonReq = 3931; + public static final int EnterMechanicusDungeonRsp = 3975; + public static final int EnterRoguelikeDungeonNotify = 8652; + public static final int EnterSceneDoneReq = 277; + public static final int EnterSceneDoneRsp = 237; + public static final int EnterScenePeerNotify = 252; + public static final int EnterSceneReadyReq = 208; + public static final int EnterSceneReadyRsp = 209; + public static final int EnterSceneWeatherAreaNotify = 256; + public static final int EnterTransPointRegionNotify = 205; + public static final int EnterTrialAvatarActivityDungeonReq = 2118; + public static final int EnterTrialAvatarActivityDungeonRsp = 2183; + public static final int EnterWorldAreaReq = 250; + public static final int EnterWorldAreaRsp = 243; + public static final int EntityAiKillSelfNotify = 340; + public static final int EntityAiSyncNotify = 400; + public static final int EntityAuthorityChangeNotify = 394; + public static final int EntityConfigHashNotify = 3189; + public static final int EntityFightPropChangeReasonNotify = 1203; + public static final int EntityFightPropNotify = 1212; + public static final int EntityFightPropUpdateNotify = 1235; + public static final int EntityForceSyncReq = 274; + public static final int EntityForceSyncRsp = 276; + public static final int EntityJumpNotify = 222; + public static final int EntityMoveRoomNotify = 3178; + public static final int EntityPropNotify = 1272; + public static final int EntityTagChangeNotify = 3316; + public static final int EquipRoguelikeRuneReq = 8306; + public static final int EquipRoguelikeRuneRsp = 8705; + public static final int EvtAiSyncCombatThreatInfoNotify = 329; + public static final int EvtAiSyncSkillCdNotify = 376; + public static final int EvtAnimatorParameterNotify = 398; + public static final int EvtAnimatorStateChangedNotify = 331; + public static final int EvtAvatarEnterFocusNotify = 304; + public static final int EvtAvatarExitFocusNotify = 393; + public static final int EvtAvatarLockChairReq = 318; + public static final int EvtAvatarLockChairRsp = 366; + public static final int EvtAvatarSitDownNotify = 324; + public static final int EvtAvatarStandUpNotify = 356; + public static final int EvtAvatarUpdateFocusNotify = 327; + public static final int EvtBeingHitNotify = 372; + public static final int EvtBeingHitsCombineNotify = 346; + public static final int EvtBulletDeactiveNotify = 397; + public static final int EvtBulletHitNotify = 348; + public static final int EvtBulletMoveNotify = 365; + public static final int EvtCostStaminaNotify = 373; + public static final int EvtCreateGadgetNotify = 307; + public static final int EvtDestroyGadgetNotify = 321; + public static final int EvtDestroyServerGadgetNotify = 387; + public static final int EvtDoSkillSuccNotify = 335; + public static final int EvtEntityRenderersChangedNotify = 343; + public static final int EvtEntityStartDieEndNotify = 381; + public static final int EvtFaceToDirNotify = 390; + public static final int EvtFaceToEntityNotify = 303; + public static final int EvtRushMoveNotify = 375; + public static final int EvtSetAttackTargetNotify = 399; + public static final int ExclusiveRuleNotify = 101; + public static final int ExecuteGadgetLuaReq = 269; + public static final int ExecuteGadgetLuaRsp = 210; + public static final int ExecuteGroupTriggerReq = 257; + public static final int ExecuteGroupTriggerRsp = 300; + public static final int ExitFishingReq = 5814; + public static final int ExitFishingRsp = 5847; + public static final int ExitSceneWeatherAreaNotify = 242; + public static final int ExitTransPointRegionNotify = 282; + public static final int ExpeditionChallengeEnterRegionNotify = 2154; + public static final int ExpeditionChallengeFinishedNotify = 2091; + public static final int ExpeditionRecallReq = 2131; + public static final int ExpeditionRecallRsp = 2129; + public static final int ExpeditionStartReq = 2087; + public static final int ExpeditionStartRsp = 2135; + public static final int ExpeditionTakeRewardReq = 2149; + public static final int ExpeditionTakeRewardRsp = 2080; + public static final int FindHilichurlAcceptQuestNotify = 8659; + public static final int FindHilichurlFinishSecondQuestNotify = 8901; + public static final int FinishDeliveryNotify = 2089; + public static final int FinishMainCoopReq = 1952; + public static final int FinishMainCoopRsp = 1981; + public static final int FinishedParentQuestNotify = 435; + public static final int FinishedParentQuestUpdateNotify = 407; + public static final int FireworkNotify = 5934; + public static final int FireworkReq = 6068; + public static final int FireworkRsp = 5918; + public static final int FireworkSetNotify = 6079; + public static final int FireworkSetReq = 6099; + public static final int FireworkSetRsp = 5969; + public static final int FishAttractNotify = 5837; + public static final int FishBaitGoneNotify = 5823; + public static final int FishBattleBeginReq = 5820; + public static final int FishBattleBeginRsp = 5845; + public static final int FishBattleEndReq = 5841; + public static final int FishBattleEndRsp = 5842; + public static final int FishBiteReq = 5844; + public static final int FishBiteRsp = 5849; + public static final int FishCastRodReq = 5802; + public static final int FishCastRodRsp = 5831; + public static final int FishChosenNotify = 5829; + public static final int FishEscapeNotify = 5822; + public static final int FishPoolDataNotify = 5848; + public static final int FishingGallerySettleNotify = 8780; + public static final int FleurFairBalloonSettleNotify = 2099; + public static final int FleurFairBuffEnergyNotify = 5324; + public static final int FleurFairFallSettleNotify = 2017; + public static final int FleurFairFinishGalleryStageNotify = 5342; + public static final int FleurFairMusicGameSettleReq = 2194; + public static final int FleurFairMusicGameSettleRsp = 2113; + public static final int FleurFairMusicGameStartReq = 2167; + public static final int FleurFairMusicGameStartRsp = 2079; + public static final int FleurFairReplayMiniGameReq = 2181; + public static final int FleurFairReplayMiniGameRsp = 2052; + public static final int FleurFairStageSettleNotify = 5356; + public static final int FlightActivityRestartReq = 2037; + public static final int FlightActivityRestartRsp = 2165; + public static final int FlightActivitySettleNotify = 2195; + public static final int FocusAvatarReq = 1654; + public static final int FocusAvatarRsp = 1681; + public static final int ForceAddPlayerFriendReq = 4057; + public static final int ForceAddPlayerFriendRsp = 4100; + public static final int ForceDragAvatarNotify = 3235; + public static final int ForceDragBackTransferNotify = 3145; + public static final int ForgeDataNotify = 680; + public static final int ForgeFormulaDataNotify = 689; + public static final int ForgeGetQueueDataReq = 646; + public static final int ForgeGetQueueDataRsp = 641; + public static final int ForgeQueueDataNotify = 676; + public static final int ForgeQueueManipulateReq = 624; + public static final int ForgeQueueManipulateRsp = 656; + public static final int ForgeStartReq = 649; + public static final int ForgeStartRsp = 691; + public static final int FoundationNotify = 847; + public static final int FoundationReq = 805; + public static final int FoundationRsp = 882; + public static final int FriendInfoChangeNotify = 4032; + public static final int FunitureMakeMakeInfoChangeNotify = 4898; + public static final int FurnitureCurModuleArrangeCountNotify = 4498; + public static final int FurnitureMakeBeHelpedNotify = 4578; + public static final int FurnitureMakeCancelReq = 4555; + public static final int FurnitureMakeCancelRsp = 4683; + public static final int FurnitureMakeFinishNotify = 4841; + public static final int FurnitureMakeHelpReq = 4865; + public static final int FurnitureMakeHelpRsp = 4756; + public static final int FurnitureMakeReq = 4477; + public static final int FurnitureMakeRsp = 4782; + public static final int FurnitureMakeStartReq = 4633; + public static final int FurnitureMakeStartRsp = 4729; + public static final int GMShowNavMeshReq = 2357; + public static final int GMShowNavMeshRsp = 2400; + public static final int GMShowObstacleReq = 2361; + public static final int GMShowObstacleRsp = 2329; + public static final int GachaOpenWishNotify = 1503; + public static final int GachaSimpleInfoNotify = 1590; + public static final int GachaWishReq = 1507; + public static final int GachaWishRsp = 1521; + public static final int GadgetAutoPickDropInfoNotify = 897; + public static final int GadgetChainLevelChangeNotify = 822; + public static final int GadgetChainLevelUpdateNotify = 853; + public static final int GadgetCustomTreeInfoNotify = 850; + public static final int GadgetGeneralRewardInfoNotify = 848; + public static final int GadgetInteractReq = 872; + public static final int GadgetInteractRsp = 898; + public static final int GadgetPlayDataNotify = 831; + public static final int GadgetPlayStartNotify = 873; + public static final int GadgetPlayStopNotify = 899; + public static final int GadgetPlayUidOpNotify = 875; + public static final int GadgetStateNotify = 812; + public static final int GadgetTalkChangeNotify = 839; + public static final int GalleryBalloonScoreNotify = 5512; + public static final int GalleryBalloonShootNotify = 5598; + public static final int GalleryBounceConjuringHitNotify = 5505; + public static final int GalleryBrokenFloorFallNotify = 5575; + public static final int GalleryBulletHitNotify = 5531; + public static final int GalleryFallCatchNotify = 5507; + public static final int GalleryFallScoreNotify = 5521; + public static final int GalleryFlowerCatchNotify = 5573; + public static final int GalleryPreStartNotify = 5599; + public static final int GalleryStartNotify = 5572; + public static final int GalleryStopNotify = 5535; + public static final int GallerySumoKillMonsterNotify = 5582; + public static final int GetActivityInfoReq = 2095; + public static final int GetActivityInfoRsp = 2041; + public static final int GetActivityScheduleReq = 2136; + public static final int GetActivityScheduleRsp = 2107; + public static final int GetActivityShopSheetInfoReq = 703; + public static final int GetActivityShopSheetInfoRsp = 790; + public static final int GetAllActivatedBargainDataReq = 463; + public static final int GetAllActivatedBargainDataRsp = 495; + public static final int GetAllH5ActivityInfoReq = 5668; + public static final int GetAllH5ActivityInfoRsp = 5676; + public static final int GetAllMailReq = 1431; + public static final int GetAllMailRsp = 1475; + public static final int GetAllSceneGalleryInfoReq = 5503; + public static final int GetAllSceneGalleryInfoRsp = 5590; + public static final int GetAllUnlockNameCardReq = 4027; + public static final int GetAllUnlockNameCardRsp = 4094; + public static final int GetAreaExplorePointReq = 241; + public static final int GetAreaExplorePointRsp = 249; + public static final int GetAuthSalesmanInfoReq = 2070; + public static final int GetAuthSalesmanInfoRsp = 2004; + public static final int GetAuthkeyReq = 1490; + public static final int GetAuthkeyRsp = 1473; + public static final int GetBargainDataReq = 488; + public static final int GetBargainDataRsp = 426; + public static final int GetBattlePassProductReq = 2644; + public static final int GetBattlePassProductRsp = 2649; + public static final int GetBlossomBriefInfoListReq = 2772; + public static final int GetBlossomBriefInfoListRsp = 2798; + public static final int GetBonusActivityRewardReq = 2581; + public static final int GetBonusActivityRewardRsp = 2505; + public static final int GetChatEmojiCollectionReq = 4068; + public static final int GetChatEmojiCollectionRsp = 4033; + public static final int GetCityHuntingOfferReq = 4325; + public static final int GetCityHuntingOfferRsp = 4307; + public static final int GetCityReputationInfoReq = 2872; + public static final int GetCityReputationInfoRsp = 2898; + public static final int GetCityReputationMapInfoReq = 2875; + public static final int GetCityReputationMapInfoRsp = 2848; + public static final int GetCompoundDataReq = 141; + public static final int GetCompoundDataRsp = 149; + public static final int GetDailyDungeonEntryInfoReq = 930; + public static final int GetDailyDungeonEntryInfoRsp = 967; + public static final int GetDungeonEntryExploreConditionReq = 3165; + public static final int GetDungeonEntryExploreConditionRsp = 3269; + public static final int GetExpeditionAssistInfoListReq = 2150; + public static final int GetExpeditionAssistInfoListRsp = 2035; + public static final int GetFriendShowAvatarInfoReq = 4070; + public static final int GetFriendShowAvatarInfoRsp = 4017; + public static final int GetFriendShowNameCardInfoReq = 4061; + public static final int GetFriendShowNameCardInfoRsp = 4029; + public static final int GetFurnitureCurModuleArrangeCountReq = 4711; + public static final int GetGachaInfoReq = 1572; + public static final int GetGachaInfoRsp = 1598; + public static final int GetHomeLevelUpRewardReq = 4557; + public static final int GetHomeLevelUpRewardRsp = 4603; + public static final int GetHuntingOfferRewardReq = 4302; + public static final int GetHuntingOfferRewardRsp = 4331; + public static final int GetInvestigationMonsterReq = 1901; + public static final int GetInvestigationMonsterRsp = 1910; + public static final int GetMailItemReq = 1435; + public static final int GetMailItemRsp = 1407; + public static final int GetMapAreaReq = 3108; + public static final int GetMapAreaRsp = 3328; + public static final int GetMapMarkTipsReq = 3463; + public static final int GetMapMarkTipsRsp = 3327; + public static final int GetMechanicusInfoReq = 3972; + public static final int GetMechanicusInfoRsp = 3998; + public static final int GetNextResourceInfoReq = 192; + public static final int GetNextResourceInfoRsp = 120; + public static final int GetOnlinePlayerInfoReq = 82; + public static final int GetOnlinePlayerInfoRsp = 47; + public static final int GetOnlinePlayerListReq = 90; + public static final int GetOnlinePlayerListRsp = 73; + public static final int GetOpActivityInfoReq = 5172; + public static final int GetOpActivityInfoRsp = 5198; + public static final int GetPlayerAskFriendListReq = 4018; + public static final int GetPlayerAskFriendListRsp = 4066; + public static final int GetPlayerBlacklistReq = 4049; + public static final int GetPlayerBlacklistRsp = 4091; + public static final int GetPlayerFriendListReq = 4072; + public static final int GetPlayerFriendListRsp = 4098; + public static final int GetPlayerHomeCompInfoReq = 4597; + public static final int GetPlayerMpModeAvailabilityReq = 1844; + public static final int GetPlayerMpModeAvailabilityRsp = 1849; + public static final int GetPlayerSocialDetailReq = 4073; + public static final int GetPlayerSocialDetailRsp = 4099; + public static final int GetPlayerTokenReq = 172; + public static final int GetPlayerTokenRsp = 198; + public static final int GetPushTipsRewardReq = 2227; + public static final int GetPushTipsRewardRsp = 2294; + public static final int GetQuestTalkHistoryReq = 490; + public static final int GetQuestTalkHistoryRsp = 473; + public static final int GetRecentMpPlayerListReq = 4034; + public static final int GetRecentMpPlayerListRsp = 4050; + public static final int GetRegionSearchReq = 5602; + public static final int GetReunionMissionInfoReq = 5094; + public static final int GetReunionMissionInfoRsp = 5099; + public static final int GetReunionPrivilegeInfoReq = 5097; + public static final int GetReunionPrivilegeInfoRsp = 5087; + public static final int GetReunionSignInInfoReq = 5052; + public static final int GetReunionSignInInfoRsp = 5081; + public static final int GetSceneAreaReq = 265; + public static final int GetSceneAreaRsp = 204; + public static final int GetSceneNpcPositionReq = 535; + public static final int GetSceneNpcPositionRsp = 507; + public static final int GetScenePerformanceReq = 3419; + public static final int GetScenePerformanceRsp = 3137; + public static final int GetScenePointReq = 297; + public static final int GetScenePointRsp = 281; + public static final int GetShopReq = 772; + public static final int GetShopRsp = 798; + public static final int GetShopmallDataReq = 707; + public static final int GetShopmallDataRsp = 721; + public static final int GetSignInRewardReq = 2507; + public static final int GetSignInRewardRsp = 2521; + public static final int GetWidgetSlotReq = 4253; + public static final int GetWidgetSlotRsp = 4254; + public static final int GetWorldMpInfoReq = 3391; + public static final int GetWorldMpInfoRsp = 3320; + public static final int GiveUpRoguelikeDungeonCardReq = 8353; + public static final int GiveUpRoguelikeDungeonCardRsp = 8497; + public static final int GivingRecordChangeNotify = 187; + public static final int GivingRecordNotify = 116; + public static final int GmTalkNotify = 94; + public static final int GmTalkReq = 98; + public static final int GmTalkRsp = 12; + public static final int GrantRewardNotify = 663; + public static final int GroupLinkAllNotify = 5776; + public static final int GroupLinkChangeNotify = 5768; + public static final int GroupLinkDeleteNotify = 5775; + public static final int GroupSuiteNotify = 3257; + public static final int GroupUnloadNotify = 3344; + public static final int GuestBeginEnterSceneNotify = 3031; + public static final int GuestPostEnterSceneNotify = 3144; + public static final int H5ActivityIdsNotify = 5675; + public static final int HideAndSeekPlayerReadyNotify = 5302; + public static final int HideAndSeekPlayerSetAvatarNotify = 5319; + public static final int HideAndSeekSelectAvatarReq = 5330; + public static final int HideAndSeekSelectAvatarRsp = 5367; + public static final int HideAndSeekSelectSkillReq = 8183; + public static final int HideAndSeekSelectSkillRsp = 8088; + public static final int HideAndSeekSetReadyReq = 5358; + public static final int HideAndSeekSetReadyRsp = 5370; + public static final int HideAndSeekSettleNotify = 5317; + public static final int HitClientTrivialNotify = 244; + public static final int HitTreeNotify = 3019; + public static final int HomeAvatarAllFinishRewardNotify = 4741; + public static final int HomeAvatarCostumeChangeNotify = 4748; + public static final int HomeAvatarRewardEventGetReq = 4551; + public static final int HomeAvatarRewardEventGetRsp = 4833; + public static final int HomeAvatarRewardEventNotify = 4852; + public static final int HomeAvatarSummonAllEventNotify = 4808; + public static final int HomeAvatarSummonEventReq = 4806; + public static final int HomeAvatarSummonEventRsp = 4817; + public static final int HomeAvatarSummonFinishReq = 4629; + public static final int HomeAvatarSummonFinishRsp = 4696; + public static final int HomeAvatarTalkFinishInfoNotify = 4896; + public static final int HomeAvatarTalkReq = 4688; + public static final int HomeAvatarTalkRsp = 4464; + public static final int HomeAvtarAllFinishRewardNotify = 4453; + public static final int HomeBasicInfoNotify = 4885; + public static final int HomeBlockNotify = 4543; + public static final int HomeChangeEditModeReq = 4564; + public static final int HomeChangeEditModeRsp = 4559; + public static final int HomeChangeModuleReq = 4809; + public static final int HomeChangeModuleRsp = 4596; + public static final int HomeChooseModuleReq = 4524; + public static final int HomeChooseModuleRsp = 4648; + public static final int HomeComfortInfoNotify = 4699; + public static final int HomeCustomFurnitureInfoNotify = 4712; + public static final int HomeEditCustomFurnitureReq = 4724; + public static final int HomeEditCustomFurnitureRsp = 4496; + public static final int HomeFishFarmingInfoNotify = 4677; + public static final int HomeGetArrangementInfoReq = 4848; + public static final int HomeGetArrangementInfoRsp = 4844; + public static final int HomeGetBasicInfoReq = 4655; + public static final int HomeGetFishFarmingInfoReq = 4476; + public static final int HomeGetFishFarmingInfoRsp = 4678; + public static final int HomeGetOnlineStatusReq = 4820; + public static final int HomeGetOnlineStatusRsp = 4705; + public static final int HomeKickPlayerReq = 4870; + public static final int HomeKickPlayerRsp = 4691; + public static final int HomeLimitedShopBuyGoodsReq = 4760; + public static final int HomeLimitedShopBuyGoodsRsp = 4750; + public static final int HomeLimitedShopGoodsListReq = 4552; + public static final int HomeLimitedShopGoodsListRsp = 4546; + public static final int HomeLimitedShopInfoChangeNotify = 4790; + public static final int HomeLimitedShopInfoNotify = 4887; + public static final int HomeLimitedShopInfoReq = 4825; + public static final int HomeLimitedShopInfoRsp = 4796; + public static final int HomeMarkPointNotify = 4474; + public static final int HomeModuleSeenReq = 4499; + public static final int HomeModuleSeenRsp = 4821; + public static final int HomeModuleUnlockNotify = 4560; + public static final int HomePlantFieldNotify = 4549; + public static final int HomePlantInfoNotify = 4587; + public static final int HomePlantInfoReq = 4647; + public static final int HomePlantInfoRsp = 4701; + public static final int HomePlantSeedReq = 4804; + public static final int HomePlantSeedRsp = 4556; + public static final int HomePlantWeedReq = 4640; + public static final int HomePlantWeedRsp = 4527; + public static final int HomePriorCheckNotify = 4599; + public static final int HomeResourceNotify = 4892; + public static final int HomeResourceTakeFetterExpReq = 4768; + public static final int HomeResourceTakeFetterExpRsp = 4645; + public static final int HomeResourceTakeHomeCoinReq = 4479; + public static final int HomeResourceTakeHomeCoinRsp = 4541; + public static final int HomeSceneInitFinishReq = 4674; + public static final int HomeSceneInitFinishRsp = 4505; + public static final int HomeSceneJumpReq = 4528; + public static final int HomeSceneJumpRsp = 4698; + public static final int HomeTransferReq = 4726; + public static final int HomeTransferRsp = 4616; + public static final int HomeUpdateArrangementInfoReq = 4510; + public static final int HomeUpdateArrangementInfoRsp = 4757; + public static final int HomeUpdateFishFarmingInfoReq = 4544; + public static final int HomeUpdateFishFarmingInfoRsp = 4857; + public static final int HostPlayerNotify = 312; + public static final int HuntingFailNotify = 4320; + public static final int HuntingGiveUpReq = 4341; + public static final int HuntingGiveUpRsp = 4342; + public static final int HuntingOngoingNotify = 4345; + public static final int HuntingRevealClueNotify = 4322; + public static final int HuntingRevealFinalNotify = 4344; + public static final int HuntingStartNotify = 4329; + public static final int HuntingSuccessNotify = 4349; + public static final int InBattleMechanicusBuildingPointsNotify = 5303; + public static final int InBattleMechanicusCardResultNotify = 5397; + public static final int InBattleMechanicusConfirmCardNotify = 5348; + public static final int InBattleMechanicusConfirmCardReq = 5331; + public static final int InBattleMechanicusConfirmCardRsp = 5375; + public static final int InBattleMechanicusEscapeMonsterNotify = 5307; + public static final int InBattleMechanicusLeftMonsterNotify = 5321; + public static final int InBattleMechanicusPickCardNotify = 5399; + public static final int InBattleMechanicusPickCardReq = 5390; + public static final int InBattleMechanicusPickCardRsp = 5373; + public static final int InBattleMechanicusSettleNotify = 5305; + public static final int InteractDailyDungeonInfoNotify = 919; + public static final int InterruptGalleryReq = 5548; + public static final int InterruptGalleryRsp = 5597; + public static final int InvestigationMonsterUpdateNotify = 1906; + public static final int ItemAddHintNotify = 607; + public static final int ItemCdGroupTimeNotify = 634; + public static final int ItemGivingReq = 140; + public static final int ItemGivingRsp = 118; + public static final int JoinHomeWorldFailNotify = 4530; + public static final int JoinPlayerFailNotify = 236; + public static final int JoinPlayerSceneReq = 292; + public static final int JoinPlayerSceneRsp = 220; + public static final int KeepAliveNotify = 72; + public static final int LeaveSceneReq = 298; + public static final int LeaveSceneRsp = 212; + public static final int LeaveWorldNotify = 3017; + public static final int LevelupCityReq = 216; + public static final int LevelupCityRsp = 287; + public static final int LifeStateChangeNotify = 1298; + public static final int LiveEndNotify = 806; + public static final int LiveStartNotify = 826; + public static final int LoadActivityTerrainNotify = 2029; + public static final int LuaEnvironmentEffectNotify = 3408; + public static final int LuaSetOptionNotify = 316; + public static final int LunaRiteAreaFinishNotify = 8213; + public static final int LunaRiteGroupBundleRegisterNotify = 8465; + public static final int LunaRiteHintPointRemoveNotify = 8787; + public static final int LunaRiteHintPointReq = 8195; + public static final int LunaRiteHintPointRsp = 8765; + public static final int LunaRiteSacrificeReq = 8805; + public static final int LunaRiteSacrificeRsp = 8080; + public static final int LunaRiteTakeSacrificeRewardReq = 8045; + public static final int LunaRiteTakeSacrificeRewardRsp = 8397; + public static final int MailChangeNotify = 1498; + public static final int MainCoopUpdateNotify = 1968; + public static final int MapAreaChangeNotify = 3378; + public static final int MarkEntityInMinMapNotify = 202; + public static final int MarkMapReq = 3466; + public static final int MarkMapRsp = 3079; + public static final int MarkNewNotify = 1275; + public static final int MarkTargetInvestigationMonsterNotify = 1915; + public static final int MassiveEntityElementOpBatchNotify = 357; + public static final int MassiveEntityStateChangedNotify = 370; + public static final int MaterialDeleteReturnNotify = 661; + public static final int MaterialDeleteUpdateNotify = 700; + public static final int McoinExchangeHcoinReq = 616; + public static final int McoinExchangeHcoinRsp = 687; + public static final int MechanicusCandidateTeamCreateReq = 3981; + public static final int MechanicusCandidateTeamCreateRsp = 3905; + public static final int MechanicusCloseNotify = 3921; + public static final int MechanicusCoinNotify = 3935; + public static final int MechanicusLevelupGearReq = 3973; + public static final int MechanicusLevelupGearRsp = 3999; + public static final int MechanicusOpenNotify = 3907; + public static final int MechanicusSequenceOpenNotify = 3912; + public static final int MechanicusUnlockGearReq = 3903; + public static final int MechanicusUnlockGearRsp = 3990; + public static final int MeetNpcReq = 503; + public static final int MeetNpcRsp = 590; + public static final int MetNpcIdListNotify = 521; + public static final int MiracleRingDataNotify = 5225; + public static final int MiracleRingDeliverItemReq = 5229; + public static final int MiracleRingDeliverItemRsp = 5222; + public static final int MiracleRingDestroyNotify = 5244; + public static final int MiracleRingDropResultNotify = 5231; + public static final int MiracleRingTakeRewardReq = 5207; + public static final int MiracleRingTakeRewardRsp = 5202; + public static final int MistTrialDunegonFailNotify = 8135; + public static final int MistTrialGetChallengeMissionReq = 8893; + public static final int MistTrialGetChallengeMissionRsp = 8508; + public static final int MistTrialSelectAvatarAndEnterDungeonReq = 8666; + public static final int MistTrialSelectAvatarAndEnterDungeonRsp = 8239; + public static final int MonsterAIConfigHashNotify = 3039; + public static final int MonsterAlertChangeNotify = 363; + public static final int MonsterForceAlertNotify = 395; + public static final int MonsterPointArrayRouteUpdateNotify = 3410; + public static final int MonsterSummonTagNotify = 1372; + public static final int MpBlockNotify = 1801; + public static final int MpPlayGuestReplyInviteReq = 1848; + public static final int MpPlayGuestReplyInviteRsp = 1850; + public static final int MpPlayGuestReplyNotify = 1812; + public static final int MpPlayInviteResultNotify = 1815; + public static final int MpPlayOwnerCheckReq = 1814; + public static final int MpPlayOwnerCheckRsp = 1847; + public static final int MpPlayOwnerInviteNotify = 1835; + public static final int MpPlayOwnerStartInviteReq = 1837; + public static final int MpPlayOwnerStartInviteRsp = 1823; + public static final int MpPlayPrepareInterruptNotify = 1813; + public static final int MpPlayPrepareNotify = 1833; + public static final int MultistagePlayEndNotify = 5355; + public static final int MultistagePlayFinishStageReq = 5398; + public static final int MultistagePlayFinishStageRsp = 5381; + public static final int MultistagePlayInfoNotify = 5372; + public static final int MultistagePlaySettleNotify = 5313; + public static final int MultistagePlayStageEndNotify = 5379; + public static final int MusicGameGetBeatmapReq = 6318; + public static final int MusicGameGetBeatmapRsp = 6309; + public static final int MusicGameSettleReq = 8892; + public static final int MusicGameSettleRsp = 8673; + public static final int MusicGameStartReq = 8406; + public static final int MusicGameStartRsp = 8326; + public static final int MusicGameCreateBeatmapRsp = 6347; + public static final int MusicGameCreateBeatmapReq = 6326; + public static final int MusicGameSearchBeatmapRsp = 6304; + public static final int MusicGameSearchBeatmapReq = 6343; + public static final int MusicGameStartToPlayOthersBeatmapReq = 6302; + public static final int MusicGameStartToPlayOthersBeatmapRsp = 6313; + public static final int NavMeshStatsNotify = 2316; + public static final int NormalUidOpNotify = 5726; + public static final int NpcTalkReq = 572; + public static final int NpcTalkRsp = 598; + public static final int ObstacleModifyNotify = 2312; + public static final int OfferingInteractReq = 2918; + public static final int OfferingInteractRsp = 2908; + public static final int OneofGatherPointDetectorDataNotify = 4297; + public static final int OpActivityDataNotify = 5112; + public static final int OpActivityStateNotify = 2572; + public static final int OpActivityUpdateNotify = 5135; + public static final int OpenBlossomCircleCampGuideNotify = 2703; + public static final int OpenStateChangeNotify = 127; + public static final int OpenStateUpdateNotify = 193; + public static final int OrderDisplayNotify = 4131; + public static final int OrderFinishNotify = 4125; + public static final int OtherPlayerEnterHomeNotify = 4628; + public static final int PSNBlackListNotify = 4040; + public static final int PSNFriendListNotify = 4087; + public static final int PSPlayerApplyEnterMpReq = 1841; + public static final int PSPlayerApplyEnterMpRsp = 1842; + public static final int PathfindingEnterSceneReq = 2307; + public static final int PathfindingEnterSceneRsp = 2321; + public static final int PathfindingPingNotify = 2335; + public static final int PersonalLineAllDataReq = 474; + public static final int PersonalLineAllDataRsp = 476; + public static final int PersonalLineNewUnlockNotify = 442; + public static final int PersonalSceneJumpReq = 284; + public static final int PersonalSceneJumpRsp = 280; + public static final int PingReq = 7; + public static final int PingRsp = 21; + public static final int PlantFlowerAcceptAllGiveFlowerReq = 8808; + public static final int PlantFlowerAcceptAllGiveFlowerRsp = 8888; + public static final int PlantFlowerAcceptGiveFlowerReq = 8383; + public static final int PlantFlowerAcceptGiveFlowerRsp = 8567; + public static final int PlantFlowerEditFlowerCombinationReq = 8843; + public static final int PlantFlowerEditFlowerCombinationRsp = 8788; + public static final int PlantFlowerGetCanGiveFriendFlowerReq = 8716; + public static final int PlantFlowerGetCanGiveFriendFlowerRsp = 8766; + public static final int PlantFlowerGetFriendFlowerWishListReq = 8126; + public static final int PlantFlowerGetFriendFlowerWishListRsp = 8511; + public static final int PlantFlowerGetRecvFlowerListReq = 8270; + public static final int PlantFlowerGetRecvFlowerListRsp = 8374; + public static final int PlantFlowerGetSeedInfoReq = 8560; + public static final int PlantFlowerGetSeedInfoRsp = 8764; + public static final int PlantFlowerGiveFriendFlowerReq = 8846; + public static final int PlantFlowerGiveFriendFlowerRsp = 8386; + public static final int PlantFlowerHaveRecvFlowerNotify = 8078; + public static final int PlantFlowerSetFlowerWishReq = 8547; + public static final int PlantFlowerSetFlowerWishRsp = 8910; + public static final int PlantFlowerTakeSeedRewardReq = 8968; + public static final int PlantFlowerTakeSeedRewardRsp = 8860; + public static final int PlatformChangeRouteNotify = 268; + public static final int PlatformStartRouteNotify = 218; + public static final int PlatformStopRouteNotify = 266; + public static final int PlayerAllowEnterMpAfterAgreeMatchNotify = 4199; + public static final int PlayerApplyEnterHomeNotify = 4533; + public static final int PlayerApplyEnterHomeResultNotify = 4468; + public static final int PlayerApplyEnterHomeResultReq = 4693; + public static final int PlayerApplyEnterHomeResultRsp = 4706; + public static final int PlayerApplyEnterMpAfterMatchAgreedNotify = 4195; + public static final int PlayerApplyEnterMpNotify = 1826; + public static final int PlayerApplyEnterMpReq = 1818; + public static final int PlayerApplyEnterMpResultNotify = 1807; + public static final int PlayerApplyEnterMpResultReq = 1802; + public static final int PlayerApplyEnterMpResultRsp = 1831; + public static final int PlayerApplyEnterMpRsp = 1825; + public static final int PlayerCancelMatchReq = 4157; + public static final int PlayerCancelMatchRsp = 4152; + public static final int PlayerChatCDNotify = 3367; + public static final int PlayerChatNotify = 3010; + public static final int PlayerChatReq = 3185; + public static final int PlayerChatRsp = 3228; + public static final int PlayerCompoundMaterialReq = 150; + public static final int PlayerCompoundMaterialRsp = 143; + public static final int PlayerConfirmMatchReq = 4172; + public static final int PlayerConfirmMatchRsp = 4194; + public static final int PlayerCookArgsReq = 166; + public static final int PlayerCookArgsRsp = 168; + public static final int PlayerCookReq = 194; + public static final int PlayerCookRsp = 188; + public static final int PlayerDataNotify = 190; + public static final int PlayerEnterDungeonReq = 912; + public static final int PlayerEnterDungeonRsp = 935; + public static final int PlayerEnterSceneInfoNotify = 214; + public static final int PlayerEnterSceneNotify = 272; + public static final int PlayerEyePointStateNotify = 3051; + public static final int PlayerFishingDataNotify = 5835; + public static final int PlayerForceExitReq = 189; + public static final int PlayerForceExitRsp = 159; + public static final int PlayerGameTimeNotify = 131; + public static final int PlayerGeneralMatchConfirmNotify = 4192; + public static final int PlayerGeneralMatchDismissNotify = 4191; + public static final int PlayerGetForceQuitBanInfoReq = 4164; + public static final int PlayerGetForceQuitBanInfoRsp = 4197; + public static final int PlayerHomeCompInfoNotify = 4880; + public static final int PlayerInjectFixNotify = 132; + public static final int PlayerInvestigationAllInfoNotify = 1928; + public static final int PlayerInvestigationNotify = 1911; + public static final int PlayerInvestigationTargetNotify = 1929; + public static final int PlayerLevelRewardUpdateNotify = 200; + public static final int PlayerLoginReq = 112; + public static final int PlayerLoginRsp = 135; + public static final int PlayerLogoutNotify = 103; + public static final int PlayerLogoutReq = 107; + public static final int PlayerLogoutRsp = 121; + public static final int PlayerLuaShellNotify = 133; + public static final int PlayerMatchAgreedResultNotify = 4170; + public static final int PlayerMatchInfoNotify = 4175; + public static final int PlayerMatchStopNotify = 4181; + public static final int PlayerMatchSuccNotify = 4179; + public static final int PlayerOfferingDataNotify = 2923; + public static final int PlayerOfferingReq = 2907; + public static final int PlayerOfferingRsp = 2917; + public static final int PlayerPreEnterMpNotify = 1822; + public static final int PlayerPropChangeNotify = 139; + public static final int PlayerPropChangeReasonNotify = 1299; + public static final int PlayerPropNotify = 175; + public static final int PlayerQuitDungeonReq = 907; + public static final int PlayerQuitDungeonRsp = 921; + public static final int PlayerQuitFromHomeNotify = 4656; + public static final int PlayerQuitFromMpNotify = 1829; + public static final int PlayerRandomCookReq = 126; + public static final int PlayerRandomCookRsp = 163; + public static final int PlayerRechargeDataNotify = 4102; + public static final int PlayerReportReq = 4024; + public static final int PlayerReportRsp = 4056; + public static final int PlayerRoutineDataNotify = 3526; + public static final int PlayerSetLanguageReq = 142; + public static final int PlayerSetLanguageRsp = 130; + public static final int PlayerSetOnlyMPWithPSPlayerReq = 1820; + public static final int PlayerSetOnlyMPWithPSPlayerRsp = 1845; + public static final int PlayerSetPauseReq = 124; + public static final int PlayerSetPauseRsp = 156; + public static final int PlayerStartMatchReq = 4176; + public static final int PlayerStartMatchRsp = 4168; + public static final int PlayerStoreNotify = 672; + public static final int PlayerTimeNotify = 191; + public static final int PlayerWorldSceneInfoListNotify = 3129; + public static final int PostEnterSceneReq = 3312; + public static final int PostEnterSceneRsp = 3184; + public static final int PrivateChatNotify = 4962; + public static final int PrivateChatReq = 5022; + public static final int PrivateChatRsp = 5048; + public static final int PrivateChatSetSequenceReq = 4985; + public static final int PrivateChatSetSequenceRsp = 4957; + public static final int ProfilePictureChangeNotify = 4016; + public static final int ProjectorOptionReq = 863; + public static final int ProjectorOptionRsp = 895; + public static final int ProudSkillChangeNotify = 1031; + public static final int ProudSkillExtraLevelNotify = 1081; + public static final int ProudSkillUpgradeReq = 1073; + public static final int ProudSkillUpgradeRsp = 1099; + public static final int PullPrivateChatReq = 4971; + public static final int PullPrivateChatRsp = 4953; + public static final int PullRecentChatReq = 5040; + public static final int PullRecentChatRsp = 5023; + public static final int PushTipsAllDataNotify = 2222; + public static final int PushTipsChangeNotify = 2265; + public static final int PushTipsReadFinishReq = 2204; + public static final int PushTipsReadFinishRsp = 2293; + public static final int QueryCodexMonsterBeKilledNumReq = 4203; + public static final int QueryCodexMonsterBeKilledNumRsp = 4209; + public static final int QueryPathReq = 2372; + public static final int QueryPathRsp = 2398; + public static final int QuestCreateEntityReq = 499; + public static final int QuestCreateEntityRsp = 431; + public static final int QuestDelNotify = 412; + public static final int QuestDestroyEntityReq = 475; + public static final int QuestDestroyEntityRsp = 448; + public static final int QuestDestroyNpcReq = 422; + public static final int QuestDestroyNpcRsp = 465; + public static final int QuestGlobalVarNotify = 434; + public static final int QuestListNotify = 472; + public static final int QuestListUpdateNotify = 498; + public static final int QuestProgressUpdateNotify = 482; + public static final int QuestTransmitReq = 450; + public static final int QuestTransmitRsp = 443; + public static final int QuestUpdateQuestTimeVarNotify = 456; + public static final int QuestUpdateQuestVarNotify = 453; + public static final int QuestUpdateQuestVarReq = 447; + public static final int QuestUpdateQuestVarRsp = 439; + public static final int QuickUseWidgetReq = 4299; + public static final int QuickUseWidgetRsp = 4270; + public static final int ReadMailNotify = 1412; + public static final int ReadPrivateChatReq = 5049; + public static final int ReadPrivateChatRsp = 4981; + public static final int ReceivedTrialAvatarActivityRewardReq = 2130; + public static final int ReceivedTrialAvatarActivityRewardRsp = 2076; + public static final int RechargeReq = 4126; + public static final int RechargeRsp = 4118; + public static final int RedeemLegendaryKeyReq = 446; + public static final int RedeemLegendaryKeyRsp = 441; + public static final int RefreshBackgroundAvatarReq = 1743; + public static final int RefreshBackgroundAvatarRsp = 1800; + public static final int RefreshRoguelikeDungeonCardReq = 8279; + public static final int RefreshRoguelikeDungeonCardRsp = 8349; + public static final int RegionSearchChangeRegionNotify = 5618; + public static final int RegionSearchNotify = 5626; + public static final int ReliquaryDecomposeReq = 638; + public static final int ReliquaryDecomposeRsp = 611; + public static final int ReliquaryPromoteReq = 627; + public static final int ReliquaryPromoteRsp = 694; + public static final int ReliquaryUpgradeReq = 604; + public static final int ReliquaryUpgradeRsp = 693; + public static final int RemoveBlacklistReq = 4063; + public static final int RemoveBlacklistRsp = 4095; + public static final int RemoveRandTaskInfoNotify = 161; + public static final int ReportFightAntiCheatNotify = 368; + public static final int ReportTrackingIOInfoNotify = 4129; + public static final int RequestLiveInfoReq = 894; + public static final int RequestLiveInfoRsp = 888; + public static final int ResinCardDataUpdateNotify = 4149; + public static final int ResinChangeNotify = 642; + public static final int RestartEffigyChallengeReq = 2148; + public static final int RestartEffigyChallengeRsp = 2042; + public static final int ReunionActivateNotify = 5085; + public static final int ReunionBriefInfoReq = 5076; + public static final int ReunionBriefInfoRsp = 5068; + public static final int ReunionDailyRefreshNotify = 5100; + public static final int ReunionPrivilegeChangeNotify = 5098; + public static final int ReunionSettleNotify = 5073; + public static final int RobotPushPlayerDataNotify = 97; + public static final int RogueCellUpdateNotify = 8642; + public static final int RogueDungeonPlayerCellChangeNotify = 8347; + public static final int RogueHealAvatarsReq = 8947; + public static final int RogueHealAvatarsRsp = 8949; + public static final int RogueResumeDungeonReq = 8795; + public static final int RogueResumeDungeonRsp = 8647; + public static final int RogueSwitchAvatarReq = 8201; + public static final int RogueSwitchAvatarRsp = 8915; + public static final int RoguelikeCardGachaNotify = 8925; + public static final int RoguelikeEffectDataNotify = 8222; + public static final int RoguelikeEffectViewReq = 8528; + public static final int RoguelikeEffectViewRsp = 8639; + public static final int RoguelikeGiveUpReq = 8660; + public static final int RoguelikeGiveUpRsp = 8139; + public static final int RoguelikeMistClearNotify = 8324; + public static final int RoguelikeRefreshCardCostUpdateNotify = 8927; + public static final int RoguelikeResourceBonusPropUpdateNotify = 8555; + public static final int RoguelikeRuneRecordUpdateNotify = 8973; + public static final int RoguelikeSelectAvatarAndEnterDungeonReq = 8457; + public static final int RoguelikeSelectAvatarAndEnterDungeonRsp = 8538; + public static final int RoguelikeTakeStageFirstPassRewardReq = 8421; + public static final int RoguelikeTakeStageFirstPassRewardRsp = 8552; + public static final int SalesmanDeliverItemReq = 2138; + public static final int SalesmanDeliverItemRsp = 2104; + public static final int SalesmanTakeRewardReq = 2191; + public static final int SalesmanTakeRewardRsp = 2110; + public static final int SalesmanTakeSpecialRewardReq = 2145; + public static final int SalesmanTakeSpecialRewardRsp = 2124; + public static final int SaveCoopDialogReq = 2000; + public static final int SaveCoopDialogRsp = 1962; + public static final int SaveMainCoopReq = 1975; + public static final int SaveMainCoopRsp = 1957; + public static final int SceneAreaUnlockNotify = 293; + public static final int SceneAreaWeatherNotify = 230; + public static final int SceneAudioNotify = 3166; + public static final int SceneAvatarStaminaStepReq = 299; + public static final int SceneAvatarStaminaStepRsp = 231; + public static final int SceneCreateEntityReq = 288; + public static final int SceneCreateEntityRsp = 226; + public static final int SceneDataNotify = 3203; + public static final int SceneDestroyEntityReq = 263; + public static final int SceneDestroyEntityRsp = 295; + public static final int SceneEntitiesMoveCombineNotify = 3387; + public static final int SceneEntitiesMovesReq = 279; + public static final int SceneEntitiesMovesRsp = 255; + public static final int SceneEntityAppearNotify = 221; + public static final int SceneEntityDisappearNotify = 203; + public static final int SceneEntityDrownReq = 227; + public static final int SceneEntityDrownRsp = 294; + public static final int SceneEntityMoveNotify = 275; + public static final int SceneEntityMoveReq = 290; + public static final int SceneEntityMoveRsp = 273; + public static final int SceneEntityUpdateNotify = 3412; + public static final int SceneForceLockNotify = 234; + public static final int SceneForceUnlockNotify = 206; + public static final int SceneGalleryInfoNotify = 5581; + public static final int SceneInitFinishReq = 235; + public static final int SceneInitFinishRsp = 207; + public static final int SceneKickPlayerNotify = 211; + public static final int SceneKickPlayerReq = 264; + public static final int SceneKickPlayerRsp = 238; + public static final int ScenePlayBattleInfoListNotify = 4431; + public static final int ScenePlayBattleInfoNotify = 4422; + public static final int ScenePlayBattleInterruptNotify = 4425; + public static final int ScenePlayBattleResultNotify = 4398; + public static final int ScenePlayBattleUidOpNotify = 4447; + public static final int ScenePlayGuestReplyInviteReq = 4353; + public static final int ScenePlayGuestReplyInviteRsp = 4440; + public static final int ScenePlayGuestReplyNotify = 4423; + public static final int ScenePlayInfoListNotify = 4381; + public static final int ScenePlayInviteResultNotify = 4449; + public static final int ScenePlayOutofRegionNotify = 4355; + public static final int ScenePlayOwnerCheckReq = 4448; + public static final int ScenePlayOwnerCheckRsp = 4362; + public static final int ScenePlayOwnerInviteNotify = 4371; + public static final int ScenePlayOwnerStartInviteReq = 4385; + public static final int ScenePlayOwnerStartInviteRsp = 4357; + public static final int ScenePlayerInfoNotify = 267; + public static final int ScenePlayerLocationNotify = 248; + public static final int ScenePlayerSoundNotify = 233; + public static final int ScenePointUnlockNotify = 247; + public static final int SceneRouteChangeNotify = 240; + public static final int SceneTeamUpdateNotify = 1775; + public static final int SceneTimeNotify = 245; + public static final int SceneTransToPointReq = 239; + public static final int SceneTransToPointRsp = 253; + public static final int SceneWeatherForcastReq = 3110; + public static final int SceneWeatherForcastRsp = 3012; + public static final int SeaLampCoinNotify = 2114; + public static final int SeaLampContributeItemReq = 2123; + public static final int SeaLampContributeItemRsp = 2139; + public static final int SeaLampFlyLampNotify = 2105; + public static final int SeaLampFlyLampReq = 2199; + public static final int SeaLampFlyLampRsp = 2192; + public static final int SeaLampPopularityNotify = 2032; + public static final int SeaLampTakeContributionRewardReq = 2019; + public static final int SeaLampTakeContributionRewardRsp = 2177; + public static final int SeaLampTakePhaseRewardReq = 2176; + public static final int SeaLampTakePhaseRewardRsp = 2190; + public static final int SealBattleBeginNotify = 289; + public static final int SealBattleEndNotify = 259; + public static final int SealBattleProgressNotify = 232; + public static final int SeeMonsterReq = 228; + public static final int SeeMonsterRsp = 251; + public static final int SelectAsterMidDifficultyReq = 2134; + public static final int SelectAsterMidDifficultyRsp = 2180; + public static final int SelectEffigyChallengeConditionReq = 2064; + public static final int SelectEffigyChallengeConditionRsp = 2039; + public static final int SelectRoguelikeDungeonCardReq = 8085; + public static final int SelectRoguelikeDungeonCardRsp = 8138; + public static final int SelectWorktopOptionReq = 807; + public static final int SelectWorktopOptionRsp = 821; + public static final int ServerAnnounceNotify = 2197; + public static final int ServerAnnounceRevokeNotify = 2092; + public static final int ServerBuffChangeNotify = 361; + public static final int ServerCondMeetQuestListUpdateNotify = 406; + public static final int ServerDisconnectClientNotify = 184; + public static final int ServerGlobalValueChangeNotify = 1197; + public static final int ServerLogNotify = 31; + public static final int ServerMessageNotify = 5718; + public static final int ServerTimeNotify = 99; + public static final int ServerUpdateGlobalValueNotify = 1148; + public static final int SetBattlePassViewedReq = 2641; + public static final int SetBattlePassViewedRsp = 2642; + public static final int SetChatEmojiCollectionReq = 4084; + public static final int SetChatEmojiCollectionRsp = 4080; + public static final int SetCoopChapterViewedReq = 1965; + public static final int SetCoopChapterViewedRsp = 1963; + public static final int SetCurExpeditionChallengeIdReq = 2021; + public static final int SetCurExpeditionChallengeIdRsp = 2049; + public static final int SetEntityClientDataNotify = 3146; + public static final int SetEquipLockStateReq = 666; + public static final int SetEquipLockStateRsp = 668; + public static final int SetFriendEnterHomeOptionReq = 4494; + public static final int SetFriendEnterHomeOptionRsp = 4743; + public static final int SetFriendRemarkNameReq = 4042; + public static final int SetFriendRemarkNameRsp = 4030; + public static final int SetH5ActivityRedDotTimestampReq = 5657; + public static final int SetH5ActivityRedDotTimestampRsp = 5652; + public static final int SetIsAutoUnlockSpecificEquipReq = 620; + public static final int SetIsAutoUnlockSpecificEquipRsp = 664; + public static final int SetLimitOptimizationNotify = 8851; + public static final int SetNameCardReq = 4004; + public static final int SetNameCardRsp = 4093; + public static final int SetOpenStateReq = 165; + public static final int SetOpenStateRsp = 104; + public static final int SetPlayerBirthdayReq = 4048; + public static final int SetPlayerBirthdayRsp = 4097; + public static final int SetPlayerBornDataReq = 105; + public static final int SetPlayerBornDataRsp = 182; + public static final int SetPlayerHeadImageReq = 4082; + public static final int SetPlayerHeadImageRsp = 4047; + public static final int SetPlayerNameReq = 153; + public static final int SetPlayerNameRsp = 122; + public static final int SetPlayerPropReq = 197; + public static final int SetPlayerPropRsp = 181; + public static final int SetPlayerSignatureReq = 4081; + public static final int SetPlayerSignatureRsp = 4005; + public static final int SetSceneWeatherAreaReq = 254; + public static final int SetSceneWeatherAreaRsp = 283; + public static final int SetUpAvatarTeamReq = 1690; + public static final int SetUpAvatarTeamRsp = 1646; + public static final int SetUpLunchBoxWidgetReq = 4272; + public static final int SetUpLunchBoxWidgetRsp = 4294; + public static final int SetWidgetSlotReq = 4259; + public static final int SetWidgetSlotRsp = 4277; + public static final int ShowClientGuideNotify = 3005; + public static final int ShowClientTutorialNotify = 3305; + public static final int ShowCommonTipsNotify = 3352; + public static final int ShowMessageNotify = 35; + public static final int ShowTemplateReminderNotify = 3491; + public static final int SignInInfoReq = 2512; + public static final int SignInInfoRsp = 2535; + public static final int SocialDataNotify = 4043; + public static final int SpringUseReq = 1748; + public static final int SpringUseRsp = 1642; + public static final int StartArenaChallengeLevelReq = 2127; + public static final int StartArenaChallengeLevelRsp = 2125; + public static final int StartBuoyantCombatGalleryReq = 8732; + public static final int StartBuoyantCombatGalleryRsp = 8680; + public static final int StartCoopPointReq = 1992; + public static final int StartCoopPointRsp = 1964; + public static final int StartEffigyChallengeReq = 2169; + public static final int StartEffigyChallengeRsp = 2173; + public static final int StartFishingReq = 5825; + public static final int StartFishingRsp = 5807; + public static final int StartRogueEliteCellChallengeReq = 8242; + public static final int StartRogueEliteCellChallengeRsp = 8958; + public static final int StartRogueNormalCellChallengeReq = 8205; + public static final int StartRogueNormalCellChallengeRsp = 8036; + public static final int StoreItemChangeNotify = 612; + public static final int StoreItemDelNotify = 635; + public static final int StoreWeightLimitNotify = 698; + public static final int SummerTimeFloatSignalPositionNotify = 8077; + public static final int SummerTimeFloatSignalUpdateNotify = 8781; + public static final int SummerTimeSprintBoatRestartReq = 8410; + public static final int SummerTimeSprintBoatRestartRsp = 8356; + public static final int SummerTimeSprintBoatSettleNotify = 8651; + public static final int SumoDungeonSettleNotify = 8291; + public static final int SumoEnterDungeonNotify = 8013; + public static final int SumoLeaveDungeonNotify = 8640; + public static final int SumoRestartDungeonReq = 8612; + public static final int SumoRestartDungeonRsp = 8214; + public static final int SumoSaveTeamReq = 8313; + public static final int SumoSaveTeamRsp = 8319; + public static final int SumoSelectTeamAndEnterDungeonReq = 8215; + public static final int SumoSelectTeamAndEnterDungeonRsp = 8193; + public static final int SumoSetNoSwitchPunishTimeNotify = 8935; + public static final int SumoSwitchTeamReq = 8351; + public static final int SumoSwitchTeamRsp = 8525; + public static final int SyncScenePlayTeamEntityNotify = 3333; + public static final int SyncTeamEntityNotify = 317; + public static final int TakeAchievementGoalRewardReq = 2652; + public static final int TakeAchievementGoalRewardRsp = 2681; + public static final int TakeAchievementRewardReq = 2675; + public static final int TakeAchievementRewardRsp = 2657; + public static final int TakeAsterSpecialRewardReq = 2097; + public static final int TakeAsterSpecialRewardRsp = 2193; + public static final int TakeBattlePassMissionPointReq = 2629; + public static final int TakeBattlePassMissionPointRsp = 2622; + public static final int TakeBattlePassRewardReq = 2602; + public static final int TakeBattlePassRewardRsp = 2631; + public static final int TakeCityReputationExploreRewardReq = 2897; + public static final int TakeCityReputationExploreRewardRsp = 2881; + public static final int TakeCityReputationLevelRewardReq = 2812; + public static final int TakeCityReputationLevelRewardRsp = 2835; + public static final int TakeCityReputationParentQuestReq = 2821; + public static final int TakeCityReputationParentQuestRsp = 2803; + public static final int TakeCompoundOutputReq = 174; + public static final int TakeCompoundOutputRsp = 176; + public static final int TakeCoopRewardReq = 1973; + public static final int TakeCoopRewardRsp = 1985; + public static final int TakeDeliveryDailyRewardReq = 2121; + public static final int TakeDeliveryDailyRewardRsp = 2162; + public static final int TakeEffigyFirstPassRewardReq = 2196; + public static final int TakeEffigyFirstPassRewardRsp = 2061; + public static final int TakeEffigyRewardReq = 2040; + public static final int TakeEffigyRewardRsp = 2007; + public static final int TakeFirstShareRewardReq = 4074; + public static final int TakeFirstShareRewardRsp = 4076; + public static final int TakeFurnitureMakeReq = 4772; + public static final int TakeFurnitureMakeRsp = 4769; + public static final int TakeHuntingOfferReq = 4326; + public static final int TakeHuntingOfferRsp = 4318; + public static final int TakeInvestigationRewardReq = 1912; + public static final int TakeInvestigationRewardRsp = 1922; + public static final int TakeInvestigationTargetRewardReq = 1918; + public static final int TakeInvestigationTargetRewardRsp = 1916; + public static final int TakeMaterialDeleteReturnReq = 629; + public static final int TakeMaterialDeleteReturnRsp = 657; + public static final int TakeOfferingLevelRewardReq = 2919; + public static final int TakeOfferingLevelRewardRsp = 2911; + public static final int TakePlayerLevelRewardReq = 129; + public static final int TakePlayerLevelRewardRsp = 157; + public static final int TakeRegionSearchRewardReq = 5625; + public static final int TakeRegionSearchRewardRsp = 5607; + public static final int TakeResinCardDailyRewardReq = 4122; + public static final int TakeResinCardDailyRewardRsp = 4144; + public static final int TakeReunionFirstGiftRewardReq = 5075; + public static final int TakeReunionFirstGiftRewardRsp = 5057; + public static final int TakeReunionMissionRewardReq = 5092; + public static final int TakeReunionMissionRewardRsp = 5064; + public static final int TakeReunionSignInRewardReq = 5079; + public static final int TakeReunionSignInRewardRsp = 5072; + public static final int TakeReunionWatcherRewardReq = 5070; + public static final int TakeReunionWatcherRewardRsp = 5095; + public static final int TakeoffEquipReq = 605; + public static final int TakeoffEquipRsp = 682; + public static final int TaskVarNotify = 160; + public static final int TeamResonanceChangeNotify = 1082; + public static final int TowerAllDataReq = 2490; + public static final int TowerAllDataRsp = 2473; + public static final int TowerBriefDataNotify = 2472; + public static final int TowerBuffSelectReq = 2448; + public static final int TowerBuffSelectRsp = 2497; + public static final int TowerCurLevelRecordChangeNotify = 2412; + public static final int TowerDailyRewardProgressChangeNotify = 2435; + public static final int TowerEnterLevelReq = 2431; + public static final int TowerEnterLevelRsp = 2475; + public static final int TowerFloorRecordChangeNotify = 2498; + public static final int TowerGetFloorStarRewardReq = 2404; + public static final int TowerGetFloorStarRewardRsp = 2493; + public static final int TowerLevelEndNotify = 2495; + public static final int TowerLevelStarCondNotify = 2406; + public static final int TowerMiddleLevelChangeTeamNotify = 2434; + public static final int TowerRecordHandbookReq = 2450; + public static final int TowerRecordHandbookRsp = 2443; + public static final int TowerSurrenderReq = 2422; + public static final int TowerSurrenderRsp = 2465; + public static final int TowerTeamSelectReq = 2421; + public static final int TowerTeamSelectRsp = 2403; + public static final int TreasureMapBonusChallengeNotify = 2115; + public static final int TreasureMapCurrencyNotify = 2171; + public static final int TreasureMapDetectorDataNotify = 4300; + public static final int TreasureMapGuideTaskDoneNotify = 2119; + public static final int TreasureMapHostInfoNotify = 8681; + public static final int TreasureMapMpChallengeNotify = 2048; + public static final int TreasureMapPreTaskDoneNotify = 2152; + public static final int TreasureMapRegionActiveNotify = 2122; + public static final int TreasureMapRegionInfoNotify = 2185; + public static final int TrialAvatarFirstPassDungeonNotify = 2013; + public static final int TrialAvatarInDungeonIndexNotify = 2186; + public static final int TriggerCreateGadgetToEquipPartNotify = 350; + public static final int TriggerRoguelikeCurseNotify = 8412; + public static final int TriggerRoguelikeRuneReq = 8463; + public static final int TriggerRoguelikeRuneRsp = 8065; + public static final int TryEnterHomeReq = 4482; + public static final int TryEnterHomeRsp = 4653; + public static final int UnfreezeGroupLimitNotify = 3220; + public static final int UnionCmdNotify = 5; + public static final int Unk2200_DEHCEKCILAB_ClientNotify = 88; + public static final int Unk2700_AAHKMNNAFIH = 8231; + public static final int Unk2700_ACILPONNGGK_ClientReq = 4537; + public static final int Unk2700_ADBFKMECFNJ_ClientNotify = 6240; + public static final int Unk2700_AEEMJIMOPKD = 8481; + public static final int Unk2700_AHHFDDOGCNA = 8768; + public static final int Unk2700_AHOMMGBBIAH = 8066; + public static final int Unk2700_AIBHKIENDPF = 8147; + public static final int Unk2700_AIGKGLHBMCP_ServerRsp = 6244; + public static final int Unk2700_AIKOFHAKNPC = 8740; + public static final int Unk2700_AKIBKKOMBMC = 8120; + public static final int Unk2700_ALBPFHFJHHF_ClientReq = 6036; + public static final int Unk2700_ALFEKGABMAA = 8022; + public static final int Unk2700_AMOEOCPOMGJ_ClientReq = 6090; + public static final int Unk2700_ANEBALDAFJI = 8357; + public static final int Unk2700_ANGBJGAOMHF_ClientReq = 6344; + public static final int Unk2700_AOIJNFMIAIP = 8614; + public static final int Unk2700_APNHPEJCDMO = 8610; + public static final int Unk2700_APOBKAEHMEL = 8216; + public static final int Unk2700_BBLJNCKPKPN = 8192; + public static final int Unk2700_BBMKJGPMIOE = 8580; + public static final int Unk2700_BCFKCLHCBDI = 8419; + public static final int Unk2700_BCPHPHGOKGN = 8227; + public static final int Unk2700_BEDCCMDPNCH = 8499; + public static final int Unk2700_BEDLIGJANCJ_ClientReq = 4558; + public static final int Unk2700_BEINCMBJDAA_ClientReq = 333; + public static final int Unk2700_BKEELPKCHGO_ClientReq = 6209; + public static final int Unk2700_BKGPMAHMHIG = 8561; + public static final int Unk2700_BLCHNMCGJCJ = 8948; + public static final int Unk2700_BLFFJBMLAPI = 8772; + public static final int Unk2700_BLHIGLFDHFA_ServerNotify = 4654; + public static final int Unk2700_BLNOMGJJLOI = 8854; + public static final int Unk2700_BMDBBHFJMPF = 8178; + public static final int Unk2700_BNABFJBODGE = 8226; + public static final int Unk2700_BNCBHLOKDCD = 8602; + public static final int Unk2700_BNMDCEKPDMC = 8641; + public static final int Unk2700_BOEHCEAAKKA = 8921; + public static final int Unk2700_BOPIJJPNHCK = 8590; + public static final int Unk2700_BPFNCHEFKJM = 8449; + public static final int Unk2700_BPPDLOJLAAO = 8280; + public static final int Unk2700_CALNMMBNKFD = 8502; + public static final int Unk2700_CAODHBDOGNE = 8597; + public static final int Unk2700_CBGOFDNILKA = 8159; + public static final int Unk2700_CCCKFHICDHD_ClientNotify = 3314; + public static final int Unk2700_CEEONDKDIHH_ClientReq = 6213; + public static final int Unk2700_CFLKEDHFPAB = 8143; + public static final int Unk2700_CGNFBKKBPJE = 8240; + public static final int Unk2700_CHICHNGLKPI = 8149; + public static final int Unk2700_CILGDLMHCNG_ServerNotify = 1951; + public static final int Unk2700_CIOMEDJDPBP_ClientReq = 6342; + public static final int Unk2700_CJKCCLEGPCM = 8153; + public static final int Unk2700_CLKGPNDKIDD = 8725; + public static final int Unk2700_CLMGFEOPNFH = 8938; + public static final int Unk2700_CNEIMEHAAAF = 8903; + public static final int Unk2700_CNNJKJFHGGD = 8264; + public static final int Unk2700_COGBIJAPDLE = 8535; + public static final int Unk2700_CPDDDMPAIDL = 8817; + public static final int Unk2700_CPEMGFIMICD = 8588; + public static final int Unk2700_DAGJNGODABM_ClientReq = 6329; + public static final int Unk2700_DBPDHLEGOLB = 8127; + public static final int Unk2700_DCBEFDDECOJ = 8858; + public static final int Unk2700_DCKKCAJCNKP_ServerRsp = 6207; + public static final int Unk2700_DDAHPHCEIIM = 8144; + public static final int Unk2700_DDLBKAMGGEE_ServerRsp = 6215; + public static final int Unk2700_DFOHGHKAIBO = 8442; + public static final int Unk2700_DGLIANMBMPA = 8342; + public static final int Unk2700_DJMKFGKGAEA = 8411; + public static final int Unk2700_DLAEFMAMIIJ = 8844; + public static final int Unk2700_EAAGDFHHNMJ_ServerReq = 1105; + public static final int Unk2700_EAAMIOAFNOD_ServerRsp = 4064; + public static final int Unk2700_EAGIANJBNGK_ClientReq = 151; + public static final int Unk2700_EAOAMGDLJMP = 8617; + public static final int Unk2700_EBJCAMGPFDB = 8838; + public static final int Unk2700_EBOECOIFJMP = 8717; + public static final int Unk2700_ECBEAMKBGMD_ClientReq = 6235; + public static final int Unk2700_EDCIENBEEDI = 8919; + public static final int Unk2700_EDDNHJPJBBF = 8733; + public static final int Unk2700_EDMCLPMBEMH = 8387; + public static final int Unk2700_EELPPGCAKHL = 8373; + public static final int Unk2700_EHAMOPKCIGI_ServerNotify = 4805; + public static final int Unk2700_EHFBIEDHILL = 8882; + public static final int Unk2700_EJHALNBHHHD_ServerRsp = 6322; + public static final int Unk2700_EJIOFGEEIOM = 8837; + public static final int Unk2700_EKBMEKPHJGK = 8726; + public static final int Unk2700_EMHAHHAKOGA = 8163; + public static final int Unk2700_FADPOMMGLCH = 8918; + public static final int Unk2700_FCLBOLKPMGK = 8753; + public static final int Unk2700_FDJBLKOBFIH = 8334; + public static final int Unk2700_FEODEAEOOKE = 8507; + public static final int Unk2700_FFMAKIPBPHE = 8989; + public static final int Unk2700_FFOBMLOCPMH_ClientNotify = 6211; + public static final int Unk2700_FGEEFFLBAKO = 8546; + public static final int Unk2700_FGJBPNIKNDE = 8398; + public static final int Unk2700_FIODAJPNBIK = 8937; + public static final int Unk2700_FJEHHCPCBLG_ServerNotify = 4872; + public static final int Unk2700_FJJFKOEACCE = 8450; + public static final int Unk2700_FKCDCGCBIEA_ServerNotify = 6276; + public static final int Unk2700_FKMOKPBJIKO = 8482; + public static final int Unk2700_FLGMLEFJHBB_ClientReq = 6210; + public static final int Unk2700_FMNAGFKECPL_ClientReq = 6222; + public static final int Unk2700_FNHKFHGNLPP_ServerRsp = 6248; + public static final int Unk2700_FNJHJKELICK = 8119; + public static final int Unk2700_FOOOKMANFPE_ClientReq = 6249; + public static final int Unk2700_FPCJGEOBADP_ServerRsp = 6204; + public static final int Unk2700_FPJLFMEHHLB_ServerNotify = 4060; + public static final int Unk2700_FPOBGEBDAOD_ServerNotify = 5547; + public static final int Unk2700_GBJOLBGLELJ = 8014; + public static final int Unk2700_GDODKDJJPMP_ServerRsp = 4605; + public static final int Unk2700_GECHLGFKPOD_ServerNotify = 5364; + public static final int Unk2700_GEIGCHNDOAA = 8657; + public static final int Unk2700_GFMPOHAGMLO_ClientReq = 6250; + public static final int Unk2700_GIAILDLPEOO_ServerRsp = 6241; + public static final int Unk2700_GIFGEDBCPFC_ServerRsp = 417; + public static final int Unk2700_GIFKPMNGNGB = 8608; + public static final int Unk2700_GKHEKGMFBJN = 8688; + public static final int Unk2700_GKKNFMNJFDP = 8261; + public static final int Unk2700_GLAPMLGHDDC_ClientReq = 5960; + public static final int Unk2700_GLIILNDIPLK_ServerNotify = 6341; + public static final int Unk2700_GLLIEOABOML = 8057; + public static final int Unk2700_GMNGEEBMABP = 8352; + public static final int Unk2700_GNDOKLHDHBJ_ClientReq = 6245; + public static final int Unk2700_GNOAKIGLPCG = 8991; + public static final int Unk2700_GNPPPIHBDLJ = 8709; + public static final int Unk2700_GPHLCIAMDFG = 8095; + public static final int Unk2700_GPIHGEEKBOO_ClientReq = 6233; + public static final int Unk2700_GPOIPAHPHJE = 8967; + public static final int Unk2700_HBLAGOMHKPL_ClientRsp = 137; + public static final int Unk2700_HBOFACHAGIF_ServerNotify = 9072; + public static final int Unk2700_HDBFJJOBIAP_ClientReq = 6325; + public static final int Unk2700_HFCDIGNAAPJ = 8129; + public static final int Unk2700_HGMCBHFFDLJ = 8826; + public static final int Unk2700_HGMOIKODALP_ServerRsp = 6220; + public static final int Unk2700_HHGMCHANCBJ_ServerNotify = 6217; + public static final int Unk2700_HIIFAMCBJCD_ServerRsp = 4206; + public static final int Unk2700_HJKOHHGBMJP = 8933; + public static final int Unk2700_HKADKMFMBPG = 8017; + public static final int Unk2700_HMFCCGCKHCA = 8946; + public static final int Unk2700_HMHHLEHFBLB = 8713; + public static final int Unk2700_HMMFPDMLGEM = 8554; + public static final int Unk2700_HNFGBBECGMJ = 8607; + public static final int Unk2700_HOPDLJLBKIC_ServerRsp = 6056; + public static final int Unk2700_IAADLJBLOIN_ServerNotify = 4092; + public static final int Unk2700_IAAPADOAMIA = 8414; + public static final int Unk2700_IACKJNNMCAC_ClientReq = 4523; + public static final int Unk2700_IBOKDNKBMII = 8825; + public static final int Unk2700_ICABIPHHPKE = 8028; + public static final int Unk2700_IDADEMGCJBF_ClientNotify = 6243; + public static final int Unk2700_IDAGMLJOJMP = 8799; + public static final int Unk2700_IDGCNKONBBJ = 8793; + public static final int Unk2700_IEFAGBHIODK = 8402; + public static final int Unk2700_IEGOOOECBFH = 8880; + public static final int Unk2700_IGPIIHEDJLJ_ServerRsp = 6218; + public static final int Unk2700_IHLONDFBCOE_ClientReq = 6320; + public static final int Unk2700_IHOOCHJACEL = 8325; + public static final int Unk2700_IHPFBKANGMJ = 8771; + public static final int Unk2700_IJFEPCBOLDF = 8756; + public static final int Unk2700_IJLANPFECKC = 8277; + public static final int Unk2700_ILBBAKACCHA_ClientReq = 470; + public static final int Unk2700_ILLDDDFLKHP = 8959; + public static final int Unk2700_IMHNKDHHGMA = 8186; + public static final int Unk2700_INBDPOIMAHK_ClientReq = 6242; + public static final int Unk2700_INOMEGGAGOP = 8132; + public static final int Unk2700_IPGJEAEFJMM_ServerRsp = 6318; + public static final int Unk2700_JCKGJAELBMB = 8704; + public static final int Unk2700_JCOECJGPNOL_ServerRsp = 5929; + public static final int Unk2700_JDMPECKFGIG_ServerNotify = 4639; + public static final int Unk2700_JEFIMHGLOJF = 8096; + public static final int Unk2700_JEHIAJHHIMP_ServerNotify = 109; + public static final int Unk2700_JFGFIDBPGBK = 8381; + public static final int Unk2700_JHMIHJFFJBO = 8862; + public static final int Unk2700_JJAFAJIKDDK_ServerRsp = 6307; + public static final int Unk2700_JJCDNAHAPKD_ClientReq = 6226; + public static final int Unk2700_JKFGMBAMNDA_ServerNotify = 5320; + public static final int Unk2700_JKOKBPFCILA_ClientReq = 467; + public static final int Unk2700_JLOFMANHGHI_ClientReq = 6247; + public static final int Unk2700_JNCINBLCNNL = 8696; + public static final int Unk2700_JOHOODKBINN_ClientReq = 4256; + public static final int Unk2700_JPLFIOOMCGG = 8142; + public static final int Unk2700_KAJNLGIDKAB_ServerRsp = 4289; + public static final int Unk2700_KDDPDHGPGEF_ServerRsp = 123; + public static final int Unk2700_KDFNIGOBLEK = 8308; + public static final int Unk2700_KDNNKELPJFL = 8777; + public static final int Unk2700_KEMOFNEAOOO_ClientRsp = 1182; + public static final int Unk2700_KFPEIHHCCLA = 8978; + public static final int Unk2700_KGHOJPDNMKK_ServerRsp = 4641; + public static final int Unk2700_KGNJIBIMAHI = 8842; + public static final int Unk2700_KHLJJPGOELG_ClientReq = 6225; + public static final int Unk2700_KIHEEAGDGIL_ServerNotify = 108; + public static final int Unk2700_KIIOGMKFNNP_ServerRsp = 4615; + public static final int Unk2700_KKEDIMOKCGD = 8218; + public static final int Unk2700_KMIDCPLAGMN = 8848; + public static final int Unk2700_KMNPMLCHELD_ServerRsp = 6201; + public static final int Unk2700_KNGFOEKOODA_ServerRsp = 2163; + public static final int Unk2700_KNMDFCBLIIG_ServerRsp = 384; + public static final int Unk2700_KOGOPPONCHB_ClientReq = 4208; + public static final int Unk2700_KPGMEMHEEMD = 8185; + public static final int Unk2700_KPMMEBNMMCL = 8363; + public static final int Unk2700_LAFHGMOPCCM_ServerNotify = 5553; + public static final int Unk2700_LBJKLAGNDEJ_ClientReq = 4759; + public static final int Unk2700_LBOPCDPFJEC = 8062; + public static final int Unk2700_LCFGKHHIAEH_ServerNotify = 4014; + public static final int Unk2700_LDJLMCAHHEN = 8748; + public static final int Unk2700_LEMPLKGOOJC = 8362; + public static final int Unk2700_LGAGHFKFFDO_ServerRsp = 6349; + public static final int Unk2700_LGGAIDMLDIA_ServerReq = 177; + public static final int Unk2700_LGHJBAEBJKE_ServerRsp = 6227; + public static final int Unk2700_LHMOFCJCIKM = 9000; + public static final int Unk2700_LIJCBOBECHJ = 8964; + public static final int Unk2700_LJINJNECBIA = 8113; + public static final int Unk2700_LKFKCNJFGIF_ServerRsp = 458; + public static final int Unk2700_LKPBBMPFPPE_ClientReq = 6326; + public static final int Unk2700_LLBCBPADBNO = 8154; + public static final int Unk2700_LMAKABBJNLN = 8253; + public static final int Unk2700_LNBBLNNPNBE_ServerNotify = 4583; + public static final int Unk2700_LNMFIHNFKOO = 8572; + public static final int Unk2700_LOHBMOKOPLH_ServerNotify = 4608; + public static final int Unk2700_LPMIMLCNEDA = 8518; + public static final int Unk2700_MBIAJKLACBG = 5757; + public static final int Unk2700_MCJIOOELGHG_ServerNotify = 6033; + public static final int Unk2700_MCOFAKMDMEF_ServerRsp = 6345; + public static final int Unk2700_MDGKMNEBIBA = 8038; + public static final int Unk2700_MDPHLPEGFCG_ClientReq = 4020; + public static final int Unk2700_MEBFPBDNPGO_ServerNotify = 4847; + public static final int Unk2700_MEFJECGAFNH_ServerNotify = 5338; + public static final int Unk2700_MENCEGPEFAK = 8791; + public static final int Unk2700_MFAIPHGDPBL = 8345; + public static final int Unk2700_MFINCDMFGLD_ServerNotify = 152; + public static final int Unk2700_MHMBDFKOOLJ_ClientNotify = 6234; + public static final int Unk2700_MIBHNLEMICB = 8462; + public static final int Unk2700_MIEJMGNBPJE = 8377; + public static final int Unk2700_MJAIKMBPKCD = 8569; + public static final int Unk2700_MJCCKKHJNMP_ServerRsp = 6212; + public static final int Unk2700_MKAFBOPFDEF_ServerNotify = 430; + public static final int Unk2700_MKLLNAHEJJC_ServerRsp = 4287; + public static final int Unk2700_MKMDOIKBBEP = 8026; + public static final int Unk2700_MLMJFIGJJEH_ServerNotify = 4878; + public static final int Unk2700_MMDCAFMGACC_ServerNotify = 6221; + public static final int Unk2700_MMFIJILOCOP_ClientReq = 4486; + public static final int Unk2700_MNIBEMEMGMO = 8514; + public static final int Unk2700_MPPAHFFHIPI_ServerNotify = 4187; + public static final int Unk2700_NAEHEDLGLKA = 8257; + public static final int Unk2700_NBFJOJPCCEK_ServerRsp = 6057; + public static final int Unk2700_NBFOJLAHFCA_ServerNotify = 5928; + public static final int Unk2700_NCJLMACGOCD_ClientNotify = 933; + public static final int Unk2700_NCMPMILICGJ = 8407; + public static final int Unk2700_NCPLKHGCOAH = 8767; + public static final int Unk2700_NDDBFNNHLFE = 8340; + public static final int Unk2700_NEHPMNPAAKC = 8806; + public static final int Unk2700_NELNFCMDMHE_ServerRsp = 6314; + public static final int Unk2700_NFGNGFLNOOJ_ServerNotify = 4811; + public static final int Unk2700_NGEKONFLEBB = 8703; + public static final int Unk2700_NGPMINKIOPK = 8956; + public static final int Unk2700_NIMPHALPEPO_ClientNotify = 6236; + public static final int Unk2700_NINHGODEMHH_ServerNotify = 2155; + public static final int Unk2700_NJNMEFINDCF = 8093; + public static final int Unk2700_NKIEIGPLMIO = 8459; + public static final int Unk2700_NLBJHDNKPCC = 8626; + public static final int Unk2700_NLJBCGILMIE = 8281; + public static final int Unk2700_NMEENGOJOKD = 8930; + public static final int Unk2700_NMJCGMOOIFP = 8061; + public static final int Unk2700_NMJIMIKKIME = 8943; + public static final int Unk2700_NNDKOICOGGH_ServerNotify = 5539; + public static final int Unk2700_NNMDBDNIMHN_ServerRsp = 4538; + public static final int Unk2700_OBCKNDBAPGE = 8072; + public static final int Unk2700_OBDHJJHLIKJ = 8523; + public static final int Unk2700_OCAJADDLPBB = 8718; + public static final int Unk2700_ODBNBICOCFK = 8054; + public static final int Unk2700_ODJKHILOILK = 8067; + public static final int Unk2700_OEDLCGKNGLH = 8686; + public static final int Unk2700_OFDBHGHAJBD_ServerNotify = 6223; + public static final int Unk2700_OGHMHELMBNN_ServerRsp = 4488; + public static final int Unk2700_OHDDPIFAPPD = 8125; + public static final int Unk2700_OHIKIOLLMHM = 8233; + public static final int Unk2700_OJHJBKHIPLA_ClientReq = 2009; + public static final int Unk2700_OJLJMJLKNGJ_ClientReq = 6203; + public static final int Unk2700_OKEKCGDGPDA = 8396; + public static final int Unk2700_OKNDIGOKMMC = 8426; + public static final int Unk2700_OLKJCGDHENH = 8343; + public static final int Unk2700_ONKMCKLJNAL = 8401; + public static final int Unk2700_PBGBOLJMIIB = 8924; + public static final int Unk2700_PCBGAIAJPHH = 8758; + public static final int Unk2700_PDGJFHAGMKD = 8447; + public static final int Unk2700_PFFKAEPBEHE_ServerRsp = 6214; + public static final int Unk2700_PFOLNOBIKFB = 8833; + public static final int Unk2700_PHFADCJDBOF = 8559; + public static final int Unk2700_PHLEDBIFIFL = 8165; + public static final int Unk2700_PIEJLIIGLGM_ServerRsp = 6237; + public static final int Unk2700_PIEJMALFKIF = 8531; + public static final int Unk2700_PJCMAELKFEP = 8367; + public static final int Unk2700_PJPMOLPHNEH = 8895; + public static final int Unk2700_PKCLMDHHPFI = 8423; + public static final int Unk2700_PKKJEOFNLCF = 8983; + public static final int Unk2700_PMKNJBJPLBH = 8385; + public static final int Unk2700_PPBALCAKIBD = 8273; + public static final int Unk2700_PPOGMFAKBMK_ServerRsp = 6219; + public static final int Unk2800_ACHELBEEBIP = 21800; + public static final int Unk2800_ANGFAFEJBAE = 846; + public static final int Unk2800_BDAPFODFMNE = 24550; + public static final int Unk2800_BOFEHJBJELJ = 8574; + public static final int Unk2800_CHEDEMEDPPM = 5565; + public static final int Unk2800_COCHLKHLCPO = 23467; + public static final int Unk2800_DKDJCLLNGNL = 8346; + public static final int Unk2800_DNKCFLKHKJG = 876; + public static final int Unk2800_DPINLADLBFA = 1902; + public static final int Unk2800_ECCLDPCADCJ = 1921; + public static final int Unk2800_EKGCCBDIKFI = 21851; + public static final int Unk2800_FHCJIICLONO = 21025; + public static final int Unk2800_GDDLBKEENNA = 24601; + public static final int Unk2800_HHPCNJGKIPP = 23388; + public static final int Unk2800_HKBAEOMCFOD = 145; + public static final int Unk2800_IBDOMAIDPGK = 5594; + public static final int Unk2800_IECLGDFOMFJ = 8513; + public static final int Unk2800_IGKGDAGGCEC = 1684; + public static final int Unk2800_IILBEPIEBJO = 8476; + public static final int Unk2800_ILKIAECAAKG = 3004; + public static final int Unk2800_JCPNICABMAF = 5504; + public static final int Unk2800_KFNCDHFHJPD = 8996; + public static final int Unk2800_KHLHFFHGEHA = 21834; + public static final int Unk2800_KILFIICJLEE = 5593; + public static final int Unk2800_KJEOLFNEOPF = 1768; + public static final int Unk2800_KOMBBIEEGCP = 5522; + public static final int Unk2800_KPJKAJLNAED = 874; + public static final int Unk2800_LGIKLPBOJOI = 8145; + public static final int Unk2800_LIBCDGDJMDF = 5527; + public static final int Unk2800_MNBDNGKGDGF = 8004; + public static final int Unk2800_NHEOHBNFHJD = 8870; + public static final int Unk2800_OFIHDGFMDGB = 171; + public static final int Unk2800_OMGNOBICOCD = 843; + public static final int Unk2800_OOKIPFHPJMG = 21054; + public static final int UnlockAvatarTalentReq = 1072; + public static final int UnlockAvatarTalentRsp = 1098; + public static final int UnlockCoopChapterReq = 1970; + public static final int UnlockCoopChapterRsp = 1995; + public static final int UnlockNameCardNotify = 4006; + public static final int UnlockPersonalLineReq = 449; + public static final int UnlockPersonalLineRsp = 491; + public static final int UnlockTransPointReq = 3035; + public static final int UnlockTransPointRsp = 3426; + public static final int UnlockedFurnitureFormulaDataNotify = 4846; + public static final int UnlockedFurnitureSuiteDataNotify = 4454; + public static final int UnmarkEntityInMinMapNotify = 219; + public static final int UpdateAbilityCreatedMovingPlatformNotify = 881; + public static final int UpdatePS4BlockListReq = 4046; + public static final int UpdatePS4BlockListRsp = 4041; + public static final int UpdatePS4FriendListNotify = 4039; + public static final int UpdatePS4FriendListReq = 4089; + public static final int UpdatePS4FriendListRsp = 4059; + public static final int UpdatePlayerShowAvatarListReq = 4067; + public static final int UpdatePlayerShowAvatarListRsp = 4058; + public static final int UpdatePlayerShowNameCardListReq = 4002; + public static final int UpdatePlayerShowNameCardListRsp = 4019; + public static final int UpdateRedPointNotify = 93; + public static final int UpdateReunionWatcherNotify = 5091; + public static final int UpgradeRoguelikeShikigamiReq = 8151; + public static final int UpgradeRoguelikeShikigamiRsp = 8966; + public static final int UseItemReq = 690; + public static final int UseItemRsp = 673; + public static final int UseMiracleRingReq = 5226; + public static final int UseMiracleRingRsp = 5218; + public static final int UseWidgetCreateGadgetReq = 4293; + public static final int UseWidgetCreateGadgetRsp = 4290; + public static final int UseWidgetRetractGadgetReq = 4286; + public static final int UseWidgetRetractGadgetRsp = 4261; + public static final int VehicleInteractReq = 865; + public static final int VehicleInteractRsp = 804; + public static final int VehicleStaminaNotify = 834; + public static final int ViewCodexReq = 4202; + public static final int ViewCodexRsp = 4201; + public static final int WatcherAllDataNotify = 2272; + public static final int WatcherChangeNotify = 2298; + public static final int WatcherEventNotify = 2212; + public static final int WatcherEventTypeNotify = 2235; + public static final int WaterSpritePhaseFinishNotify = 2025; + public static final int WeaponAwakenReq = 695; + public static final int WeaponAwakenRsp = 606; + public static final int WeaponPromoteReq = 622; + public static final int WeaponPromoteRsp = 665; + public static final int WeaponUpgradeReq = 639; + public static final int WeaponUpgradeRsp = 653; + public static final int WearEquipReq = 697; + public static final int WearEquipRsp = 681; + public static final int WidgetActiveChangeNotify = 4280; + public static final int WidgetCoolDownNotify = 4295; + public static final int WidgetDoBagReq = 4255; + public static final int WidgetDoBagRsp = 4296; + public static final int WidgetGadgetAllDataNotify = 4284; + public static final int WidgetGadgetDataNotify = 4266; + public static final int WidgetGadgetDestroyNotify = 4274; + public static final int WidgetReportReq = 4291; + public static final int WidgetReportRsp = 4292; + public static final int WidgetSlotChangeNotify = 4267; + public static final int WidgetUseAttachAbilityGroupChangeNotify = 4258; + public static final int WindSeedClientNotify = 1199; + public static final int WorktopOptionNotify = 835; + public static final int WorldAllRoutineTypeNotify = 3518; + public static final int WorldDataNotify = 3308; + public static final int WorldOwnerBlossomBriefInfoNotify = 2735; + public static final int WorldOwnerBlossomScheduleInfoNotify = 2707; + public static final int WorldOwnerDailyTaskNotify = 102; + public static final int WorldPlayerDieNotify = 285; + public static final int WorldPlayerInfoNotify = 3116; + public static final int WorldPlayerLocationNotify = 258; + public static final int WorldPlayerRTTNotify = 22; + public static final int WorldPlayerReviveReq = 225; + public static final int WorldPlayerReviveRsp = 278; + public static final int WorldRoutineChangeNotify = 3507; + public static final int WorldRoutineTypeCloseNotify = 3502; + public static final int WorldRoutineTypeRefreshNotify = 3525; - // Unknown - - public static final HashSet BANNED_PACKETS = new HashSet() {{ - add(PacketOpcodes.WindSeedClientNotify); - add(PacketOpcodes.PlayerLuaShellNotify); - }}; } diff --git a/proto/AbilityActionGenerateElemBall.proto b/proto/AbilityActionGenerateElemBall.proto index d048d75c..d38a51da 100644 --- a/proto/AbilityActionGenerateElemBall.proto +++ b/proto/AbilityActionGenerateElemBall.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityActionGenerateElemBall { - Vector pos = 1; - Vector rot = 2; - uint32 room_id = 3; + uint32 room_id = 2; + Vector pos = 7; + Vector rot = 13; } diff --git a/proto/AbilityAppliedAbility.proto b/proto/AbilityAppliedAbility.proto index f190d1d8..34050428 100644 --- a/proto/AbilityAppliedAbility.proto +++ b/proto/AbilityAppliedAbility.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityScalarValueEntry.proto"; import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityAppliedAbility { AbilityString ability_name = 1; AbilityString ability_override = 2; diff --git a/proto/AbilityAppliedModifier.proto b/proto/AbilityAppliedModifier.proto index dc4da809..ff33e9dd 100644 --- a/proto/AbilityAppliedModifier.proto +++ b/proto/AbilityAppliedModifier.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityAttachedModifier.proto"; import "AbilityString.proto"; import "ModifierDurability.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityAppliedModifier { int32 modifier_local_id = 1; uint32 parent_ability_entity_id = 2; diff --git a/proto/AbilityAttachedModifier.proto b/proto/AbilityAttachedModifier.proto index cce85e48..28c8e73f 100644 --- a/proto/AbilityAttachedModifier.proto +++ b/proto/AbilityAttachedModifier.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AbilityChangeNotify.proto b/proto/AbilityChangeNotify.proto index d6bad016..9609d473 100644 --- a/proto/AbilityChangeNotify.proto +++ b/proto/AbilityChangeNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityControlBlock.proto"; -// CmdId: 1155 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1131 // EnetChannelId: 0 // EnetIsReliable: true message AbilityChangeNotify { - uint32 entity_id = 3; - AbilityControlBlock ability_control_block = 10; + uint32 entity_id = 1; + AbilityControlBlock ability_control_block = 15; } diff --git a/proto/AbilityControlBlock.proto b/proto/AbilityControlBlock.proto index eaf2e1e0..1f2285df 100644 --- a/proto/AbilityControlBlock.proto +++ b/proto/AbilityControlBlock.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "AbilityEmbryo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityControlBlock { repeated AbilityEmbryo ability_embryo_list = 1; } diff --git a/proto/AbilityEmbryo.proto b/proto/AbilityEmbryo.proto index 98b6aa76..5b5b2c94 100644 --- a/proto/AbilityEmbryo.proto +++ b/proto/AbilityEmbryo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AbilityGadgetInfo.proto b/proto/AbilityGadgetInfo.proto index b2eaf39b..23ae49be 100644 --- a/proto/AbilityGadgetInfo.proto +++ b/proto/AbilityGadgetInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AbilityIdentifier.proto b/proto/AbilityIdentifier.proto index 544e13dd..987b9593 100644 --- a/proto/AbilityIdentifier.proto +++ b/proto/AbilityIdentifier.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AbilityIdentifier { - uint32 instanced_ability_id = 1; - uint32 ability_caster_id = 2; - int32 local_id = 3; - uint32 instanced_modifier_id = 4; - uint32 modifier_owner_id = 5; + uint32 modifier_owner_id = 2; + uint32 instanced_modifier_id = 9; + uint32 instanced_ability_id = 10; bool is_serverbuff_modifier = 6; + uint32 ability_caster_id = 15; + int32 local_id = 3; } diff --git a/proto/AbilityInvocationsNotify.proto b/proto/AbilityInvocationsNotify.proto index b49deb93..3362d818 100644 --- a/proto/AbilityInvocationsNotify.proto +++ b/proto/AbilityInvocationsNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityInvokeEntry.proto"; -// CmdId: 1131 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1198 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AbilityInvocationsNotify { - repeated AbilityInvokeEntry invokes = 8; + repeated AbilityInvokeEntry invokes = 2; } diff --git a/proto/AbilityInvokeArgument.proto b/proto/AbilityInvokeArgument.proto index b5e3de7e..6bcb96ca 100644 --- a/proto/AbilityInvokeArgument.proto +++ b/proto/AbilityInvokeArgument.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -14,7 +30,7 @@ enum AbilityInvokeArgument { ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE = 8; ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH = 9; ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10; - ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_SETATE = 11; + ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE = 11; ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER = 12; ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY = 13; ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY = 14; @@ -25,7 +41,7 @@ enum AbilityInvokeArgument { ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE = 19; ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION = 20; ABILITY_INVOKE_ARGUMENT_META_LOSE_HP = 21; - ABILITY_INVOKE_ARGUMENT_JDDDLJELBLJ = 22; + ABILITY_INVOKE_ARGUMENT_Unk2700_JDDDLJELBLJ = 22; ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY = 50; ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE = 51; ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT = 52; @@ -39,7 +55,7 @@ enum AbilityInvokeArgument { ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE = 60; ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE = 61; ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE = 62; - ABILITY_INVOKE_ARGUMENT_FNANDDPDLOL = 63; + ABILITY_INVOKE_ARGUMENT_Unk2700_FNANDDPDLOL = 63; ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA = 100; ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND = 101; ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE = 102; @@ -53,8 +69,8 @@ enum AbilityInvokeArgument { ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110; ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC = 111; ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT = 112; - ABILITY_INVOKE_ARGUMENT_NJHBFADEOON = 113; - ABILITY_INVOKE_ARGUMENT_EGCIFFFLLBG = 114; - ABILITY_INVOKE_ARGUMENT_OFDGFACOLDI = 115; - ABILITY_INVOKE_ARGUMENT_KDPKJGJNGFB = 116; + ABILITY_INVOKE_ARGUMENT_Unk2700_NJHBFADEOON = 113; + ABILITY_INVOKE_ARGUMENT_Unk2700_EGCIFFFLLBG = 114; + ABILITY_INVOKE_ARGUMENT_Unk2700_OFDGFACOLDI = 115; + ABILITY_INVOKE_ARGUMENT_Unk2700_KDPKJGJNGFB = 116; } diff --git a/proto/AbilityInvokeEntry.proto b/proto/AbilityInvokeEntry.proto index 74603b8a..877f7b23 100644 --- a/proto/AbilityInvokeEntry.proto +++ b/proto/AbilityInvokeEntry.proto @@ -1,18 +1,34 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityInvokeArgument.proto"; import "AbilityInvokeEntryHead.proto"; import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityInvokeEntry { - AbilityInvokeEntryHead head = 1; - AbilityInvokeArgument argument_type = 2; - bytes ability_data = 3; - uint32 entity_id = 4; - ForwardType forward_type = 5; - uint32 forward_peer = 6; - uint32 event_id = 7; - double total_tick_time = 8; + AbilityInvokeArgument argument_type = 1; + AbilityInvokeEntryHead head = 2; + uint32 forward_peer = 4; + uint32 event_id = 12; + ForwardType forward_type = 3; + bytes ability_data = 15; + double total_tick_time = 14; + uint32 entity_id = 9; } diff --git a/proto/AbilityInvokeEntryHead.proto b/proto/AbilityInvokeEntryHead.proto index 5cfe8178..e57853d0 100644 --- a/proto/AbilityInvokeEntryHead.proto +++ b/proto/AbilityInvokeEntryHead.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AbilityInvokeEntryHead { + int32 modifier_config_local_id = 7; + bool is_serverbuff_modifier = 2; uint32 instanced_ability_id = 1; - uint32 instanced_modifier_id = 2; - int32 local_id = 3; - int32 modifier_config_local_id = 4; - uint32 target_id = 5; - bool is_serverbuff_modifier = 6; - uint32 server_buff_uid = 7; + uint32 instanced_modifier_id = 12; + int32 local_id = 10; + uint32 server_buff_uid = 14; + uint32 target_id = 3; } diff --git a/proto/AbilityMetaModifierChange.proto b/proto/AbilityMetaModifierChange.proto index 43d87a81..c6fcbc37 100644 --- a/proto/AbilityMetaModifierChange.proto +++ b/proto/AbilityMetaModifierChange.proto @@ -1,21 +1,38 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "AbilityAttachedModifier.proto"; +import "AbilityString.proto"; +import "ModifierAction.proto"; +import "ModifierProperty.proto"; + option java_package = "emu.grasscutter.net.proto"; -import "ModifierAction.proto"; -import "AbilityString.proto"; -import "AbilityAttachedModifier.proto"; -import "ModifierProperty.proto"; - message AbilityMetaModifierChange { - ModifierAction action = 1; - AbilityString parent_ability_name = 2; - AbilityString parent_ability_override = 3; - AbilityAttachedModifier attached_instanced_modifier = 4; - repeated ModifierProperty properties = 5; - int32 modifier_local_id = 6; - bool is_mute_remote = 7; - uint32 apply_entity_id = 8; - bool is_attached_parent_ability = 9; - uint32 server_buff_uid = 10; + AbilityAttachedModifier attached_instanced_modifier = 7; + uint32 server_buff_uid = 4; + bool is_attached_parent_ability = 10; + ModifierAction action = 13; + int32 modifier_local_id = 2; + AbilityString parent_ability_name = 1; + bool is_mute_remote = 6; + uint32 apply_entity_id = 5; + repeated ModifierProperty properties = 3; + AbilityString parent_ability_override = 11; + bool Unk2700_PMJMNCFJPDC = 9; } diff --git a/proto/AbilityMetaReInitOverrideMap.proto b/proto/AbilityMetaReInitOverrideMap.proto index 3a855400..027fe953 100644 --- a/proto/AbilityMetaReInitOverrideMap.proto +++ b/proto/AbilityMetaReInitOverrideMap.proto @@ -1,9 +1,25 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityScalarValueEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityMetaReInitOverrideMap { - repeated AbilityScalarValueEntry override_map = 1; + repeated AbilityScalarValueEntry override_map = 7; } diff --git a/proto/AbilityMixinCostStamina.proto b/proto/AbilityMixinCostStamina.proto index b047fa4a..2464c845 100644 --- a/proto/AbilityMixinCostStamina.proto +++ b/proto/AbilityMixinCostStamina.proto @@ -1,7 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AbilityMixinCostStamina { - bool is_swim = 1; + bool is_swim = 3; } diff --git a/proto/AbilityMixinRecoverInfo.proto b/proto/AbilityMixinRecoverInfo.proto index 03b28e89..41b75625 100644 --- a/proto/AbilityMixinRecoverInfo.proto +++ b/proto/AbilityMixinRecoverInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "MassivePropSyncInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityMixinRecoverInfo { uint32 local_id = 3; repeated uint32 data_list = 4; diff --git a/proto/AbilityMixinWidgetMpSupport.proto b/proto/AbilityMixinWidgetMpSupport.proto index e5323e89..cbdd4128 100644 --- a/proto/AbilityMixinWidgetMpSupport.proto +++ b/proto/AbilityMixinWidgetMpSupport.proto @@ -1,8 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - message AbilityMixinWidgetMpSupport { - uint32 target_entity_id = 1; + uint32 target_entity_id = 9; } diff --git a/proto/AbilityScalarType.proto b/proto/AbilityScalarType.proto index bc0e33c2..5c21fc8d 100644 --- a/proto/AbilityScalarType.proto +++ b/proto/AbilityScalarType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AbilityScalarValueEntry.proto b/proto/AbilityScalarValueEntry.proto index 18a88c49..2ec09b6b 100644 --- a/proto/AbilityScalarValueEntry.proto +++ b/proto/AbilityScalarValueEntry.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityScalarType.proto"; import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilityScalarValueEntry { AbilityString key = 1; AbilityScalarType value_type = 2; diff --git a/proto/AbilityString.proto b/proto/AbilityString.proto index 1e8254aa..986aa701 100644 --- a/proto/AbilityString.proto +++ b/proto/AbilityString.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AbilitySyncStateInfo.proto b/proto/AbilitySyncStateInfo.proto index a2e760a7..aa4bd4b2 100644 --- a/proto/AbilitySyncStateInfo.proto +++ b/proto/AbilitySyncStateInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityAppliedAbility.proto"; import "AbilityAppliedModifier.proto"; import "AbilityMixinRecoverInfo.proto"; import "AbilityScalarValueEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AbilitySyncStateInfo { bool is_inited = 1; repeated AbilityScalarValueEntry dynamic_value_map = 2; diff --git a/proto/ActivityInfo.proto b/proto/ActivityInfo.proto index 069c3933..2f2ed567 100644 --- a/proto/ActivityInfo.proto +++ b/proto/ActivityInfo.proto @@ -1,10 +1,25 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ActivityWatcherInfo.proto"; /*import "ArenaChallengeActivityDetailInfo.proto"; import "AsterActivityDetailInfo.proto"; +import "BartenderActivityDetailInfo.proto"; import "BlessingActivityDetailInfo.proto"; import "BlitzRushActivityDetailInfo.proto"; import "BounceConjuringActivityDetailInfo.proto"; @@ -12,6 +27,7 @@ import "BuoyantCombatDetailInfo.proto"; import "ChannelerSlabActivityDetailInfo.proto"; import "ChessActivityDetailInfo.proto"; import "CrucibleActivityDetailInfo.proto"; +import "CrystalLinkActivityDetailInfo.proto"; import "DeliveryActivityDetailInfo.proto"; import "DigActivityDetailInfo.proto"; import "DragonSpineActivityDetailInfo.proto"; @@ -21,93 +37,115 @@ import "ExpeditionActivityDetailInfo.proto"; import "FindHilichurlDetailInfo.proto"; import "FleurFairActivityDetailInfo.proto"; import "FlightActivityDetailInfo.proto"; +import "GachaActivityDetailInfo.proto"; +import "GearActivityDetailInfo.proto"; +import "HachiActivityDetailInfo.proto"; import "HideAndSeekActivityDetailInfo.proto"; +import "IrodoriActivityDetailInfo.proto"; +import "IslandPartyActivityDetailInfo.proto"; +import "LanternRiteActivityDetailInfo.proto"; +import "LuminanceStoneChallengeActivityDetailInfo.proto"; import "LunaRiteDetailInfo.proto"; +import "MichiaeMatsuriActivityDetailInfo.proto"; import "MistTrialActivityDetailInfo.proto"; import "MoonfinTrialActivityDetailInfo.proto"; -import "MusicGameActivityDetailInfo.proto"; +import "PhotoActivityDetailInfo.proto"; import "PlantFlowerActivityDetailInfo.proto"; +import "PotionActivityDetailInfo.proto"; +import "RogueDiaryActivityDetailInfo.proto"; import "RoguelikeDungeonActivityDetailInfo.proto"; import "SalesmanActivityDetailInfo.proto"; import "SeaLampActivityDetailInfo.proto"; import "SeaLampActivityInfo.proto"; +import "SpiceActivityDetailInfo.proto"; import "SummerTimeDetailInfo.proto"; +import "SummerTimeV2DetailInfo.proto"; import "SumoActivityDetailInfo.proto"; +import "TanukiTravelActivityDetailInfo.proto"; import "TreasureMapActivityDetailInfo.proto"; import "TrialAvatarActivityDetailInfo.proto"; -import "WaterSpiritActivityDetailInfo.proto";*/ +import "UgcActivityDetailInfo.proto"; +import "WaterSpiritActivityDetailInfo.proto"; +import "WinterCampActivityDetailInfo.proto";*/ import "MusicGameActivityDetailInfo.proto"; +import "Unk2800_PHPHMILPOLC.proto"; + +option java_package = "emu.grasscutter.net.proto"; message ActivityInfo { - uint32 activity_id = 1; - uint32 schedule_id = 2; - uint32 begin_time = 3; - uint32 end_time = 4; - uint32 activity_type = 5; - bool is_play_open_anim = 6; - bool is_finished = 7; - bool is_starting = 8; - repeated ActivityWatcherInfo watcher_info_list = 9; + bool is_play_open_anim = 13; + uint32 schedule_id = 15; + uint32 cur_score = 1906; + bool is_starting = 9; + repeated uint32 taken_reward_list = 329; + uint32 selected_avatar_reward_id = 1290; + uint32 first_day_start_time = 592; + uint32 score_limit = 1958; + bool is_finished = 6; + bool is_hidden = 919; + uint32 begin_time = 8; + uint32 end_time = 5; + map activity_coin_map = 682; + uint32 activity_type = 4; + repeated Unk2800_PHPHMILPOLC Unk2800_KOMIPKKKOBE = 864; repeated uint32 meet_cond_list = 10; - repeated uint32 expire_cond_list = 15; - uint32 selected_avatar_reward_id = 17; - map activity_coin_map = 18; - uint32 score_limit = 19; - uint32 cur_score = 20; - repeated uint32 taken_reward_list = 24; - bool is_hidden = 26; - uint32 first_day_start_time = 27; - //bool MIFCLBCMKJI = 28; - //bool BPGCBIEDEDM = 29; - //map AGKPABKOHDA = 30; + repeated uint32 expire_cond_list = 3; + repeated ActivityWatcherInfo watcher_info_list = 2; + uint32 activity_id = 12; + //bool Unk2700_NONJFHAIFLA = 102; + //bool Unk2700_EDKLLHBEEGE = 1449; + //map Unk2700_IFPBCNLCKLG = 1399; oneof detail { -// SeaLampActivityDetailInfo sam_lamp_info = 11; -// CrucibleActivityDetailInfo crucible_info = 12; -// SalesmanActivityDetailInfo salesman_info = 13; -// TrialAvatarActivityDetailInfo trial_avatar_info = 14; -// DeliveryActivityDetailInfo delivery_info = 16; -// AsterActivityDetailInfo aster_info = 21; -// FlightActivityDetailInfo flight_info = 25; -// DragonSpineActivityDetailInfo dragon_spine_info = 31; -// EffigyActivityDetailInfo effigy_info = 32; -// TreasureMapActivityDetailInfo treasure_map_info = 35; -// BlessingActivityDetailInfo blessing_info = 41; -// SeaLampActivityInfo sea_lamp_info = 42; -// ExpeditionActivityDetailInfo expedition_info = 43; -// ArenaChallengeActivityDetailInfo arena_challenge_info = 44; -// FleurFairActivityDetailInfo fleur_fair_info = 51; -// WaterSpiritActivityDetailInfo water_spirit_info = 52; -// ChannelerSlabActivityDetailInfo challneler_slab_info = 61; -// MistTrialActivityDetailInfo mist_trial_activity_info = 62; -// HideAndSeekActivityDetailInfo hide_and_seek_info = 63; -// FindHilichurlDetailInfo find_hilichurl_info = 64; -// SummerTimeDetailInfo summer_time_info = 65; -// BuoyantCombatDetailInfo buoyant_combat_info = 66; -// EchoShellDetailInfo echo_shell_info = 67; -// BounceConjuringActivityDetailInfo bounce_conjuring_info = 68; -// BlitzRushActivityDetailInfo blitz_rush_info = 69; -// ChessActivityDetailInfo chess_info = 70; -// SumoActivityDetailInfo sumo_info = 71; -// MoonfinTrialActivityDetailInfo moonfin_trial_info = 72; -// LunaRiteDetailInfo luna_rite_info = 73; -// PlantFlowerActivityDetailInfo plant_flower_info = 74; - MusicGameActivityDetailInfo music_game_info = 75; -// RoguelikeDungeonActivityDetailInfo roguelike_dungoen_info = 76; -// DigActivityDetailInfo dig_info = 77; -// DOCNGBMKEID hachi_info = 78; -// DLHPBNNDGFI winter_camp_info = 79; -// IFACCKLEJCC potion_info = 80; -// PFMCPMIMGLM tanuki_travel_activity_info = 81; -// JEIAODKGIBD lantern_rite_activity_info = 82; -// EPDOGGKOCAP michiae_matsuri_info = 83; -// NHMFHLIGAKL bartender_info = 84; -// EAGKNMCLJDI ugc_info = 85; -// ADPBMLFDHJD crystal_link_info = 86; -// JACDNLEIDOO irodori_info = 87; -// EHDKFDJEEGP photo_info = 88; -// BEPFLAKHNHL spice_info = 89; -// MMNEJBFMAEA gacha_info = 90; -// JLMHDDHOGGD luminance_stone_challenge_info = 91; -// IGBMCJOPGIL rogue_diary_info = 92; + // SeaLampActivityDetailInfo sam_lamp_info = 7; + // CrucibleActivityDetailInfo crucible_info = 14; + // SalesmanActivityDetailInfo salesman_info = 11; + // TrialAvatarActivityDetailInfo trial_avatar_info = 1; + // DeliveryActivityDetailInfo delivery_info = 1092; + // AsterActivityDetailInfo aster_info = 557; + // FlightActivityDetailInfo flight_info = 1365; + // DragonSpineActivityDetailInfo dragon_spine_info = 1727; + // EffigyActivityDetailInfo effigy_info = 391; + // TreasureMapActivityDetailInfo treasure_map_info = 1114; + // BlessingActivityDetailInfo blessing_info = 1869; + // SeaLampActivityInfo sea_lamp_info = 494; + // ExpeditionActivityDetailInfo expedition_info = 202; + // ArenaChallengeActivityDetailInfo arena_challenge_info = 859; + // FleurFairActivityDetailInfo fleur_fair_info = 857; + // WaterSpiritActivityDetailInfo water_spirit_info = 1675; + // ChannelerSlabActivityDetailInfo channeler_slab_info = 1015; + // MistTrialActivityDetailInfo mist_trial_activity_info = 156; + // HideAndSeekActivityDetailInfo hide_and_seek_info = 427; + // FindHilichurlDetailInfo find_hilichurl_info = 1411; + // SummerTimeDetailInfo summer_time_info = 1372; + // BuoyantCombatDetailInfo buoyant_combat_info = 1842; + // EchoShellDetailInfo echo_shell_info = 1113; + // BounceConjuringActivityDetailInfo bounce_conjuring_info = 767; + // BlitzRushActivityDetailInfo blitz_rush_info = 794; + // ChessActivityDetailInfo chess_info = 927; + // SumoActivityDetailInfo sumo_info = 1261; + // MoonfinTrialActivityDetailInfo moonfin_trial_info = 1588; + // LunaRiteDetailInfo luna_rite_info = 814; + // PlantFlowerActivityDetailInfo plant_flower_info = 54; + MusicGameActivityDetailInfo music_game_info = 460; + // RoguelikeDungeonActivityDetailInfo roguelike_dungeon_info = 219; + // DigActivityDetailInfo dig_info = 403; + // HachiActivityDetailInfo hachi_info = 491; + // WinterCampActivityDetailInfo winter_camp_info = 1083; + // PotionActivityDetailInfo potion_info = 1273; + // TanukiTravelActivityDetailInfo tanuki_travel_activity_info = 1796; + // LanternRiteActivityDetailInfo lantern_rite_activity_info = 1876; + // MichiaeMatsuriActivityDetailInfo michiae_matsuri_info = 194; + // BartenderActivityDetailInfo bartender_info = 1725; + // UgcActivityDetailInfo ugc_info = 703; + // CrystalLinkActivityDetailInfo crystal_link_info = 1226; + // IrodoriActivityDetailInfo irodori_info = 750; + // PhotoActivityDetailInfo photo_info = 328; + // SpiceActivityDetailInfo spice_info = 1891; + // GachaActivityDetailInfo gacha_info = 825; + // LuminanceStoneChallengeActivityDetailInfo luminance_stone_challenge_info = 1308; + // RogueDiaryActivityDetailInfo rogue_diary_info = 812; + // SummerTimeV2DetailInfo summer_time_v_2_info = 622; + // IslandPartyActivityDetailInfo island_party_info = 1885; + // GearActivityDetailInfo gear_info = 722; } } diff --git a/proto/ActivityInfoNotify.proto b/proto/ActivityInfoNotify.proto index 2d9f1893..338e616e 100644 --- a/proto/ActivityInfoNotify.proto +++ b/proto/ActivityInfoNotify.proto @@ -9,5 +9,5 @@ import "ActivityInfo.proto"; // EnetIsReliable: true // IsAllowClient: true message ActivityInfoNotify { - ActivityInfo activity_info = 11; + ActivityInfo activity_info = 9; } diff --git a/proto/ActivityScheduleInfo.proto b/proto/ActivityScheduleInfo.proto index ad33f7bb..a668d79f 100644 --- a/proto/ActivityScheduleInfo.proto +++ b/proto/ActivityScheduleInfo.proto @@ -3,9 +3,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ActivityScheduleInfo { - uint32 activity_id = 1; + uint32 activity_id = 14; bool is_open = 2; - uint32 schedule_id = 3; - uint32 begin_time = 4; - uint32 end_time = 5; + uint32 schedule_id = 13; + uint32 begin_time = 10; + uint32 end_time = 1; } diff --git a/proto/ActivityScheduleInfoNotify.proto b/proto/ActivityScheduleInfoNotify.proto index 724bcb3b..51065625 100644 --- a/proto/ActivityScheduleInfoNotify.proto +++ b/proto/ActivityScheduleInfoNotify.proto @@ -9,6 +9,6 @@ import "ActivityScheduleInfo.proto"; // EnetIsReliable: true // IsAllowClient: true message ActivityScheduleInfoNotify { - repeated ActivityScheduleInfo activity_schedule_list = 8; - uint32 remain_fly_sea_lamp_num = 12; + repeated ActivityScheduleInfo activity_schedule_list = 12; + uint32 remain_fly_sea_lamp_num = 6; } diff --git a/proto/ActivityTakeWatcherRewardReq.proto b/proto/ActivityTakeWatcherRewardReq.proto index 24352d3d..b948ee48 100644 --- a/proto/ActivityTakeWatcherRewardReq.proto +++ b/proto/ActivityTakeWatcherRewardReq.proto @@ -7,6 +7,6 @@ option java_package = "emu.grasscutter.net.proto"; // EnetIsReliable: true // IsAllowClient: true message ActivityTakeWatcherRewardReq { - uint32 activity_id = 11; - uint32 watcher_id = 7; + uint32 activity_id = 4; + uint32 watcher_id = 14; } diff --git a/proto/ActivityTakeWatcherRewardRsp.proto b/proto/ActivityTakeWatcherRewardRsp.proto index 60b68461..b9410b3d 100644 --- a/proto/ActivityTakeWatcherRewardRsp.proto +++ b/proto/ActivityTakeWatcherRewardRsp.proto @@ -6,7 +6,7 @@ option java_package = "emu.grasscutter.net.proto"; // EnetChannelId: 0 // EnetIsReliable: true message ActivityTakeWatcherRewardRsp { - int32 retcode = 10; - uint32 activity_id = 8; + int32 retcode = 9; + uint32 activity_id = 14; uint32 watcher_id = 7; } diff --git a/proto/ActivityUpdateWatcherNotify.proto b/proto/ActivityUpdateWatcherNotify.proto index 986078c4..d0b59470 100644 --- a/proto/ActivityUpdateWatcherNotify.proto +++ b/proto/ActivityUpdateWatcherNotify.proto @@ -9,6 +9,6 @@ import "ActivityWatcherInfo.proto"; // EnetIsReliable: true // IsAllowClient: true message ActivityUpdateWatcherNotify { - uint32 activity_id = 10; - ActivityWatcherInfo watcher_info = 7; + uint32 activity_id = 1; + ActivityWatcherInfo watcher_info = 2; } diff --git a/proto/ActivityWatcherInfo.proto b/proto/ActivityWatcherInfo.proto index 6a2293b2..cbbf52f1 100644 --- a/proto/ActivityWatcherInfo.proto +++ b/proto/ActivityWatcherInfo.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ActivityWatcherInfo { - uint32 watcher_id = 1; + bool is_taken_reward = 5; uint32 cur_progress = 2; - uint32 total_progress = 3; - bool is_taken_reward = 4; + uint32 total_progress = 4; + uint32 watcher_id = 8; } diff --git a/proto/AddQuestContentProgressReq.proto b/proto/AddQuestContentProgressReq.proto index 7dc73118..fb305e04 100644 --- a/proto/AddQuestContentProgressReq.proto +++ b/proto/AddQuestContentProgressReq.proto @@ -2,12 +2,12 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 417 +// CmdId: 421 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AddQuestContentProgressReq { - uint32 content_type = 9; - uint32 param = 13; - uint32 add_progress = 11; + uint32 content_type = 6; + uint32 param = 12; + uint32 add_progress = 15; } diff --git a/proto/AddQuestContentProgressRsp.proto b/proto/AddQuestContentProgressRsp.proto index fdfc27f3..da250e62 100644 --- a/proto/AddQuestContentProgressRsp.proto +++ b/proto/AddQuestContentProgressRsp.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 485 +// CmdId: 403 // EnetChannelId: 0 // EnetIsReliable: true message AddQuestContentProgressRsp { - int32 retcode = 10; - uint32 content_type = 7; + int32 retcode = 13; + uint32 content_type = 4; } diff --git a/proto/AdjustTrackingInfo.proto b/proto/AdjustTrackingInfo.proto index 06c41ea9..eea5111e 100644 --- a/proto/AdjustTrackingInfo.proto +++ b/proto/AdjustTrackingInfo.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AdjustTrackingInfo { - string idfa = 1; - string gps_adid = 2; - string fire_adid = 3; + string event_token = 9; string adid = 4; - string event_token = 5; - string app_token = 6; + string idfa = 2; + string app_token = 14; + string gps_adid = 3; + string fire_adid = 13; } diff --git a/proto/AiSkillCdInfo.proto b/proto/AiSkillCdInfo.proto index b03331b1..042a158d 100644 --- a/proto/AiSkillCdInfo.proto +++ b/proto/AiSkillCdInfo.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AiSkillCdInfo { - map skill_cd_map = 1; - map skill_group_cd_map = 2; + map skill_cd_map = 11; + map skill_group_cd_map = 6; } diff --git a/proto/AiSyncInfo.proto b/proto/AiSyncInfo.proto index 42784191..4671c7d1 100644 --- a/proto/AiSyncInfo.proto +++ b/proto/AiSyncInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AiSyncInfo { - uint32 entity_id = 1; - bool has_path_to_target = 2; - bool is_self_killing = 3; + uint32 entity_id = 9; + bool is_self_killing = 8; + bool has_path_to_target = 4; } diff --git a/proto/AiThreatInfo.proto b/proto/AiThreatInfo.proto index 828d1ff6..5231a6e9 100644 --- a/proto/AiThreatInfo.proto +++ b/proto/AiThreatInfo.proto @@ -1,7 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AiThreatInfo { - map ai_threat_map = 1; + map ai_threat_map = 11; } diff --git a/proto/AllWidgetDataNotify.proto b/proto/AllWidgetDataNotify.proto index 8b0eaf34..2e724a6f 100644 --- a/proto/AllWidgetDataNotify.proto +++ b/proto/AllWidgetDataNotify.proto @@ -1,26 +1,42 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "AnchorPointData.proto"; -// import "CCEOEOHLAPK.proto"; import "ClientCollectorData.proto"; import "LunchBoxData.proto"; -import "OneoffGatherPointDetectorData.proto"; +import "OneofGatherPointDetectorData.proto"; +import "Unk2700_CCEOEOHLAPK.proto"; import "WidgetCoolDownData.proto"; import "WidgetSlotData.proto"; -// CmdId: 4273 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4271 // EnetChannelId: 0 // EnetIsReliable: true message AllWidgetDataNotify { - repeated AnchorPointData anchor_point_list = 13; + Unk2700_CCEOEOHLAPK Unk2700_COIELIGEACL = 12; + repeated AnchorPointData anchor_point_list = 3; + repeated ClientCollectorData client_collector_data_list = 4; + repeated WidgetCoolDownData normal_cool_down_data_list = 9; uint32 next_anchor_point_usable_time = 10; - LunchBoxData lunch_box_data = 11; - repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 5; - repeated ClientCollectorData client_collector_data_list = 6; - repeated WidgetCoolDownData cool_down_group_data_list = 2; - repeated WidgetCoolDownData normal_cool_down_data_list = 4; - repeated WidgetSlotData slot_list = 3; - // CCEOEOHLAPK KNPDHPEGCHI = 12; + repeated OneofGatherPointDetectorData oneof_gather_point_detector_data_list = 15; + LunchBoxData lunch_box_data = 1; + repeated WidgetCoolDownData cool_down_group_data_list = 13; + repeated WidgetSlotData slot_list = 6; } diff --git a/proto/AnchorPointData.proto b/proto/AnchorPointData.proto index 9ad59136..9a82c04d 100644 --- a/proto/AnchorPointData.proto +++ b/proto/AnchorPointData.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AnchorPointData { - uint32 anchor_point_id = 1; - Vector pos = 2; - Vector rot = 3; - uint32 end_time = 4; uint32 scene_id = 5; + uint32 anchor_point_id = 9; + uint32 end_time = 8; + Vector pos = 15; + Vector rot = 2; } diff --git a/proto/AnchorPointDataNotify.proto b/proto/AnchorPointDataNotify.proto index eee61096..37c1ab3b 100644 --- a/proto/AnchorPointDataNotify.proto +++ b/proto/AnchorPointDataNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AnchorPointData.proto"; -// CmdId: 4268 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4276 // EnetChannelId: 0 // EnetIsReliable: true message AnchorPointDataNotify { - repeated AnchorPointData anchor_point_list = 14; - uint32 next_usable_time = 6; + repeated AnchorPointData anchor_point_list = 10; + uint32 next_usable_time = 14; } diff --git a/proto/AnchorPointOpReq.proto b/proto/AnchorPointOpReq.proto index f9882e62..fe1131f8 100644 --- a/proto/AnchorPointOpReq.proto +++ b/proto/AnchorPointOpReq.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4254 +// CmdId: 4257 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AnchorPointOpReq { - uint32 anchor_point_op_type = 6; - uint32 anchor_point_id = 1; + uint32 anchor_point_id = 9; + uint32 anchor_point_op_type = 12; enum AnchorPointOpType { ANCHOR_POINT_OP_TYPE_NONE = 0; diff --git a/proto/AnchorPointOpRsp.proto b/proto/AnchorPointOpRsp.proto index db8852b0..5fd310ba 100644 --- a/proto/AnchorPointOpRsp.proto +++ b/proto/AnchorPointOpRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4278 +// CmdId: 4252 // EnetChannelId: 0 // EnetIsReliable: true message AnchorPointOpRsp { - int32 retcode = 13; - uint32 anchor_point_op_type = 3; - uint32 anchor_point_id = 2; + int32 retcode = 5; + uint32 anchor_point_id = 12; + uint32 anchor_point_op_type = 4; } diff --git a/proto/AnimatorParameterValueInfo.proto b/proto/AnimatorParameterValueInfo.proto index 8c1b5a2c..8f0bccf2 100644 --- a/proto/AnimatorParameterValueInfo.proto +++ b/proto/AnimatorParameterValueInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AnimatorParameterValueInfoPair.proto b/proto/AnimatorParameterValueInfoPair.proto index c0e77578..f51ccc8b 100644 --- a/proto/AnimatorParameterValueInfoPair.proto +++ b/proto/AnimatorParameterValueInfoPair.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "AnimatorParameterValueInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AnimatorParameterValueInfoPair { int32 name_id = 1; AnimatorParameterValueInfo animator_para = 2; diff --git a/proto/AnnounceData.proto b/proto/AnnounceData.proto index 8ed9ed84..124c2448 100644 --- a/proto/AnnounceData.proto +++ b/proto/AnnounceData.proto @@ -3,13 +3,13 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AnnounceData { - uint32 config_id = 1; - uint32 begin_time = 2; - uint32 end_time = 3; - string center_system_text = 4; - string count_down_text = 5; - string dungeon_confirm_text = 6; - uint32 center_system_frequency = 7; - uint32 count_down_frequency = 8; - bool is_center_system_last_5_every_minutes = 9; + uint32 config_id = 7; + uint32 begin_time = 4; + uint32 end_time = 10; + string center_system_text = 8; + string count_down_text = 9; + string dungeon_confirm_text = 2; + uint32 center_system_frequency = 11; + uint32 count_down_frequency = 1; + bool is_center_system_last_5_every_minutes = 14; } diff --git a/proto/AskAddFriendNotify.proto b/proto/AskAddFriendNotify.proto index 736bca43..73a671c1 100644 --- a/proto/AskAddFriendNotify.proto +++ b/proto/AskAddFriendNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendBrief.proto"; -// CmdId: 4038 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4065 // EnetChannelId: 0 // EnetIsReliable: true message AskAddFriendNotify { - uint32 target_uid = 13; - FriendBrief target_friend_brief = 10; + FriendBrief target_friend_brief = 15; + uint32 target_uid = 9; } diff --git a/proto/AskAddFriendReq.proto b/proto/AskAddFriendReq.proto index 75b74678..38524eff 100644 --- a/proto/AskAddFriendReq.proto +++ b/proto/AskAddFriendReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4032 +// CmdId: 4007 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AskAddFriendReq { - uint32 target_uid = 8; + uint32 target_uid = 7; } diff --git a/proto/AskAddFriendRsp.proto b/proto/AskAddFriendRsp.proto index 2643456f..00b96740 100644 --- a/proto/AskAddFriendRsp.proto +++ b/proto/AskAddFriendRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4017 +// CmdId: 4021 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AskAddFriendRsp { - int32 retcode = 11; - uint32 target_uid = 14; - uint32 param = 13; + uint32 param = 8; + int32 retcode = 7; + uint32 target_uid = 4; } diff --git a/proto/AttackHitEffectResult.proto b/proto/AttackHitEffectResult.proto index 918d23a7..c9d37045 100644 --- a/proto/AttackHitEffectResult.proto +++ b/proto/AttackHitEffectResult.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AttackHitEffectResult { - uint32 hit_eff_level = 1; - float retreat_strength = 2; - float air_strength = 3; - float hit_halt_time = 4; - float hit_halt_time_scale = 5; - uint32 original_hit_eff_level = 6; + float hit_halt_time_scale = 8; + uint32 original_hit_eff_level = 12; + float air_strength = 15; + uint32 hit_eff_level = 2; + float hit_halt_time = 13; + float retreat_strength = 7; } diff --git a/proto/AttackResult.proto b/proto/AttackResult.proto index 458188ba..378852d3 100644 --- a/proto/AttackResult.proto +++ b/proto/AttackResult.proto @@ -1,41 +1,57 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityIdentifier.proto"; import "AttackHitEffectResult.proto"; import "HitCollision.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AttackResult { - uint32 attacker_id = 1; - uint32 defense_id = 2; - string anim_event_id = 3; - AbilityIdentifier ability_identifier = 4; + bool is_resist_text = 1858; + uint32 Unk2700_GBANCFEPPIM = 1011; + uint32 amplify_reaction_type = 2005; + uint32 endure_break = 7; + uint32 element_type = 5; + float element_durability_attenuation = 425; + uint32 defense_id = 15; + uint32 attack_timestamp_ms = 1188; + uint32 bullet_fly_time_ms = 91; + bool is_crit = 13; + float element_amplify_rate = 900; + uint32 attack_count = 1564; + uint32 critical_rand = 1664; + uint32 hit_pos_type = 2; + string anim_event_id = 4; + AttackHitEffectResult hit_eff_result = 8; + float damage_shield = 1202; + float endure_delta = 430; + Vector resolved_dir = 1; float damage = 6; - bool is_crit = 7; - HitCollision hit_collision = 8; - uint32 hit_pos_type = 9; - uint32 endure_break = 10; - Vector resolved_dir = 11; - int32 hit_retreat_angle_compat = 12; - AttackHitEffectResult hit_eff_result = 13; - uint32 element_type = 14; - bool use_gadget_damage_action = 19; - uint32 gadget_damage_action_idx = 20; - bool is_resist_text = 22; - uint32 critical_rand = 23; - float element_amplify_rate = 24; - float damage_shield = 26; - bool mute_element_hurt = 27; - uint32 amplify_reaction_type = 30; - uint32 addhurt_reaction_type = 31; - uint32 bullet_fly_time_ms = 32; - uint32 attack_count = 33; - uint32 hashed_anim_event_id = 34; - uint32 attack_timestamp_ms = 36; - float endure_delta = 37; - uint32 target_type = 38; - float element_durability_attenuation = 39; - uint32 EGPFEACDCLP = 40; + uint32 addhurt_reaction_type = 1887; + uint32 hashed_anim_event_id = 278; + bool use_gadget_damage_action = 1418; + int32 hit_retreat_angle_compat = 9; + AbilityIdentifier ability_identifier = 14; + uint32 attacker_id = 11; + bool mute_element_hurt = 1530; + uint32 target_type = 1366; + HitCollision hit_collision = 10; + uint32 gadget_damage_action_idx = 1110; } diff --git a/proto/AvatarAddNotify.proto b/proto/AvatarAddNotify.proto index afdf4204..035c78f9 100644 --- a/proto/AvatarAddNotify.proto +++ b/proto/AvatarAddNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarInfo.proto"; -// CmdId: 1757 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1769 // EnetChannelId: 0 // EnetIsReliable: true message AvatarAddNotify { - AvatarInfo avatar = 11; - bool is_in_team = 15; + AvatarInfo avatar = 13; + bool is_in_team = 12; } diff --git a/proto/AvatarChangeCostumeNotify.proto b/proto/AvatarChangeCostumeNotify.proto index 814bd3fd..9084215e 100644 --- a/proto/AvatarChangeCostumeNotify.proto +++ b/proto/AvatarChangeCostumeNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "SceneEntityInfo.proto"; -// CmdId: 1780 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1644 // EnetChannelId: 0 // EnetIsReliable: true message AvatarChangeCostumeNotify { - SceneEntityInfo entity_info = 1; + SceneEntityInfo entity_info = 7; } diff --git a/proto/AvatarChangeCostumeReq.proto b/proto/AvatarChangeCostumeReq.proto index a3a7b4fe..e2224914 100644 --- a/proto/AvatarChangeCostumeReq.proto +++ b/proto/AvatarChangeCostumeReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1734 +// CmdId: 1778 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarChangeCostumeReq { - uint64 avatar_guid = 7; - uint32 costume_id = 8; + uint32 costume_id = 4; + uint64 avatar_guid = 2; } diff --git a/proto/AvatarChangeCostumeRsp.proto b/proto/AvatarChangeCostumeRsp.proto index e72ca326..87d4ffdb 100644 --- a/proto/AvatarChangeCostumeRsp.proto +++ b/proto/AvatarChangeCostumeRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1723 +// CmdId: 1645 // EnetChannelId: 0 // EnetIsReliable: true message AvatarChangeCostumeRsp { - int32 retcode = 15; - uint64 avatar_guid = 3; - uint32 costume_id = 1; + uint64 avatar_guid = 12; + int32 retcode = 7; + uint32 costume_id = 13; } diff --git a/proto/AvatarChangeElementTypeReq.proto b/proto/AvatarChangeElementTypeReq.proto index 74ddd0f2..45bd51e4 100644 --- a/proto/AvatarChangeElementTypeReq.proto +++ b/proto/AvatarChangeElementTypeReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1706 +// CmdId: 1785 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarChangeElementTypeReq { - uint32 scene_id = 15; - uint32 area_id = 4; + uint32 scene_id = 7; + uint32 area_id = 3; } diff --git a/proto/AvatarChangeElementTypeRsp.proto b/proto/AvatarChangeElementTypeRsp.proto index e0eb66ce..6811923f 100644 --- a/proto/AvatarChangeElementTypeRsp.proto +++ b/proto/AvatarChangeElementTypeRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1708 +// CmdId: 1651 // EnetChannelId: 0 // EnetIsReliable: true message AvatarChangeElementTypeRsp { - int32 retcode = 15; + int32 retcode = 13; } diff --git a/proto/AvatarDataNotify.proto b/proto/AvatarDataNotify.proto index cd344ab1..44d479ce 100644 --- a/proto/AvatarDataNotify.proto +++ b/proto/AvatarDataNotify.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarInfo.proto"; import "AvatarTeam.proto"; -// CmdId: 1695 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1633 // EnetChannelId: 0 // EnetIsReliable: true message AvatarDataNotify { - repeated AvatarInfo avatar_list = 15; - map avatar_team_map = 6; + repeated uint32 owned_flycloak_list = 1; uint32 cur_avatar_team_id = 2; - fixed64 choose_avatar_guid = 11; - repeated uint64 temp_avatar_guid_list = 14; - repeated uint32 owned_flycloak_list = 8; - repeated uint32 owned_costume_list = 7; + repeated AvatarInfo avatar_list = 6; + repeated uint32 owned_costume_list = 11; + repeated uint64 temp_avatar_guid_list = 12; + map avatar_team_map = 7; + uint64 choose_avatar_guid = 8; } diff --git a/proto/AvatarDieAnimationEndReq.proto b/proto/AvatarDieAnimationEndReq.proto index 28cd9d59..c105a01d 100644 --- a/proto/AvatarDieAnimationEndReq.proto +++ b/proto/AvatarDieAnimationEndReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 1616 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1610 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarDieAnimationEndReq { - uint64 die_guid = 14; - uint32 skill_id = 4; - Vector reborn_pos = 13; + Vector reborn_pos = 3; + uint64 die_guid = 7; + uint32 skill_id = 8; } diff --git a/proto/AvatarDieAnimationEndRsp.proto b/proto/AvatarDieAnimationEndRsp.proto index eca9beb7..839083d3 100644 --- a/proto/AvatarDieAnimationEndRsp.proto +++ b/proto/AvatarDieAnimationEndRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1765 +// CmdId: 1694 // EnetChannelId: 0 // EnetIsReliable: true message AvatarDieAnimationEndRsp { - int32 retcode = 12; - uint64 die_guid = 11; uint32 skill_id = 13; + int32 retcode = 14; + uint64 die_guid = 15; } diff --git a/proto/AvatarEnterSceneInfo.proto b/proto/AvatarEnterSceneInfo.proto index 448ddb99..2ba3013f 100644 --- a/proto/AvatarEnterSceneInfo.proto +++ b/proto/AvatarEnterSceneInfo.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilitySyncStateInfo.proto"; import "ServerBuff.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AvatarEnterSceneInfo { - uint64 avatar_guid = 1; - uint32 avatar_entity_id = 2; - AbilitySyncStateInfo avatar_ability_info = 3; - repeated uint32 buff_id_list = 4; - uint64 weapon_guid = 5; - uint32 weapon_entity_id = 6; - AbilitySyncStateInfo weapon_ability_info = 7; - repeated ServerBuff server_buff_list = 8; + repeated ServerBuff server_buff_list = 14; + uint32 avatar_entity_id = 7; + AbilitySyncStateInfo weapon_ability_info = 12; + uint32 weapon_entity_id = 10; + AbilitySyncStateInfo avatar_ability_info = 2; + uint64 avatar_guid = 13; + uint64 weapon_guid = 9; + repeated uint32 buff_id_list = 5; } diff --git a/proto/AvatarEquipAffixInfo.proto b/proto/AvatarEquipAffixInfo.proto index ed0c4130..af236c29 100644 --- a/proto/AvatarEquipAffixInfo.proto +++ b/proto/AvatarEquipAffixInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AvatarEquipChangeNotify.proto b/proto/AvatarEquipChangeNotify.proto index 95535b7b..d6782d5d 100644 --- a/proto/AvatarEquipChangeNotify.proto +++ b/proto/AvatarEquipChangeNotify.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "SceneReliquaryInfo.proto"; import "SceneWeaponInfo.proto"; -// CmdId: 690 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 647 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarEquipChangeNotify { - uint64 avatar_guid = 1; - uint32 equip_type = 2; - uint32 item_id = 8; - uint64 equip_guid = 4; - SceneWeaponInfo weapon = 13; - SceneReliquaryInfo reliquary = 11; + uint64 avatar_guid = 10; + uint64 equip_guid = 13; + SceneReliquaryInfo reliquary = 1; + SceneWeaponInfo weapon = 15; + uint32 item_id = 14; + uint32 equip_type = 8; } diff --git a/proto/AvatarExcelInfo.proto b/proto/AvatarExcelInfo.proto index 901b60e0..6a285b1a 100644 --- a/proto/AvatarExcelInfo.proto +++ b/proto/AvatarExcelInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AvatarExpeditionAllDataRsp.proto b/proto/AvatarExpeditionAllDataRsp.proto index 535b9e8e..ce4a6119 100644 --- a/proto/AvatarExpeditionAllDataRsp.proto +++ b/proto/AvatarExpeditionAllDataRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExpeditionInfo.proto"; -// CmdId: 1636 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1648 // EnetChannelId: 0 // EnetIsReliable: true message AvatarExpeditionAllDataRsp { - int32 retcode = 11; - map expedition_info_map = 1; - repeated uint32 open_expedition_list = 6; - uint32 expedition_count_limit = 7; + repeated uint32 open_expedition_list = 3; + int32 retcode = 15; + uint32 expedition_count_limit = 12; + map expedition_info_map = 4; } diff --git a/proto/AvatarExpeditionCallBackReq.proto b/proto/AvatarExpeditionCallBackReq.proto index fefc45cb..311475d0 100644 --- a/proto/AvatarExpeditionCallBackReq.proto +++ b/proto/AvatarExpeditionCallBackReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1655 +// CmdId: 1752 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarExpeditionCallBackReq { - repeated uint64 avatar_guid = 12; + repeated uint64 avatar_guid = 13; } diff --git a/proto/AvatarExpeditionCallBackRsp.proto b/proto/AvatarExpeditionCallBackRsp.proto index 6cd5ab85..a9337132 100644 --- a/proto/AvatarExpeditionCallBackRsp.proto +++ b/proto/AvatarExpeditionCallBackRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExpeditionInfo.proto"; -// CmdId: 1642 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1726 // EnetChannelId: 0 // EnetIsReliable: true message AvatarExpeditionCallBackRsp { - int32 retcode = 1; - map expedition_info_map = 14; + map expedition_info_map = 9; + int32 retcode = 5; } diff --git a/proto/AvatarExpeditionDataNotify.proto b/proto/AvatarExpeditionDataNotify.proto index 68983c60..c34760b9 100644 --- a/proto/AvatarExpeditionDataNotify.proto +++ b/proto/AvatarExpeditionDataNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExpeditionInfo.proto"; -// CmdId: 1698 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1771 // EnetChannelId: 0 // EnetIsReliable: true message AvatarExpeditionDataNotify { - map expedition_info_map = 1; + map expedition_info_map = 6; } diff --git a/proto/AvatarExpeditionGetRewardReq.proto b/proto/AvatarExpeditionGetRewardReq.proto index 58f34055..af01b231 100644 --- a/proto/AvatarExpeditionGetRewardReq.proto +++ b/proto/AvatarExpeditionGetRewardReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1603 +// CmdId: 1623 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarExpeditionGetRewardReq { - uint64 avatar_guid = 5; + uint64 avatar_guid = 14; } diff --git a/proto/AvatarExpeditionGetRewardRsp.proto b/proto/AvatarExpeditionGetRewardRsp.proto index 818c9cf2..fe302d10 100644 --- a/proto/AvatarExpeditionGetRewardRsp.proto +++ b/proto/AvatarExpeditionGetRewardRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExpeditionInfo.proto"; import "ItemParam.proto"; -// CmdId: 1646 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1784 // EnetChannelId: 0 // EnetIsReliable: true message AvatarExpeditionGetRewardRsp { - int32 retcode = 15; - map expedition_info_map = 5; - repeated ItemParam item_list = 6; - repeated ItemParam BNFDDKNNJJH = 2; + repeated ItemParam Unk2700_HBKHOBPGCLH = 9; + repeated ItemParam item_list = 8; + map expedition_info_map = 12; + int32 retcode = 2; } diff --git a/proto/AvatarExpeditionInfo.proto b/proto/AvatarExpeditionInfo.proto index ae52bd88..ca4a579b 100644 --- a/proto/AvatarExpeditionInfo.proto +++ b/proto/AvatarExpeditionInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "AvatarExpeditionState.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AvatarExpeditionInfo { AvatarExpeditionState state = 1; uint32 exp_id = 2; diff --git a/proto/AvatarExpeditionStartReq.proto b/proto/AvatarExpeditionStartReq.proto index d40f3072..52f53ca2 100644 --- a/proto/AvatarExpeditionStartReq.proto +++ b/proto/AvatarExpeditionStartReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1675 +// CmdId: 1715 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarExpeditionStartReq { - uint64 avatar_guid = 8; - uint32 exp_id = 2; - uint32 hour_time = 7; + uint32 exp_id = 9; + uint64 avatar_guid = 10; + uint32 hour_time = 2; } diff --git a/proto/AvatarExpeditionStartRsp.proto b/proto/AvatarExpeditionStartRsp.proto index b289cc46..7f078226 100644 --- a/proto/AvatarExpeditionStartRsp.proto +++ b/proto/AvatarExpeditionStartRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExpeditionInfo.proto"; -// CmdId: 1688 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1719 // EnetChannelId: 0 // EnetIsReliable: true message AvatarExpeditionStartRsp { - int32 retcode = 4; - map expedition_info_map = 1; + map expedition_info_map = 2; + int32 retcode = 5; } diff --git a/proto/AvatarExpeditionState.proto b/proto/AvatarExpeditionState.proto index 7ec3f8f7..db1e281a 100644 --- a/proto/AvatarExpeditionState.proto +++ b/proto/AvatarExpeditionState.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AvatarFetterDataNotify.proto b/proto/AvatarFetterDataNotify.proto index 22232231..ec9ce6d6 100644 --- a/proto/AvatarFetterDataNotify.proto +++ b/proto/AvatarFetterDataNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarFetterInfo.proto"; -// CmdId: 1777 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1782 // EnetChannelId: 0 // EnetIsReliable: true message AvatarFetterDataNotify { - map fetter_info_map = 1; + map fetter_info_map = 15; } diff --git a/proto/AvatarFetterInfo.proto b/proto/AvatarFetterInfo.proto index 00f3f603..e21f4a3e 100644 --- a/proto/AvatarFetterInfo.proto +++ b/proto/AvatarFetterInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "FetterData.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AvatarFetterInfo { uint32 exp_number = 1; uint32 exp_level = 2; diff --git a/proto/AvatarFetterLevelRewardReq.proto b/proto/AvatarFetterLevelRewardReq.proto index b9ec5192..74e83e4f 100644 --- a/proto/AvatarFetterLevelRewardReq.proto +++ b/proto/AvatarFetterLevelRewardReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1704 +// CmdId: 1653 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarFetterLevelRewardReq { - uint64 avatar_guid = 15; - uint32 fetter_level = 2; + uint64 avatar_guid = 1; + uint32 fetter_level = 6; } diff --git a/proto/AvatarFetterLevelRewardRsp.proto b/proto/AvatarFetterLevelRewardRsp.proto index 684a9df0..06000ac0 100644 --- a/proto/AvatarFetterLevelRewardRsp.proto +++ b/proto/AvatarFetterLevelRewardRsp.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -6,8 +22,8 @@ option java_package = "emu.grasscutter.net.proto"; // EnetChannelId: 0 // EnetIsReliable: true message AvatarFetterLevelRewardRsp { - int32 retcode = 14; - uint64 avatar_guid = 12; - uint32 fetter_level = 10; - uint32 reward_id = 11; + uint64 avatar_guid = 4; + uint32 reward_id = 1; + int32 retcode = 13; + uint32 fetter_level = 14; } diff --git a/proto/AvatarFightPropNotify.proto b/proto/AvatarFightPropNotify.proto index 9d48d260..067ac66b 100644 --- a/proto/AvatarFightPropNotify.proto +++ b/proto/AvatarFightPropNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1232 +// CmdId: 1207 // EnetChannelId: 0 // EnetIsReliable: true message AvatarFightPropNotify { - uint64 avatar_guid = 3; - map fight_prop_map = 6; + map fight_prop_map = 8; + uint64 avatar_guid = 4; } diff --git a/proto/AvatarFightPropUpdateNotify.proto b/proto/AvatarFightPropUpdateNotify.proto index 75ca268a..15470944 100644 --- a/proto/AvatarFightPropUpdateNotify.proto +++ b/proto/AvatarFightPropUpdateNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1217 +// CmdId: 1221 // EnetChannelId: 0 // EnetIsReliable: true message AvatarFightPropUpdateNotify { - uint64 avatar_guid = 1; - map fight_prop_map = 6; + map fight_prop_map = 15; + uint64 avatar_guid = 13; } diff --git a/proto/AvatarFlycloakChangeNotify.proto b/proto/AvatarFlycloakChangeNotify.proto index 7ccc4688..ed2808dd 100644 --- a/proto/AvatarFlycloakChangeNotify.proto +++ b/proto/AvatarFlycloakChangeNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1681 +// CmdId: 1643 // EnetChannelId: 0 // EnetIsReliable: true message AvatarFlycloakChangeNotify { - uint64 avatar_guid = 12; - uint32 flycloak_id = 14; + uint32 flycloak_id = 8; + uint64 avatar_guid = 2; } diff --git a/proto/AvatarGainCostumeNotify.proto b/proto/AvatarGainCostumeNotify.proto index c64ff586..60ea6a67 100644 --- a/proto/AvatarGainCostumeNotify.proto +++ b/proto/AvatarGainCostumeNotify.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1670 +// CmdId: 1677 // EnetChannelId: 0 // EnetIsReliable: true message AvatarGainCostumeNotify { diff --git a/proto/AvatarGainFlycloakNotify.proto b/proto/AvatarGainFlycloakNotify.proto index b3826956..a83760c6 100644 --- a/proto/AvatarGainFlycloakNotify.proto +++ b/proto/AvatarGainFlycloakNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1615 +// CmdId: 1656 // EnetChannelId: 0 // EnetIsReliable: true message AvatarGainFlycloakNotify { - uint32 flycloak_id = 2; + uint32 flycloak_id = 3; } diff --git a/proto/AvatarInfo.proto b/proto/AvatarInfo.proto index 717300ca..4e6f2cf8 100644 --- a/proto/AvatarInfo.proto +++ b/proto/AvatarInfo.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarEquipAffixInfo.proto"; import "AvatarExcelInfo.proto"; @@ -10,6 +24,8 @@ import "AvatarSkillInfo.proto"; import "PropValue.proto"; import "TrialAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message AvatarInfo { uint32 avatar_id = 1; uint64 guid = 2; diff --git a/proto/AvatarLifeStateChangeNotify.proto b/proto/AvatarLifeStateChangeNotify.proto index 6888cb90..613bcf23 100644 --- a/proto/AvatarLifeStateChangeNotify.proto +++ b/proto/AvatarLifeStateChangeNotify.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerDieType.proto"; import "ServerBuff.proto"; -// CmdId: 1235 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1290 // EnetChannelId: 0 // EnetIsReliable: true message AvatarLifeStateChangeNotify { - uint64 avatar_guid = 8; - uint32 life_state = 15; - uint32 source_entity_id = 1; + uint32 life_state = 13; string attack_tag = 10; - PlayerDieType die_type = 11; - uint32 move_reliable_seq = 7; - repeated ServerBuff server_buff_list = 6; + PlayerDieType die_type = 2; + repeated ServerBuff server_buff_list = 12; + uint32 move_reliable_seq = 5; + uint32 source_entity_id = 3; + uint64 avatar_guid = 11; } diff --git a/proto/AvatarPromoteGetRewardReq.proto b/proto/AvatarPromoteGetRewardReq.proto index 1cbc3e1a..99192024 100644 --- a/proto/AvatarPromoteGetRewardReq.proto +++ b/proto/AvatarPromoteGetRewardReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1676 +// CmdId: 1696 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarPromoteGetRewardReq { - uint64 avatar_guid = 12; - uint32 promote_level = 8; + uint64 avatar_guid = 7; + uint32 promote_level = 12; } diff --git a/proto/AvatarPromoteGetRewardRsp.proto b/proto/AvatarPromoteGetRewardRsp.proto index b9f621c1..a1c63987 100644 --- a/proto/AvatarPromoteGetRewardRsp.proto +++ b/proto/AvatarPromoteGetRewardRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1613 +// CmdId: 1683 // EnetChannelId: 0 // EnetIsReliable: true message AvatarPromoteGetRewardRsp { - int32 retcode = 11; - uint64 avatar_guid = 2; - uint32 promote_level = 14; - uint32 reward_id = 1; + int32 retcode = 10; + uint32 reward_id = 15; + uint64 avatar_guid = 11; + uint32 promote_level = 12; } diff --git a/proto/AvatarPromoteReq.proto b/proto/AvatarPromoteReq.proto index 907f0f23..00ed62c9 100644 --- a/proto/AvatarPromoteReq.proto +++ b/proto/AvatarPromoteReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1711 +// CmdId: 1664 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarPromoteReq { - uint64 guid = 9; + uint64 guid = 5; } diff --git a/proto/AvatarPromoteRsp.proto b/proto/AvatarPromoteRsp.proto index 24dd3302..f1328066 100644 --- a/proto/AvatarPromoteRsp.proto +++ b/proto/AvatarPromoteRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1668 +// CmdId: 1639 // EnetChannelId: 0 // EnetIsReliable: true message AvatarPromoteRsp { - int32 retcode = 15; - uint64 guid = 7; + uint64 guid = 11; + int32 retcode = 8; } diff --git a/proto/AvatarPropNotify.proto b/proto/AvatarPropNotify.proto index e9449a4a..7187db21 100644 --- a/proto/AvatarPropNotify.proto +++ b/proto/AvatarPropNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1255 +// CmdId: 1231 // EnetChannelId: 0 // EnetIsReliable: true message AvatarPropNotify { - uint64 avatar_guid = 4; - map prop_map = 1; + map prop_map = 14; + uint64 avatar_guid = 15; } diff --git a/proto/AvatarSkillChangeNotify.proto b/proto/AvatarSkillChangeNotify.proto index f08b3381..15d0e9ad 100644 --- a/proto/AvatarSkillChangeNotify.proto +++ b/proto/AvatarSkillChangeNotify.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1030 +// CmdId: 1097 // EnetChannelId: 0 // EnetIsReliable: true message AvatarSkillChangeNotify { - uint64 avatar_guid = 4; - uint32 entity_id = 15; - uint32 skill_depot_id = 5; - uint32 avatar_skill_id = 2; - uint32 old_level = 10; - uint32 cur_level = 7; + uint32 cur_level = 11; + uint64 avatar_guid = 2; + uint32 entity_id = 7; + uint32 skill_depot_id = 13; + uint32 old_level = 1; + uint32 avatar_skill_id = 6; } diff --git a/proto/AvatarSkillDepotChangeNotify.proto b/proto/AvatarSkillDepotChangeNotify.proto index 2f3d8ee0..ff3a79c6 100644 --- a/proto/AvatarSkillDepotChangeNotify.proto +++ b/proto/AvatarSkillDepotChangeNotify.proto @@ -1,17 +1,33 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1037 +// CmdId: 1035 // EnetChannelId: 0 // EnetIsReliable: true message AvatarSkillDepotChangeNotify { - uint64 avatar_guid = 2; - uint32 entity_id = 8; - uint32 skill_depot_id = 9; - repeated uint32 talent_id_list = 1; - repeated uint32 proud_skill_list = 5; - uint32 core_proud_skill_level = 4; - map skill_level_map = 10; - map proud_skill_extra_level_map = 11; + uint32 skill_depot_id = 15; + map proud_skill_extra_level_map = 14; + repeated uint32 talent_id_list = 9; + repeated uint32 proud_skill_list = 4; + uint32 core_proud_skill_level = 2; + uint32 entity_id = 7; + uint64 avatar_guid = 12; + map skill_level_map = 3; } diff --git a/proto/AvatarSkillInfo.proto b/proto/AvatarSkillInfo.proto index 9d71c1b7..2d17dc40 100644 --- a/proto/AvatarSkillInfo.proto +++ b/proto/AvatarSkillInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/AvatarSkillInfoNotify.proto b/proto/AvatarSkillInfoNotify.proto index 4f54cb86..2f9a2c85 100644 --- a/proto/AvatarSkillInfoNotify.proto +++ b/proto/AvatarSkillInfoNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarSkillInfo.proto"; -// CmdId: 1035 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1090 // EnetChannelId: 0 // EnetIsReliable: true message AvatarSkillInfoNotify { + map skill_map = 11; uint64 guid = 4; - map skill_map = 2; } diff --git a/proto/AvatarSkillMaxChargeCountNotify.proto b/proto/AvatarSkillMaxChargeCountNotify.proto index 4a028ad2..8aa2fb83 100644 --- a/proto/AvatarSkillMaxChargeCountNotify.proto +++ b/proto/AvatarSkillMaxChargeCountNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1085 +// CmdId: 1003 // EnetChannelId: 0 // EnetIsReliable: true message AvatarSkillMaxChargeCountNotify { - uint64 avatar_guid = 15; - uint32 skill_id = 2; - uint32 max_charge_count = 1; + uint32 skill_id = 6; + uint32 max_charge_count = 11; + uint64 avatar_guid = 7; } diff --git a/proto/AvatarSkillUpgradeReq.proto b/proto/AvatarSkillUpgradeReq.proto index 611c3026..0b181a56 100644 --- a/proto/AvatarSkillUpgradeReq.proto +++ b/proto/AvatarSkillUpgradeReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1027 +// CmdId: 1075 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarSkillUpgradeReq { - uint64 avatar_guid = 1; - uint32 avatar_skill_id = 5; - uint32 old_level = 10; + uint64 avatar_guid = 7; + uint32 old_level = 3; + uint32 avatar_skill_id = 4; } diff --git a/proto/AvatarSkillUpgradeRsp.proto b/proto/AvatarSkillUpgradeRsp.proto index 780c65a5..8d2afaf5 100644 --- a/proto/AvatarSkillUpgradeRsp.proto +++ b/proto/AvatarSkillUpgradeRsp.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1007 +// CmdId: 1048 // EnetChannelId: 0 // EnetIsReliable: true message AvatarSkillUpgradeRsp { - int32 retcode = 3; - uint64 avatar_guid = 10; - uint32 avatar_skill_id = 2; - uint32 old_level = 5; - uint32 cur_level = 7; + uint64 avatar_guid = 11; + uint32 cur_level = 14; + uint32 avatar_skill_id = 9; + uint32 old_level = 3; + int32 retcode = 4; } diff --git a/proto/AvatarTeam.proto b/proto/AvatarTeam.proto index aab6ee4c..36eddedf 100644 --- a/proto/AvatarTeam.proto +++ b/proto/AvatarTeam.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AvatarTeam { - repeated uint64 avatar_guid_list = 1; - string team_name = 2; + repeated uint64 avatar_guid_list = 7; + string team_name = 14; } diff --git a/proto/AvatarTeamResonanceInfo.proto b/proto/AvatarTeamResonanceInfo.proto index 182b8453..9bfd8b04 100644 --- a/proto/AvatarTeamResonanceInfo.proto +++ b/proto/AvatarTeamResonanceInfo.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message AvatarTeamResonanceInfo { - uint32 entity_id = 1; - uint64 avatar_guid = 2; - repeated uint32 add_team_resonance_id_list = 3; - repeated uint32 del_team_resonance_id_list = 4; + repeated uint32 add_team_resonance_id_list = 5; + uint32 entity_id = 11; + uint64 avatar_guid = 3; + repeated uint32 del_team_resonance_id_list = 14; } diff --git a/proto/AvatarTeamUpdateNotify.proto b/proto/AvatarTeamUpdateNotify.proto index 4c264f17..d5893f81 100644 --- a/proto/AvatarTeamUpdateNotify.proto +++ b/proto/AvatarTeamUpdateNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarTeam.proto"; -// CmdId: 1713 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1706 // EnetChannelId: 0 // EnetIsReliable: true message AvatarTeamUpdateNotify { - map avatar_team_map = 6; - repeated uint64 temp_avatar_guid_list = 9; + map avatar_team_map = 2; + repeated uint64 temp_avatar_guid_list = 13; } diff --git a/proto/AvatarUnlockTalentNotify.proto b/proto/AvatarUnlockTalentNotify.proto index 5b37d18f..1ade761d 100644 --- a/proto/AvatarUnlockTalentNotify.proto +++ b/proto/AvatarUnlockTalentNotify.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1041 +// CmdId: 1012 // EnetChannelId: 0 // EnetIsReliable: true message AvatarUnlockTalentNotify { - uint64 avatar_guid = 1; - uint32 entity_id = 15; - uint32 talent_id = 13; - uint32 skill_depot_id = 14; + uint32 entity_id = 14; + uint64 avatar_guid = 13; + uint32 talent_id = 10; + uint32 skill_depot_id = 1; } diff --git a/proto/AvatarUpgradeReq.proto b/proto/AvatarUpgradeReq.proto index 0d263afa..0cc1e18c 100644 --- a/proto/AvatarUpgradeReq.proto +++ b/proto/AvatarUpgradeReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1680 +// CmdId: 1770 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarUpgradeReq { - uint32 item_id = 9; - uint32 count = 12; - uint64 avatar_guid = 14; + uint64 avatar_guid = 6; + uint32 count = 2; + uint32 item_id = 5; } diff --git a/proto/AvatarUpgradeRsp.proto b/proto/AvatarUpgradeRsp.proto index 14ac0fa4..f064b561 100644 --- a/proto/AvatarUpgradeRsp.proto +++ b/proto/AvatarUpgradeRsp.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1779 +// CmdId: 1701 // EnetChannelId: 0 // EnetIsReliable: true message AvatarUpgradeRsp { - int32 retcode = 6; - uint64 avatar_guid = 15; - uint32 old_level = 5; - uint32 cur_level = 7; - map old_fight_prop_map = 2; + uint32 cur_level = 6; + uint32 old_level = 13; + map old_fight_prop_map = 10; + int32 retcode = 1; map cur_fight_prop_map = 4; + uint64 avatar_guid = 15; } diff --git a/proto/AvatarWearFlycloakReq.proto b/proto/AvatarWearFlycloakReq.proto index 1e480f7f..50267486 100644 --- a/proto/AvatarWearFlycloakReq.proto +++ b/proto/AvatarWearFlycloakReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1728 +// CmdId: 1737 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message AvatarWearFlycloakReq { uint64 avatar_guid = 11; - uint32 flycloak_id = 9; + uint32 flycloak_id = 13; } diff --git a/proto/AvatarWearFlycloakRsp.proto b/proto/AvatarWearFlycloakRsp.proto index 062a4ad4..a28c46c3 100644 --- a/proto/AvatarWearFlycloakRsp.proto +++ b/proto/AvatarWearFlycloakRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1770 +// CmdId: 1698 // EnetChannelId: 0 // EnetIsReliable: true message AvatarWearFlycloakRsp { - int32 retcode = 13; - uint64 avatar_guid = 8; - uint32 flycloak_id = 2; + uint32 flycloak_id = 13; + uint64 avatar_guid = 7; + int32 retcode = 6; } diff --git a/proto/BattlePassAllDataNotify.proto b/proto/BattlePassAllDataNotify.proto index bd80adc0..12edbcb9 100644 --- a/proto/BattlePassAllDataNotify.proto +++ b/proto/BattlePassAllDataNotify.proto @@ -9,7 +9,7 @@ import "BattlePassSchedule.proto"; // EnetChannelId: 0 // EnetIsReliable: true message BattlePassAllDataNotify { - bool have_cur_schedule = 11; - BattlePassSchedule cur_schedule = 10; - repeated BattlePassMission mission_list = 1; + bool have_cur_schedule = 2; + BattlePassSchedule cur_schedule = 1; + repeated BattlePassMission mission_list = 4; } diff --git a/proto/BattlePassBuySuccNotify.proto b/proto/BattlePassBuySuccNotify.proto index 2d00bcdc..d0be202b 100644 --- a/proto/BattlePassBuySuccNotify.proto +++ b/proto/BattlePassBuySuccNotify.proto @@ -8,8 +8,8 @@ import "ItemParam.proto"; // EnetChannelId: 0 // EnetIsReliable: true message BattlePassBuySuccNotify { - uint32 schedule_id = 7; - uint32 product_play_type = 9; - repeated ItemParam item_list = 6; - uint32 add_point = 2; + uint32 schedule_id = 4; + uint32 product_play_type = 11; + repeated ItemParam item_list = 9; + uint32 add_point = 12; } diff --git a/proto/BattlePassCurScheduleUpdateNotify.proto b/proto/BattlePassCurScheduleUpdateNotify.proto index f392aea7..657d24da 100644 --- a/proto/BattlePassCurScheduleUpdateNotify.proto +++ b/proto/BattlePassCurScheduleUpdateNotify.proto @@ -8,6 +8,6 @@ import "BattlePassSchedule.proto"; // EnetChannelId: 0 // EnetIsReliable: true message BattlePassCurScheduleUpdateNotify { - bool have_cur_schedule = 9; - BattlePassSchedule cur_schedule = 15; + bool have_cur_schedule = 11; + BattlePassSchedule cur_schedule = 1; } diff --git a/proto/BattlePassCycle.proto b/proto/BattlePassCycle.proto index c36bdf56..c63e4144 100644 --- a/proto/BattlePassCycle.proto +++ b/proto/BattlePassCycle.proto @@ -3,7 +3,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message BattlePassCycle { - uint32 cycle_idx = 1; - uint32 begin_time = 2; - uint32 end_time = 3; + uint32 cycle_idx = 3; + uint32 begin_time = 13; + uint32 end_time = 10; } diff --git a/proto/BattlePassMission.proto b/proto/BattlePassMission.proto index 54788243..853c9c61 100644 --- a/proto/BattlePassMission.proto +++ b/proto/BattlePassMission.proto @@ -3,12 +3,12 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message BattlePassMission { - uint32 mission_id = 1; - uint32 cur_progress = 2; - uint32 total_progress = 3; - uint32 reward_battle_pass_point = 4; - uint32 mission_type = 5; - MissionStatus mission_status = 6; + uint32 mission_id = 11; + uint32 cur_progress = 13; + uint32 total_progress = 6; + uint32 reward_battle_pass_point = 3; + uint32 mission_type = 12; + MissionStatus mission_status = 15; enum MissionStatus { MISSION_STATUS_INVALID = 0; diff --git a/proto/BattlePassMissionDelNotify.proto b/proto/BattlePassMissionDelNotify.proto index 5b148cd1..7301cb2f 100644 --- a/proto/BattlePassMissionDelNotify.proto +++ b/proto/BattlePassMissionDelNotify.proto @@ -6,5 +6,5 @@ option java_package = "emu.grasscutter.net.proto"; // EnetChannelId: 0 // EnetIsReliable: true message BattlePassMissionDelNotify { - repeated uint32 del_mission_id_list = 4; + repeated uint32 del_mission_id_list = 10; } diff --git a/proto/BattlePassMissionUpdateNotify.proto b/proto/BattlePassMissionUpdateNotify.proto index 58a8f4a2..8222765b 100644 --- a/proto/BattlePassMissionUpdateNotify.proto +++ b/proto/BattlePassMissionUpdateNotify.proto @@ -8,5 +8,5 @@ import "BattlePassMission.proto"; // EnetChannelId: 0 // EnetIsReliable: true message BattlePassMissionUpdateNotify { - repeated BattlePassMission mission_list = 6; + repeated BattlePassMission mission_list = 1; } diff --git a/proto/BattlePassProduct.proto b/proto/BattlePassProduct.proto index d22d258f..990de303 100644 --- a/proto/BattlePassProduct.proto +++ b/proto/BattlePassProduct.proto @@ -3,7 +3,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message BattlePassProduct { - string normal_product_id = 1; - string extra_product_id = 2; - string upgrade_product_id = 3; + string normal_product_id = 13; + string extra_product_id = 10; + string upgrade_product_id = 6; } diff --git a/proto/BattlePassRewardTag.proto b/proto/BattlePassRewardTag.proto index 8a3067a1..efa83a25 100644 --- a/proto/BattlePassRewardTag.proto +++ b/proto/BattlePassRewardTag.proto @@ -5,7 +5,7 @@ option java_package = "emu.grasscutter.net.proto"; import "BattlePassUnlockStatus.proto"; message BattlePassRewardTag { - BattlePassUnlockStatus unlock_status = 1; - uint32 level = 2; - uint32 reward_id = 3; + BattlePassUnlockStatus unlock_status = 2; + uint32 level = 4; + uint32 reward_id = 7; } diff --git a/proto/BattlePassRewardTakeOption.proto b/proto/BattlePassRewardTakeOption.proto index 84a5527c..a5672319 100644 --- a/proto/BattlePassRewardTakeOption.proto +++ b/proto/BattlePassRewardTakeOption.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "BattlePassRewardTag.proto"; +option java_package = "emu.grasscutter.net.proto"; + message BattlePassRewardTakeOption { - BattlePassRewardTag tag = 1; - uint32 option_idx = 2; + BattlePassRewardTag tag = 10; + uint32 option_idx = 14; } diff --git a/proto/BattlePassSchedule.proto b/proto/BattlePassSchedule.proto index 223875e0..06e06682 100644 --- a/proto/BattlePassSchedule.proto +++ b/proto/BattlePassSchedule.proto @@ -2,23 +2,23 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; +import "BattlePassUnlockStatus.proto"; import "BattlePassCycle.proto"; import "BattlePassProduct.proto"; import "BattlePassRewardTag.proto"; -import "BattlePassUnlockStatus.proto"; message BattlePassSchedule { - uint32 schedule_id = 1; - uint32 level = 2; - uint32 point = 3; - BattlePassUnlockStatus unlock_status = 4; - repeated BattlePassRewardTag reward_taken_list = 5; - uint32 begin_time = 6; - uint32 end_time = 7; - BattlePassCycle cur_cycle = 8; - bool is_extra_paid_reward_taken = 9; - BattlePassProduct product_info = 10; - bool is_viewed = 11; - uint32 cur_cycle_points = 12; - uint32 JPFMGBEBBBJ = 13; + uint32 schedule_id = 9; + uint32 level = 14; + uint32 point = 1; + BattlePassUnlockStatus unlock_status = 7; + repeated BattlePassRewardTag reward_taken_list = 11; + uint32 begin_time = 2; + uint32 end_time = 15; + BattlePassCycle cur_cycle = 4; + bool is_extra_paid_reward_taken = 6; + BattlePassProduct product_info = 13; + bool is_viewed = 3; + uint32 cur_cycle_points = 10; + uint32 JPFMGBEBBBJ = 12; } diff --git a/proto/Birthday.proto b/proto/Birthday.proto index b360bcfd..75500d0c 100644 --- a/proto/Birthday.proto +++ b/proto/Birthday.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/BlockInfo.proto b/proto/BlockInfo.proto index 8844d028..aaa7d71b 100644 --- a/proto/BlockInfo.proto +++ b/proto/BlockInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/BlossomBriefInfo.proto b/proto/BlossomBriefInfo.proto index 884add46..9e83bfeb 100644 --- a/proto/BlossomBriefInfo.proto +++ b/proto/BlossomBriefInfo.proto @@ -1,18 +1,34 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message BlossomBriefInfo { - uint32 refresh_id = 1; - uint32 circle_camp_id = 2; - uint32 city_id = 3; - uint32 resin = 4; - Vector pos = 5; - uint32 reward_id = 6; - uint32 monster_level = 7; - bool is_guide_opened = 8; - uint32 state = 9; - uint32 scene_id = 10; + uint32 refresh_id = 13; + uint32 reward_id = 5; + uint32 city_id = 10; + uint32 resin = 11; + uint32 state = 7; + bool is_guide_opened = 1; + uint32 monster_level = 8; + uint32 circle_camp_id = 15; + Vector pos = 12; + uint32 scene_id = 9; } diff --git a/proto/BlossomBriefInfoNotify.proto b/proto/BlossomBriefInfoNotify.proto index f980e22d..e1becfb8 100644 --- a/proto/BlossomBriefInfoNotify.proto +++ b/proto/BlossomBriefInfoNotify.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "BlossomBriefInfo.proto"; -// CmdId: 2741 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2712 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message BlossomBriefInfoNotify { - repeated BlossomBriefInfo brief_info_list = 3; + repeated BlossomBriefInfo brief_info_list = 4; } diff --git a/proto/BlossomChestInfo.proto b/proto/BlossomChestInfo.proto index 16d6099c..0e93ee88 100644 --- a/proto/BlossomChestInfo.proto +++ b/proto/BlossomChestInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/BossChestInfo.proto b/proto/BossChestInfo.proto index 72edf1af..e2e7c573 100644 --- a/proto/BossChestInfo.proto +++ b/proto/BossChestInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "WeeklyBossResinDiscountInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message BossChestInfo { uint32 monster_config_id = 1; uint32 resin = 2; diff --git a/proto/BuildingInfo.proto b/proto/BuildingInfo.proto index 1d026207..7b850fd2 100644 --- a/proto/BuildingInfo.proto +++ b/proto/BuildingInfo.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - message BuildingInfo { uint32 building_id = 1; uint32 point_config_id = 2; uint32 cost = 3; - uint32 level = 4; uint32 refund = 5; uint32 owner_uid = 6; + uint32 Unk2700_MDJOPHOHFDB = 7; + uint32 Unk2700_COFBIGLBNGP = 8; } diff --git a/proto/BuyBattlePassLevelReq.proto b/proto/BuyBattlePassLevelReq.proto index bec8d27a..f512715a 100644 --- a/proto/BuyBattlePassLevelReq.proto +++ b/proto/BuyBattlePassLevelReq.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2612 +// CmdId: 2647 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message BuyBattlePassLevelReq { - uint32 buy_level = 10; + uint32 buy_level = 8; } diff --git a/proto/BuyBattlePassLevelRsp.proto b/proto/BuyBattlePassLevelRsp.proto index 62dd6d3d..e5514989 100644 --- a/proto/BuyBattlePassLevelRsp.proto +++ b/proto/BuyBattlePassLevelRsp.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2646 +// CmdId: 2637 // EnetChannelId: 0 // EnetIsReliable: true message BuyBattlePassLevelRsp { - int32 retcode = 9; - uint32 buy_level = 6; + int32 retcode = 5; + uint32 buy_level = 13; } diff --git a/proto/BuyGoodsReq.proto b/proto/BuyGoodsReq.proto index 57b1246a..c44524dc 100644 --- a/proto/BuyGoodsReq.proto +++ b/proto/BuyGoodsReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ShopGoods.proto"; -// CmdId: 741 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 712 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message BuyGoodsReq { - uint32 shop_type = 15; - ShopGoods goods = 13; - uint32 buy_count = 6; + uint32 buy_count = 14; + ShopGoods goods = 15; + uint32 shop_type = 7; } diff --git a/proto/BuyGoodsRsp.proto b/proto/BuyGoodsRsp.proto index c266bc01..222aba21 100644 --- a/proto/BuyGoodsRsp.proto +++ b/proto/BuyGoodsRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ShopGoods.proto"; -// CmdId: 737 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 735 // EnetChannelId: 0 // EnetIsReliable: true message BuyGoodsRsp { - int32 retcode = 15; - uint32 shop_type = 12; - ShopGoods goods = 13; - uint32 buy_count = 8; - repeated ShopGoods goods_list = 1; + uint32 buy_count = 14; + ShopGoods goods = 12; + uint32 shop_type = 11; + int32 retcode = 2; + repeated ShopGoods goods_list = 5; } diff --git a/proto/CalcWeaponUpgradeReturnItemsReq.proto b/proto/CalcWeaponUpgradeReturnItemsReq.proto index d75740ea..cdcad0ae 100644 --- a/proto/CalcWeaponUpgradeReturnItemsReq.proto +++ b/proto/CalcWeaponUpgradeReturnItemsReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 610 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 633 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message CalcWeaponUpgradeReturnItemsReq { - uint64 target_weapon_guid = 9; - repeated uint64 food_weapon_guid_list = 10; - repeated ItemParam item_param_list = 14; + repeated uint64 food_weapon_guid_list = 15; + uint64 target_weapon_guid = 12; + repeated ItemParam item_param_list = 3; } diff --git a/proto/CalcWeaponUpgradeReturnItemsRsp.proto b/proto/CalcWeaponUpgradeReturnItemsRsp.proto index 905b17fb..d63a1044 100644 --- a/proto/CalcWeaponUpgradeReturnItemsRsp.proto +++ b/proto/CalcWeaponUpgradeReturnItemsRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 666 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 684 // EnetChannelId: 0 // EnetIsReliable: true message CalcWeaponUpgradeReturnItemsRsp { - int32 retcode = 5; - uint64 target_weapon_guid = 10; - repeated ItemParam item_param_list = 3; + repeated ItemParam item_param_list = 4; + int32 retcode = 15; + uint64 target_weapon_guid = 8; } diff --git a/proto/CanUseSkillNotify.proto b/proto/CanUseSkillNotify.proto index fd61b1a9..05b9523e 100644 --- a/proto/CanUseSkillNotify.proto +++ b/proto/CanUseSkillNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1098 +// CmdId: 1005 // EnetChannelId: 0 // EnetIsReliable: true message CanUseSkillNotify { - bool is_can_use_skill = 6; + bool is_can_use_skill = 2; } diff --git a/proto/CardProductRewardNotify.proto b/proto/CardProductRewardNotify.proto index c0b529e7..14c4eaec 100644 --- a/proto/CardProductRewardNotify.proto +++ b/proto/CardProductRewardNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4104 +// CmdId: 4107 // EnetChannelId: 0 // EnetIsReliable: true message CardProductRewardNotify { - string product_id = 6; - uint32 hcoin = 11; - uint32 remain_days = 5; + uint32 hcoin = 6; + string product_id = 14; + uint32 remain_days = 1; } diff --git a/proto/ChallengeDataNotify.proto b/proto/ChallengeDataNotify.proto index 476dfdf2..19e9aff5 100644 --- a/proto/ChallengeDataNotify.proto +++ b/proto/ChallengeDataNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 963 +// CmdId: 953 // EnetChannelId: 0 // EnetIsReliable: true message ChallengeDataNotify { - uint32 challenge_index = 8; + uint32 value = 8; + uint32 challenge_index = 2; uint32 param_index = 9; - uint32 value = 1; } diff --git a/proto/ChangeAvatarReq.proto b/proto/ChangeAvatarReq.proto index 2e221818..a0df9fea 100644 --- a/proto/ChangeAvatarReq.proto +++ b/proto/ChangeAvatarReq.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 1662 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1640 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChangeAvatarReq { - uint64 guid = 5; - uint32 skill_id = 11; - bool is_move = 7; - Vector move_pos = 9; + Vector move_pos = 15; + uint32 skill_id = 2; + uint64 guid = 7; + bool is_move = 10; } diff --git a/proto/ChangeAvatarRsp.proto b/proto/ChangeAvatarRsp.proto index f644cdaf..37809fd6 100644 --- a/proto/ChangeAvatarRsp.proto +++ b/proto/ChangeAvatarRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1710 +// CmdId: 1607 // EnetChannelId: 0 // EnetIsReliable: true message ChangeAvatarRsp { - int32 retcode = 6; - uint64 cur_guid = 11; - uint32 skill_id = 5; + uint32 skill_id = 3; + int32 retcode = 10; + uint64 cur_guid = 4; } diff --git a/proto/ChangeEnergyReason.proto b/proto/ChangeEnergyReason.proto index 65104d09..3d3dcf49 100644 --- a/proto/ChangeEnergyReason.proto +++ b/proto/ChangeEnergyReason.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ChangeGameTimeReq.proto b/proto/ChangeGameTimeReq.proto index 74203a72..a931f906 100644 --- a/proto/ChangeGameTimeReq.proto +++ b/proto/ChangeGameTimeReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 149 +// CmdId: 173 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChangeGameTimeReq { - uint32 game_time = 9; - bool is_force_set = 7; - uint32 extra_days = 6; + uint32 game_time = 6; + bool is_force_set = 11; + uint32 extra_days = 12; } diff --git a/proto/ChangeGameTimeRsp.proto b/proto/ChangeGameTimeRsp.proto index 078a7351..5d3f5d1c 100644 --- a/proto/ChangeGameTimeRsp.proto +++ b/proto/ChangeGameTimeRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 182 +// CmdId: 199 // EnetChannelId: 0 // EnetIsReliable: true message ChangeGameTimeRsp { - int32 retcode = 7; - uint32 cur_game_time = 1; - uint32 extra_days = 2; + int32 retcode = 8; + uint32 extra_days = 5; + uint32 cur_game_time = 14; } diff --git a/proto/ChangeHpReason.proto b/proto/ChangeHpReason.proto index 48cdb4b5..36b3673d 100644 --- a/proto/ChangeHpReason.proto +++ b/proto/ChangeHpReason.proto @@ -1,36 +1,52 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; enum ChangeHpReason { - CHANGE_HP_REASON_CHANGE_HP_NONE = 0; - CHANGE_HP_REASON_CHANGE_HP_SUB_AVATAR = 1; - CHANGE_HP_REASON_CHANGE_HP_SUB_MONSTER = 2; - CHANGE_HP_REASON_CHANGE_HP_SUB_GEAR = 3; - CHANGE_HP_REASON_CHANGE_HP_SUB_ENVIR = 4; - CHANGE_HP_REASON_CHANGE_HP_SUB_FALL = 5; - CHANGE_HP_REASON_CHANGE_HP_SUB_DRAWN = 6; - CHANGE_HP_REASON_CHANGE_HP_SUB_ABYSS = 7; - CHANGE_HP_REASON_CHANGE_HP_SUB_ABILITY = 8; - CHANGE_HP_REASON_CHANGE_HP_SUB_SUMMON = 9; - CHANGE_HP_REASON_CHANGE_HP_SUB_SCRIPT = 10; - CHANGE_HP_REASON_CHANGE_HP_SUB_GM = 11; - CHANGE_HP_REASON_CHANGE_HP_SUB_KILL_SELF = 12; - CHANGE_HP_REASON_CHANGE_HP_SUB_CLIMATE_COLD = 13; - CHANGE_HP_REASON_CHANGE_HP_SUB_STORM_LIGHTNING = 14; - CHANGE_HP_REASON_CHANGE_HP_SUB_KILL_SERVER_GADGET = 15; - CHANGE_HP_REASON_CHANGE_HP_SUB_REPLACE = 16; - CHANGE_HP_REASON_CHANGE_HP_SUB_PLAYER_LEAVE = 17; - CHANGE_HP_REASON_CIKCDBOJGDK = 18; - CHANGE_HP_REASON_HEKLBLFBJJK = 19; - CHANGE_HP_REASON_CHANGE_HP_BY_LUA = 51; - CHANGE_HP_REASON_CHANGE_HP_ADD_ABILITY = 101; - CHANGE_HP_REASON_CHANGE_HP_ADD_ITEM = 102; - CHANGE_HP_REASON_CHANGE_HP_ADD_REVIVE = 103; - CHANGE_HP_REASON_CHANGE_HP_ADD_UPGRADE = 104; - CHANGE_HP_REASON_CHANGE_HP_ADD_STATUE = 105; - CHANGE_HP_REASON_CHANGE_HP_ADD_BACKGROUND = 106; - CHANGE_HP_REASON_CHANGE_HP_ADD_GM = 107; - CHANGE_HP_REASON_CHANGE_HP_ADD_TRIAL_AVATAR_ACTIVITY = 108; - CHANGE_HP_REASON_CHANGE_HP_ADD_ROUGUELIKE_SPRING = 109; + CHANGE_HP_REASON_NONE = 0; + CHANGE_HP_REASON_SUB_AVATAR = 1; + CHANGE_HP_REASON_SUB_MONSTER = 2; + CHANGE_HP_REASON_SUB_GEAR = 3; + CHANGE_HP_REASON_SUB_ENVIR = 4; + CHANGE_HP_REASON_SUB_FALL = 5; + CHANGE_HP_REASON_SUB_DRAWN = 6; + CHANGE_HP_REASON_SUB_ABYSS = 7; + CHANGE_HP_REASON_SUB_ABILITY = 8; + CHANGE_HP_REASON_SUB_SUMMON = 9; + CHANGE_HP_REASON_SUB_SCRIPT = 10; + CHANGE_HP_REASON_SUB_GM = 11; + CHANGE_HP_REASON_SUB_KILL_SELF = 12; + CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13; + CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14; + CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15; + CHANGE_HP_REASON_SUB_REPLACE = 16; + CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17; + CHANGE_HP_REASON_Unk2700_CIKCDBOJGDK = 18; + CHANGE_HP_REASON_Unk2700_HEKLBLFBJJK = 19; + CHANGE_HP_REASON_BY_LUA = 51; + CHANGE_HP_REASON_ADD_ABILITY = 101; + CHANGE_HP_REASON_ADD_ITEM = 102; + CHANGE_HP_REASON_ADD_REVIVE = 103; + CHANGE_HP_REASON_ADD_UPGRADE = 104; + CHANGE_HP_REASON_ADD_STATUE = 105; + CHANGE_HP_REASON_ADD_BACKGROUND = 106; + CHANGE_HP_REASON_ADD_GM = 107; + CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108; + CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING = 109; } diff --git a/proto/ChangeMailStarNotify.proto b/proto/ChangeMailStarNotify.proto index 7588e662..3721d66f 100644 --- a/proto/ChangeMailStarNotify.proto +++ b/proto/ChangeMailStarNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1407 +// CmdId: 1448 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChangeMailStarNotify { - repeated uint32 mail_id_list = 5; - bool is_star = 9; + bool is_star = 14; + repeated uint32 mail_id_list = 2; } diff --git a/proto/ChangeMpTeamAvatarReq.proto b/proto/ChangeMpTeamAvatarReq.proto index 02194659..70a94514 100644 --- a/proto/ChangeMpTeamAvatarReq.proto +++ b/proto/ChangeMpTeamAvatarReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1689 +// CmdId: 1708 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChangeMpTeamAvatarReq { - repeated uint64 avatar_guid_list = 5; - uint64 cur_avatar_guid = 12; + uint64 cur_avatar_guid = 4; + repeated uint64 avatar_guid_list = 8; } diff --git a/proto/ChangeMpTeamAvatarRsp.proto b/proto/ChangeMpTeamAvatarRsp.proto index 6339f5ae..d6c5218b 100644 --- a/proto/ChangeMpTeamAvatarRsp.proto +++ b/proto/ChangeMpTeamAvatarRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1617 +// CmdId: 1753 // EnetChannelId: 0 // EnetIsReliable: true message ChangeMpTeamAvatarRsp { - int32 retcode = 7; + int32 retcode = 4; repeated uint64 avatar_guid_list = 3; - uint64 cur_avatar_guid = 8; + uint64 cur_avatar_guid = 13; } diff --git a/proto/ChangeTeamNameReq.proto b/proto/ChangeTeamNameReq.proto index 239edf51..18fddbc4 100644 --- a/proto/ChangeTeamNameReq.proto +++ b/proto/ChangeTeamNameReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1762 +// CmdId: 1603 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChangeTeamNameReq { - int32 team_id = 12; - string team_name = 15; + int32 team_id = 8; + string team_name = 9; } diff --git a/proto/ChangeTeamNameRsp.proto b/proto/ChangeTeamNameRsp.proto index f601b755..46e4210c 100644 --- a/proto/ChangeTeamNameRsp.proto +++ b/proto/ChangeTeamNameRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1789 +// CmdId: 1666 // EnetChannelId: 0 // EnetIsReliable: true message ChangeTeamNameRsp { - int32 team_id = 6; + int32 retcode = 11; string team_name = 2; - int32 retcode = 8; + int32 team_id = 4; } diff --git a/proto/ChannelerSlabLoopDungeonResultInfo.proto b/proto/ChannelerSlabLoopDungeonResultInfo.proto new file mode 100644 index 00000000..f401cd86 --- /dev/null +++ b/proto/ChannelerSlabLoopDungeonResultInfo.proto @@ -0,0 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message ChannelerSlabLoopDungeonResultInfo { + bool is_success = 11; + uint32 challenge_max_score = 8; + uint32 dungeon_index = 7; + bool is_in_time_limit = 10; + uint32 challenge_score = 12; +} diff --git a/proto/ChannellerSlabLoopDungeonResultInfo.proto b/proto/ChannellerSlabLoopDungeonResultInfo.proto index 11a5ad09..a5dd6b3f 100644 --- a/proto/ChannellerSlabLoopDungeonResultInfo.proto +++ b/proto/ChannellerSlabLoopDungeonResultInfo.proto @@ -2,6 +2,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; + message ChannellerSlabLoopDungeonResultInfo { uint32 dungeon_index = 1; bool is_success = 2; diff --git a/proto/ChapterStateNotify.proto b/proto/ChapterStateNotify.proto index 0838691d..02a1a175 100644 --- a/proto/ChapterStateNotify.proto +++ b/proto/ChapterStateNotify.proto @@ -4,22 +4,22 @@ option java_package = "emu.grasscutter.net.proto"; import "ChapterState.proto"; -// CmdId: 498 +// CmdId: 405 // EnetChannelId: 0 // EnetIsReliable: true message ChapterStateNotify { - uint32 chapter_id = 1; - ChapterState chapter_state = 12; + uint32 chapter_id = 2; + ChapterState chapter_state = 9; NeedPlayerLevel need_player_level = 10; - NeedBeginTime need_begin_time = 14; + NeedBeginTime need_begin_time = 1; message NeedPlayerLevel { - bool is_limit = 1; - uint32 config_need_player_level = 2; + bool is_limit = 2; + uint32 config_need_player_level = 11; } message NeedBeginTime { - bool is_limit = 1; - uint32 config_need_begin_time = 2; + bool is_limit = 7; + uint32 config_need_begin_time = 3; } } diff --git a/proto/ChatInfo.proto b/proto/ChatInfo.proto index 6491ced1..740c8867 100644 --- a/proto/ChatInfo.proto +++ b/proto/ChatInfo.proto @@ -1,17 +1,35 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +//import "SystemHint.proto"; + option java_package = "emu.grasscutter.net.proto"; message ChatInfo { - uint32 time = 1; - uint32 uid = 2; - uint32 sequence = 3; - uint32 to_uid = 4; + uint32 time = 13; + uint32 sequence = 10; + uint32 to_uid = 7; + uint32 uid = 15; bool is_read = 5; oneof content { - string text = 100; - uint32 icon = 101; - SystemHint system_hint = 102; + string text = 1946; + uint32 icon = 914; + SystemHint system_hint = 1753; } enum SystemHintType { @@ -21,6 +39,6 @@ message ChatInfo { } message SystemHint { - uint32 type = 1; + uint32 type = 14; } } diff --git a/proto/CheckAddItemExceedLimitNotify.proto b/proto/CheckAddItemExceedLimitNotify.proto index a7861117..ee40d768 100644 --- a/proto/CheckAddItemExceedLimitNotify.proto +++ b/proto/CheckAddItemExceedLimitNotify.proto @@ -1,20 +1,36 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 653 +// CmdId: 692 // EnetChannelId: 0 // EnetIsReliable: true message CheckAddItemExceedLimitNotify { - bool is_drop = 1; - repeated uint32 exceeded_item_list = 8; - repeated uint32 exceeded_item_type_list = 3; - ItemExceedLimitMsgType msg_type = 14; + bool is_drop = 5; + repeated uint32 exceeded_item_type_list = 10; + repeated uint32 exceeded_item_list = 12; + ItemExceedLimitMsgType msg_type = 4; enum ItemExceedLimitMsgType { ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0; ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1; ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2; - ITEM_EXCEED_LIMIT_MSG_TYPE_BONLGEEEBBF = 3; + ITEM_EXCEED_LIMIT_MSG_TYPE_Unk2700_BONLGEEEBBF = 3; } } diff --git a/proto/ChildQuest.proto b/proto/ChildQuest.proto index fcec288c..1fa3074f 100644 --- a/proto/ChildQuest.proto +++ b/proto/ChildQuest.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ChildQuest { - uint32 quest_id = 1; - uint32 state = 2; - uint32 quest_config_id = 3; + uint32 quest_config_id = 8; + uint32 state = 4; + uint32 quest_id = 15; } diff --git a/proto/ChooseCurAvatarTeamReq.proto b/proto/ChooseCurAvatarTeamReq.proto index d039a395..5b427f8e 100644 --- a/proto/ChooseCurAvatarTeamReq.proto +++ b/proto/ChooseCurAvatarTeamReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1800 +// CmdId: 1796 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ChooseCurAvatarTeamReq { - uint32 team_id = 14; + uint32 team_id = 9; } diff --git a/proto/ChooseCurAvatarTeamRsp.proto b/proto/ChooseCurAvatarTeamRsp.proto index ab77584a..7e6e18f1 100644 --- a/proto/ChooseCurAvatarTeamRsp.proto +++ b/proto/ChooseCurAvatarTeamRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1673 +// CmdId: 1661 // EnetChannelId: 0 // EnetIsReliable: true message ChooseCurAvatarTeamRsp { - int32 retcode = 7; - uint32 cur_team_id = 4; + uint32 cur_team_id = 1; + int32 retcode = 14; } diff --git a/proto/CityInfo.proto b/proto/CityInfo.proto index c4559372..9137faa3 100644 --- a/proto/CityInfo.proto +++ b/proto/CityInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message CityInfo { - uint32 city_id = 1; - uint32 level = 2; + uint32 city_id = 15; uint32 crystal_num = 3; + uint32 level = 4; } diff --git a/proto/ClientAbilityChangeNotify.proto b/proto/ClientAbilityChangeNotify.proto index c2d727b9..40e0dc4d 100644 --- a/proto/ClientAbilityChangeNotify.proto +++ b/proto/ClientAbilityChangeNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityInvokeEntry.proto"; -// CmdId: 1127 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1175 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ClientAbilityChangeNotify { - uint32 entity_id = 6; - repeated AbilityInvokeEntry invokes = 8; - bool JCJNLMLGHJE = 10; + bool Unk2200_FNAFDMAPLHP = 9; + uint32 entity_id = 2; + repeated AbilityInvokeEntry invokes = 3; } diff --git a/proto/ClientAbilityInitBeginNotify.proto b/proto/ClientAbilityInitBeginNotify.proto index ba40b026..ded5c565 100644 --- a/proto/ClientAbilityInitBeginNotify.proto +++ b/proto/ClientAbilityInitBeginNotify.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1141 +// CmdId: 1112 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/ClientAbilityInitFinishNotify.proto b/proto/ClientAbilityInitFinishNotify.proto index 9860aad0..9cda5c06 100644 --- a/proto/ClientAbilityInitFinishNotify.proto +++ b/proto/ClientAbilityInitFinishNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityInvokeEntry.proto"; -// CmdId: 1137 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1135 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ClientAbilityInitFinishNotify { - uint32 entity_id = 13; - repeated AbilityInvokeEntry invokes = 9; + repeated AbilityInvokeEntry invokes = 14; + uint32 entity_id = 11; } diff --git a/proto/ClientCollectorData.proto b/proto/ClientCollectorData.proto index 6092c8e3..e19ef8a5 100644 --- a/proto/ClientCollectorData.proto +++ b/proto/ClientCollectorData.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ClientCollectorData { - uint32 material_id = 1; - uint32 max_points = 2; - uint32 curr_points = 3; + uint32 material_id = 10; + uint32 max_points = 8; + uint32 curr_points = 13; } diff --git a/proto/ClientCollectorDataNotify.proto b/proto/ClientCollectorDataNotify.proto index ff75edd6..9af5e615 100644 --- a/proto/ClientCollectorDataNotify.proto +++ b/proto/ClientCollectorDataNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "ClientCollectorData.proto"; +option java_package = "emu.grasscutter.net.proto"; + // CmdId: 4264 // EnetChannelId: 0 // EnetIsReliable: true message ClientCollectorDataNotify { - repeated ClientCollectorData client_collector_data_list = 8; + repeated ClientCollectorData client_collector_data_list = 13; } diff --git a/proto/ClientGadgetInfo.proto b/proto/ClientGadgetInfo.proto index b28dedf5..e09c75f9 100644 --- a/proto/ClientGadgetInfo.proto +++ b/proto/ClientGadgetInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -9,6 +25,6 @@ message ClientGadgetInfo { uint32 owner_entity_id = 4; uint32 target_entity_id = 5; bool async_load = 6; - bool CEGHBCJMNFJ = 7; - repeated uint32 FCFECGFHLAD = 8; + bool Unk2700_JBOPENAGGAF = 7; + repeated uint32 Unk2700_BELOIHEIEAN = 8; } diff --git a/proto/CodexDataFullNotify.proto b/proto/CodexDataFullNotify.proto index 1ba67f03..78b29b56 100644 --- a/proto/CodexDataFullNotify.proto +++ b/proto/CodexDataFullNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CodexTypeData.proto"; -// CmdId: 4201 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4205 // EnetChannelId: 0 // EnetIsReliable: true message CodexDataFullNotify { - repeated CodexTypeData type_data_list = 5; - repeated uint32 IGMFFAGOCIA = 11; - uint32 BIFMJKDHHLG = 8; - uint32 AEHJDIPOLHC = 10; + uint32 Unk2700_BPKOLHOOGFO = 4; + repeated uint32 Unk2700_DFJJHFHHIHF = 2; + uint32 Unk2700_HJDNBBPMOAP = 3; + repeated CodexTypeData type_data_list = 6; } diff --git a/proto/CodexDataUpdateNotify.proto b/proto/CodexDataUpdateNotify.proto index 8b881bd0..06257805 100644 --- a/proto/CodexDataUpdateNotify.proto +++ b/proto/CodexDataUpdateNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CodexType.proto"; -// CmdId: 4210 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4207 // EnetChannelId: 0 // EnetIsReliable: true message CodexDataUpdateNotify { - CodexType type = 3; - uint32 id = 4; - uint32 weapon_max_promote_level = 12; + uint32 id = 8; + uint32 weapon_max_promote_level = 15; + CodexType type = 11; } diff --git a/proto/CodexType.proto b/proto/CodexType.proto index 6dea0998..65d04c2f 100644 --- a/proto/CodexType.proto +++ b/proto/CodexType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/CodexTypeComparer.proto b/proto/CodexTypeComparer.proto index d87068c9..b4c2c353 100644 --- a/proto/CodexTypeComparer.proto +++ b/proto/CodexTypeComparer.proto @@ -2,5 +2,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; + message CodexTypeComparer { } diff --git a/proto/CodexTypeData.proto b/proto/CodexTypeData.proto index 061fd9a4..d08dd40c 100644 --- a/proto/CodexTypeData.proto +++ b/proto/CodexTypeData.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CodexType.proto"; +option java_package = "emu.grasscutter.net.proto"; + message CodexTypeData { - CodexType type = 1; - repeated uint32 codex_id_list = 2; - repeated bool have_viewed_list = 3; + repeated uint32 codex_id_list = 14; map weapon_max_promote_level_map = 4; + CodexType type = 13; + repeated bool have_viewed_list = 5; } diff --git a/proto/CombatInvocationsNotify.proto b/proto/CombatInvocationsNotify.proto index 5025fed8..f19a29aa 100644 --- a/proto/CombatInvocationsNotify.proto +++ b/proto/CombatInvocationsNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CombatInvokeEntry.proto"; -// CmdId: 316 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 319 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message CombatInvocationsNotify { - repeated CombatInvokeEntry invoke_list = 4; + repeated CombatInvokeEntry invoke_list = 14; } diff --git a/proto/CombatInvokeEntry.proto b/proto/CombatInvokeEntry.proto index dea1caf9..24313a8a 100644 --- a/proto/CombatInvokeEntry.proto +++ b/proto/CombatInvokeEntry.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CombatTypeArgument.proto"; import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + message CombatInvokeEntry { - CombatTypeArgument argument_type = 1; - ForwardType forward_type = 2; - bytes combat_data = 3; + bytes combat_data = 12; + ForwardType forward_type = 10; + CombatTypeArgument argument_type = 11; } diff --git a/proto/CombatTypeArgument.proto b/proto/CombatTypeArgument.proto index 1449f42d..707ab2fc 100644 --- a/proto/CombatTypeArgument.proto +++ b/proto/CombatTypeArgument.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -19,6 +35,6 @@ enum CombatTypeArgument { COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13; COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14; COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15; - COMBAT_TYPE_ARGUMENT_KPDNFKCMKPG = 16; - COMBAT_TYPE_ARGUMENT_KPLOMOIALGF = 17; + COMBAT_TYPE_ARGUMENT_Unk2700_KPDNFKCMKPG = 16; + COMBAT_TYPE_ARGUMENT_Unk2700_KPLOMOIALGF = 17; } diff --git a/proto/CombineDataNotify.proto b/proto/CombineDataNotify.proto index 9afc6856..a3502750 100644 --- a/proto/CombineDataNotify.proto +++ b/proto/CombineDataNotify.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 661 +// CmdId: 659 // EnetChannelId: 0 // EnetIsReliable: true message CombineDataNotify { diff --git a/proto/CombineFormulaDataNotify.proto b/proto/CombineFormulaDataNotify.proto index 2fd20a93..3ff77669 100644 --- a/proto/CombineFormulaDataNotify.proto +++ b/proto/CombineFormulaDataNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 688 +// CmdId: 632 // EnetChannelId: 0 // EnetIsReliable: true message CombineFormulaDataNotify { uint32 combine_id = 6; - bool is_locked = 5; + bool is_locked = 3; } diff --git a/proto/CombineReq.proto b/proto/CombineReq.proto index f4c7c5f0..82293b72 100644 --- a/proto/CombineReq.proto +++ b/proto/CombineReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 654 +// CmdId: 643 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message CombineReq { - uint32 combine_id = 5; - uint32 combine_count = 3; - uint64 avatar_guid = 8; + uint32 combine_count = 12; + uint32 combine_id = 9; + uint64 avatar_guid = 14; } diff --git a/proto/CombineRsp.proto b/proto/CombineRsp.proto index 9bd9e7d1..c15be4ee 100644 --- a/proto/CombineRsp.proto +++ b/proto/CombineRsp.proto @@ -1,20 +1,36 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 646 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 674 // EnetChannelId: 0 // EnetIsReliable: true message CombineRsp { - int32 retcode = 13; - uint32 combine_id = 12; - uint32 combine_count = 6; - uint64 avatar_guid = 15; - repeated ItemParam cost_item_list = 10; - repeated ItemParam result_item_list = 2; + repeated ItemParam cost_item_list = 3; + int32 retcode = 7; + repeated ItemParam total_extra_item_list = 6; + uint32 combine_id = 11; repeated ItemParam total_random_item_list = 9; - repeated ItemParam total_return_item_list = 4; - repeated ItemParam total_extra_item_list = 8; + repeated ItemParam result_item_list = 2; + uint32 combine_count = 13; + repeated ItemParam total_return_item_list = 12; + uint64 avatar_guid = 10; } diff --git a/proto/CookDataNotify.proto b/proto/CookDataNotify.proto index b743c8c4..613a4d64 100644 --- a/proto/CookDataNotify.proto +++ b/proto/CookDataNotify.proto @@ -4,10 +4,10 @@ option java_package = "emu.grasscutter.net.proto"; import "CookRecipeData.proto"; -// CmdId: 142 +// CmdId: 195 // EnetChannelId: 0 // EnetIsReliable: true message CookDataNotify { - uint32 grade = 8; + uint32 grade = 11; repeated CookRecipeData recipe_data_list = 2; } diff --git a/proto/CookGradeDataNotify.proto b/proto/CookGradeDataNotify.proto index fd7dbd86..cced6e48 100644 --- a/proto/CookGradeDataNotify.proto +++ b/proto/CookGradeDataNotify.proto @@ -2,9 +2,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 111 +// CmdId: 134 // EnetChannelId: 0 // EnetIsReliable: true message CookGradeDataNotify { - uint32 grade = 6; + uint32 grade = 12; } diff --git a/proto/CookRecipeData.proto b/proto/CookRecipeData.proto index a27953e5..f541549d 100644 --- a/proto/CookRecipeData.proto +++ b/proto/CookRecipeData.proto @@ -3,6 +3,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message CookRecipeData { - uint32 recipe_id = 1; - uint32 proficiency = 2; + uint32 recipe_id = 9; + uint32 proficiency = 13; } diff --git a/proto/CookRecipeDataNotify.proto b/proto/CookRecipeDataNotify.proto index c4a67e0d..87ee7d5a 100644 --- a/proto/CookRecipeDataNotify.proto +++ b/proto/CookRecipeDataNotify.proto @@ -4,9 +4,9 @@ option java_package = "emu.grasscutter.net.proto"; import "CookRecipeData.proto"; -// CmdId: 101 +// CmdId: 106 // EnetChannelId: 0 // EnetIsReliable: true message CookRecipeDataNotify { - CookRecipeData recipe_data = 1; + CookRecipeData recipe_data = 4; } diff --git a/proto/CoopCg.proto b/proto/CoopCg.proto index 67528987..596996c9 100644 --- a/proto/CoopCg.proto +++ b/proto/CoopCg.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message CoopCg { - uint32 id = 1; - bool is_unlock = 2; + bool is_unlock = 14; + uint32 id = 8; } diff --git a/proto/CoopChapter.proto b/proto/CoopChapter.proto index c3f3e4cf..989d2e02 100644 --- a/proto/CoopChapter.proto +++ b/proto/CoopChapter.proto @@ -1,22 +1,38 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CoopCg.proto"; import "CoopPoint.proto"; import "CoopReward.proto"; +option java_package = "emu.grasscutter.net.proto"; + message CoopChapter { - uint32 id = 1; - State state = 2; - repeated uint32 lock_reason_list = 3; - repeated CoopPoint coop_point_list = 4; - repeated CoopReward coop_reward_list = 5; - repeated CoopCg coop_cg_list = 6; - uint32 total_end_count = 7; - uint32 finished_end_count = 8; - map seen_ending_map = 9; + repeated CoopCg coop_cg_list = 1; + uint32 id = 2; + repeated CoopPoint coop_point_list = 11; repeated uint32 finish_dialog_list = 10; + uint32 finished_end_count = 14; + uint32 total_end_count = 7; + repeated CoopReward coop_reward_list = 5; + repeated uint32 lock_reason_list = 12; + State state = 4; + map seen_ending_map = 9; enum State { STATE_CLOSE = 0; diff --git a/proto/CoopDataNotify.proto b/proto/CoopDataNotify.proto index 786e401f..5e558dfc 100644 --- a/proto/CoopDataNotify.proto +++ b/proto/CoopDataNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CoopChapter.proto"; -// CmdId: 1976 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1979 // EnetChannelId: 0 // EnetIsReliable: true message CoopDataNotify { - repeated CoopChapter chapter_list = 13; - bool is_have_progress = 14; + repeated CoopChapter chapter_list = 15; + repeated uint32 viewed_chapter_list = 7; + bool is_have_progress = 10; uint32 cur_coop_point = 5; - repeated uint32 viewed_chapter_list = 2; } diff --git a/proto/CoopPoint.proto b/proto/CoopPoint.proto index ceacc8af..c5e25ec7 100644 --- a/proto/CoopPoint.proto +++ b/proto/CoopPoint.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message CoopPoint { - uint32 id = 1; - State state = 2; - uint32 self_confidence = 3; + uint32 self_confidence = 15; + State state = 10; + uint32 id = 14; enum State { STATE_UNSTARTED = 0; diff --git a/proto/CoopReward.proto b/proto/CoopReward.proto index 43f060ff..714c2bf0 100644 --- a/proto/CoopReward.proto +++ b/proto/CoopReward.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message CoopReward { - uint32 id = 1; - State state = 2; + uint32 id = 5; + State state = 6; enum State { STATE_UNLOCK = 0; diff --git a/proto/CreateVehicleReq.proto b/proto/CreateVehicleReq.proto index 4affab70..a703e685 100644 --- a/proto/CreateVehicleReq.proto +++ b/proto/CreateVehicleReq.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 819 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 893 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message CreateVehicleReq { - uint32 vehicle_id = 9; - uint32 scene_point_id = 15; - Vector pos = 1; - Vector rot = 7; + Vector pos = 11; + uint32 vehicle_id = 2; + uint32 scene_point_id = 7; + Vector rot = 5; } diff --git a/proto/CreateVehicleRsp.proto b/proto/CreateVehicleRsp.proto index baabe996..09418856 100644 --- a/proto/CreateVehicleRsp.proto +++ b/proto/CreateVehicleRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 812 +// CmdId: 827 // EnetChannelId: 0 // EnetIsReliable: true message CreateVehicleRsp { - int32 retcode = 7; - uint32 vehicle_id = 8; - uint32 entity_id = 10; + int32 retcode = 10; + uint32 vehicle_id = 9; + uint32 entity_id = 11; } diff --git a/proto/CrystalLinkSettleInfo.proto b/proto/CrystalLinkSettleInfo.proto new file mode 100644 index 00000000..9c190c39 --- /dev/null +++ b/proto/CrystalLinkSettleInfo.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkSettleInfo { + uint32 kill_elite_monster_num = 2; + uint32 final_score = 6; + uint32 level_id = 12; + bool is_new_record = 13; + uint32 difficulty_id = 9; + uint32 kill_normal_mosnter_num = 3; +} diff --git a/proto/CurVehicleInfo.proto b/proto/CurVehicleInfo.proto index 3fba87e4..83de4fb9 100644 --- a/proto/CurVehicleInfo.proto +++ b/proto/CurVehicleInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/CustomCommonNodeInfo.proto b/proto/CustomCommonNodeInfo.proto index 9082f6be..818f65f5 100644 --- a/proto/CustomCommonNodeInfo.proto +++ b/proto/CustomCommonNodeInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/CustomDungeonResultInfo.proto b/proto/CustomDungeonResultInfo.proto new file mode 100644 index 00000000..e93211c3 --- /dev/null +++ b/proto/CustomDungeonResultInfo.proto @@ -0,0 +1,33 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_FDEGJOCDDGH.proto"; +import "Unk2700_OCOKILBJIPJ.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonResultInfo { + bool Unk2700_BONNHGKDLFO = 12; + uint32 Unk2700_FBBEJKCDMEI = 9; + repeated Unk2700_FDEGJOCDDGH child_challenge_list = 6; + uint64 Unk2700_ONOOJBEABOE = 3; + Unk2700_OCOKILBJIPJ Unk2700_ONCDLPDHFAB = 7; + uint32 time_cost = 11; + bool Unk2700_IBDCFAMBGOK = 2; + bool Unk2700_HBFLKFOCKBF = 14; +} diff --git a/proto/CustomGadgetTreeInfo.proto b/proto/CustomGadgetTreeInfo.proto index 0af66df7..58385058 100644 --- a/proto/CustomGadgetTreeInfo.proto +++ b/proto/CustomGadgetTreeInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "CustomCommonNodeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message CustomGadgetTreeInfo { repeated CustomCommonNodeInfo node_list = 1; } diff --git a/proto/CutSceneBeginNotify.proto b/proto/CutSceneBeginNotify.proto index a409b4bb..857fd7be 100644 --- a/proto/CutSceneBeginNotify.proto +++ b/proto/CutSceneBeginNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 300 +// CmdId: 296 // EnetChannelId: 0 // EnetIsReliable: true message CutSceneBeginNotify { - uint32 cutscene_id = 9; - bool is_wait_others = 11; + uint32 cutscene_id = 14; + bool is_wait_others = 9; } diff --git a/proto/CutSceneEndNotify.proto b/proto/CutSceneEndNotify.proto index 66e0a768..7ca50c29 100644 --- a/proto/CutSceneEndNotify.proto +++ b/proto/CutSceneEndNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 299 +// CmdId: 215 // EnetChannelId: 0 // EnetIsReliable: true message CutSceneEndNotify { - int32 retcode = 8; - uint32 cutscene_id = 11; + int32 retcode = 5; + uint32 cutscene_id = 14; } diff --git a/proto/CutSceneFinishNotify.proto b/proto/CutSceneFinishNotify.proto index 49940c0b..bdfce412 100644 --- a/proto/CutSceneFinishNotify.proto +++ b/proto/CutSceneFinishNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 294 +// CmdId: 262 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message CutSceneFinishNotify { - uint32 cutscene_id = 14; + uint32 cutscene_id = 12; } diff --git a/proto/DailyDungeonEntryInfo.proto b/proto/DailyDungeonEntryInfo.proto index d12b175e..e1f5fceb 100644 --- a/proto/DailyDungeonEntryInfo.proto +++ b/proto/DailyDungeonEntryInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "DungeonEntryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message DailyDungeonEntryInfo { - uint32 dungeon_entry_id = 1; - uint32 dungeon_entry_config_id = 2; - uint32 recommend_dungeon_id = 3; - DungeonEntryInfo recommend_dungeon_entry_info = 4; + uint32 dungeon_entry_config_id = 12; + uint32 dungeon_entry_id = 15; + DungeonEntryInfo recommend_dungeon_entry_info = 1; + uint32 recommend_dungeon_id = 4; } diff --git a/proto/DealAddFriendReq.proto b/proto/DealAddFriendReq.proto index add0c673..181b9cc4 100644 --- a/proto/DealAddFriendReq.proto +++ b/proto/DealAddFriendReq.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "DealAddFriendResultType.proto"; -// CmdId: 4085 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4003 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DealAddFriendReq { - uint32 target_uid = 7; - DealAddFriendResultType deal_add_friend_result = 1; + DealAddFriendResultType deal_add_friend_result = 12; + uint32 target_uid = 10; } diff --git a/proto/DealAddFriendResultType.proto b/proto/DealAddFriendResultType.proto index 8336021a..7cbf640b 100644 --- a/proto/DealAddFriendResultType.proto +++ b/proto/DealAddFriendResultType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/DealAddFriendRsp.proto b/proto/DealAddFriendRsp.proto index 75c6a4a4..59b7a057 100644 --- a/proto/DealAddFriendRsp.proto +++ b/proto/DealAddFriendRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "DealAddFriendResultType.proto"; -// CmdId: 4035 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4090 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DealAddFriendRsp { - int32 retcode = 3; - uint32 target_uid = 2; - DealAddFriendResultType deal_add_friend_result = 15; + int32 retcode = 1; + uint32 target_uid = 5; + DealAddFriendResultType deal_add_friend_result = 6; } diff --git a/proto/DelMailReq.proto b/proto/DelMailReq.proto index 264b30a8..771be092 100644 --- a/proto/DelMailReq.proto +++ b/proto/DelMailReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1417 +// CmdId: 1421 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DelMailReq { - repeated uint32 mail_id_list = 6; + repeated uint32 mail_id_list = 12; } diff --git a/proto/DelMailRsp.proto b/proto/DelMailRsp.proto index 517df959..934b2b33 100644 --- a/proto/DelMailRsp.proto +++ b/proto/DelMailRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1485 +// CmdId: 1403 // EnetChannelId: 0 // EnetIsReliable: true message DelMailRsp { - int32 retcode = 1; - repeated uint32 mail_id_list = 4; + int32 retcode = 11; + repeated uint32 mail_id_list = 5; } diff --git a/proto/DelTeamEntityNotify.proto b/proto/DelTeamEntityNotify.proto index 85279fe1..428820a2 100644 --- a/proto/DelTeamEntityNotify.proto +++ b/proto/DelTeamEntityNotify.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -6,6 +22,6 @@ option java_package = "emu.grasscutter.net.proto"; // EnetChannelId: 0 // EnetIsReliable: true message DelTeamEntityNotify { - uint32 scene_id = 8; repeated uint32 del_entity_id_list = 15; + uint32 scene_id = 8; } diff --git a/proto/DeleteFriendNotify.proto b/proto/DeleteFriendNotify.proto index 1d7d5fbd..ca82868c 100644 --- a/proto/DeleteFriendNotify.proto +++ b/proto/DeleteFriendNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4063 +// CmdId: 4053 // EnetChannelId: 0 // EnetIsReliable: true message DeleteFriendNotify { - uint32 target_uid = 14; + uint32 target_uid = 12; } diff --git a/proto/DeleteFriendReq.proto b/proto/DeleteFriendReq.proto index 1ed309a8..435b584a 100644 --- a/proto/DeleteFriendReq.proto +++ b/proto/DeleteFriendReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4055 +// CmdId: 4031 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DeleteFriendReq { - uint32 target_uid = 7; + uint32 target_uid = 13; } diff --git a/proto/DeleteFriendRsp.proto b/proto/DeleteFriendRsp.proto index 9ff896a4..e01df37e 100644 --- a/proto/DeleteFriendRsp.proto +++ b/proto/DeleteFriendRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4027 +// CmdId: 4075 // EnetChannelId: 0 // EnetIsReliable: true message DeleteFriendRsp { - int32 retcode = 4; - uint32 target_uid = 8; + uint32 target_uid = 14; + int32 retcode = 5; } diff --git a/proto/DestroyMaterialReq.proto b/proto/DestroyMaterialReq.proto index ccb2ffc1..52d6aa4d 100644 --- a/proto/DestroyMaterialReq.proto +++ b/proto/DestroyMaterialReq.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MaterialInfo.proto"; -// CmdId: 678 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 640 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DestroyMaterialReq { - repeated MaterialInfo material_list = 12; + repeated MaterialInfo material_list = 5; } diff --git a/proto/DestroyMaterialRsp.proto b/proto/DestroyMaterialRsp.proto index 34e65315..ea9e2407 100644 --- a/proto/DestroyMaterialRsp.proto +++ b/proto/DestroyMaterialRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 608 +// CmdId: 618 // EnetChannelId: 0 // EnetIsReliable: true message DestroyMaterialRsp { - int32 retcode = 9; - repeated uint32 item_id_list = 11; - repeated uint32 item_count_list = 10; + repeated uint32 item_count_list = 12; + repeated uint32 item_id_list = 13; + int32 retcode = 11; } diff --git a/proto/DoGachaReq.proto b/proto/DoGachaReq.proto index c6e4eded..daa12fd2 100644 --- a/proto/DoGachaReq.proto +++ b/proto/DoGachaReq.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1541 +// CmdId: 1512 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DoGachaReq { - uint32 gacha_type = 10; - uint32 gacha_times = 15; - uint32 gacha_random = 5; - uint32 gacha_schedule_id = 6; + uint32 gacha_times = 10; + uint32 gacha_schedule_id = 7; + uint32 gacha_type = 14; + uint32 gacha_random = 13; string gacha_tag = 4; } diff --git a/proto/DoGachaRsp.proto b/proto/DoGachaRsp.proto index 51d2edd7..e4f1d75f 100644 --- a/proto/DoGachaRsp.proto +++ b/proto/DoGachaRsp.proto @@ -1,28 +1,44 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "GachaItem.proto"; -// CmdId: 1537 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1535 // EnetChannelId: 0 // EnetIsReliable: true message DoGachaRsp { - int32 retcode = 9; - uint32 gacha_type = 11; - uint32 gacha_times = 3; - uint32 gacha_schedule_id = 4; - repeated GachaItem gacha_item_list = 2; - uint32 new_gacha_random = 8; - uint32 cost_item_id = 6; - uint32 cost_item_num = 1; - uint32 ten_cost_item_id = 14; - uint32 ten_cost_item_num = 7; - uint32 left_gacha_times = 15; - uint32 gacha_times_limit = 13; - uint32 wish_item_id = 10; - uint32 wish_progress = 5; - uint32 wish_max_progress = 12; - uint32 NKJOBOABFOJ = 1679; - bool PODALHILIKF = 1561; + bool Unk2700_LEEPELHDING = 1435; + uint32 gacha_schedule_id = 5; + uint32 wish_item_id = 8; + int32 retcode = 13; + uint32 cost_item_num = 10; + uint32 gacha_times_limit = 1; + uint32 cost_item_id = 14; + uint32 gacha_type = 12; + uint32 ten_cost_item_id = 7; + uint32 wish_max_progress = 9; + uint32 Unk2700_OJKKHDLEDCI = 1240; + uint32 ten_cost_item_num = 3; + uint32 left_gacha_times = 6; + uint32 wish_progress = 2; + uint32 gacha_times = 4; + repeated GachaItem gacha_item_list = 15; + uint32 new_gacha_random = 11; } diff --git a/proto/DropHintNotify.proto b/proto/DropHintNotify.proto index cece2eef..d7e7c746 100644 --- a/proto/DropHintNotify.proto +++ b/proto/DropHintNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 622 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 650 // EnetChannelId: 0 // EnetIsReliable: true message DropHintNotify { - repeated uint32 item_id_list = 12; - Vector position = 1; + Vector position = 7; + repeated uint32 item_id_list = 14; } diff --git a/proto/DungeonChallengeBeginNotify.proto b/proto/DungeonChallengeBeginNotify.proto index e34a9c8b..8f11dbd1 100644 --- a/proto/DungeonChallengeBeginNotify.proto +++ b/proto/DungeonChallengeBeginNotify.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 990 +// CmdId: 947 // EnetChannelId: 0 // EnetIsReliable: true message DungeonChallengeBeginNotify { - uint32 challenge_id = 8; - uint32 challenge_index = 11; - repeated uint32 param_list = 13; - uint32 group_id = 12; - uint32 father_index = 6; - repeated uint32 uid_list = 9; + uint32 father_index = 5; + repeated uint32 param_list = 14; + uint32 challenge_index = 6; + uint32 challenge_id = 1; + uint32 group_id = 4; + repeated uint32 uid_list = 12; } diff --git a/proto/DungeonChallengeFinishNotify.proto b/proto/DungeonChallengeFinishNotify.proto index 47a3bcd1..ec0cd1a6 100644 --- a/proto/DungeonChallengeFinishNotify.proto +++ b/proto/DungeonChallengeFinishNotify.proto @@ -1,30 +1,46 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "ChannelerSlabLoopDungeonResultInfo.proto"; +import "CustomDungeonResultInfo.proto"; +import "EffigyChallengeDungeonResultInfo.proto"; +import "PotionDungeonResultInfo.proto"; +import "StrengthenPointData.proto"; +import "Unk2700_FHOKHHBGPEG.proto"; + option java_package = "emu.grasscutter.net.proto"; -//import "CDPBNKLFNKP.proto"; -import "ChannellerSlabLoopDungeonResultInfo.proto"; -import "EffigyChallengeDungeonResultInfo.proto"; -//import "FHOKHHBGPEG.proto"; -//import "IDFFMJEDODN.proto"; -import "StrengthenPointData.proto"; - -// CmdId: 986 +// CmdId: 939 // EnetChannelId: 0 // EnetIsReliable: true message DungeonChallengeFinishNotify { - uint32 challenge_index = 11; - bool is_success = 4; - bool is_new_record = 2; - uint32 challenge_record_type = 10; - uint32 current_value = 12; map strengthen_point_data_map = 13; - //FHOKHHBGPEG NJDMJAFIJNH = 15; - uint32 time_cost = 6; + Unk2700_FHOKHHBGPEG Unk2700_ONCDLPDHFAB = 9; + bool is_new_record = 10; + uint32 challenge_record_type = 7; + uint32 time_cost = 4; + uint32 current_value = 15; + bool is_success = 3; + uint32 challenge_index = 5; oneof detail { - ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1758; - EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 913; - //CDPBNKLFNKP potion_dungeon_result_info = 382; - //IDFFMJEDODN custom_dungeon_result_info = 1411; + ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1521; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 1627; + PotionDungeonResultInfo potion_dungeon_result_info = 1824; + CustomDungeonResultInfo custom_dungeon_result_info = 1664; } } diff --git a/proto/DungeonDataNotify.proto b/proto/DungeonDataNotify.proto index 2638b930..017ae3fc 100644 --- a/proto/DungeonDataNotify.proto +++ b/proto/DungeonDataNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 945 +// CmdId: 982 // EnetChannelId: 0 // EnetIsReliable: true message DungeonDataNotify { - map dungeon_data_map = 6; + map dungeon_data_map = 1; } diff --git a/proto/DungeonEntryInfo.proto b/proto/DungeonEntryInfo.proto index b95ea757..f993863a 100644 --- a/proto/DungeonEntryInfo.proto +++ b/proto/DungeonEntryInfo.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WeeklyBossResinDiscountInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message DungeonEntryInfo { - uint32 dungeon_id = 1; - bool is_passed = 2; - uint32 left_times = 3; - uint32 start_time = 4; - uint32 end_time = 5; - uint32 max_boss_chest_num = 6; - uint32 boss_chest_num = 7; - uint32 next_refresh_time = 8; + uint32 end_time = 6; + uint32 dungeon_id = 5; + uint32 boss_chest_num = 12; + uint32 max_boss_chest_num = 13; + uint32 next_refresh_time = 11; WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9; + uint32 start_time = 15; + bool is_passed = 4; + uint32 left_times = 7; } diff --git a/proto/DungeonEntryInfoReq.proto b/proto/DungeonEntryInfoReq.proto index b88d3ab7..4a893a4b 100644 --- a/proto/DungeonEntryInfoReq.proto +++ b/proto/DungeonEntryInfoReq.proto @@ -1,12 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "Uint32Pair.proto"; + option java_package = "emu.grasscutter.net.proto"; -// CmdId: 909 +// CmdId: 972 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message DungeonEntryInfoReq { - uint32 point_id = 15; - uint32 scene_id = 3; + uint32 point_id = 2; + uint32 scene_id = 9; + repeated Uint32Pair Unk2800_GGAMJDFELPH = 4; } diff --git a/proto/DungeonEntryInfoRsp.proto b/proto/DungeonEntryInfoRsp.proto index d385c777..f9689642 100644 --- a/proto/DungeonEntryInfoRsp.proto +++ b/proto/DungeonEntryInfoRsp.proto @@ -1,15 +1,33 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "DungeonEntryInfo.proto"; +import "Unk2800_MHCFAGCKGIB.proto"; + option java_package = "emu.grasscutter.net.proto"; -import "DungeonEntryInfo.proto"; - -// CmdId: 931 +// CmdId: 998 // EnetChannelId: 0 // EnetIsReliable: true message DungeonEntryInfoRsp { - int32 retcode = 14; - uint32 point_id = 9; - repeated DungeonEntryInfo dungeon_entry_list = 10; - uint32 recommend_dungeon_id = 4; + repeated DungeonEntryInfo dungeon_entry_list = 12; + uint32 point_id = 15; + repeated Unk2800_MHCFAGCKGIB Unk2800_JJFLDCLMEHD = 4; + uint32 recommend_dungeon_id = 14; + int32 retcode = 11; } diff --git a/proto/DungeonGetStatueDropRsp.proto b/proto/DungeonGetStatueDropRsp.proto index 09617113..96f7599f 100644 --- a/proto/DungeonGetStatueDropRsp.proto +++ b/proto/DungeonGetStatueDropRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 906 +// CmdId: 904 // EnetChannelId: 0 // EnetIsReliable: true message DungeonGetStatueDropRsp { - int32 retcode = 13; + int32 retcode = 12; } diff --git a/proto/DungeonSettleExhibitionInfo.proto b/proto/DungeonSettleExhibitionInfo.proto index d8b9714e..b77b4f83 100644 --- a/proto/DungeonSettleExhibitionInfo.proto +++ b/proto/DungeonSettleExhibitionInfo.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ExhibitionDisplayInfo.proto"; import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message DungeonSettleExhibitionInfo { - OnlinePlayerInfo player_info = 1; - repeated ExhibitionDisplayInfo card_list = 2; + OnlinePlayerInfo player_info = 3; + repeated ExhibitionDisplayInfo card_list = 13; } diff --git a/proto/DungeonSettleNotify.proto b/proto/DungeonSettleNotify.proto index bd5cad6a..d4463d44 100644 --- a/proto/DungeonSettleNotify.proto +++ b/proto/DungeonSettleNotify.proto @@ -1,36 +1,54 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - -import "ChannellerSlabLoopDungeonResultInfo.proto"; +import "ChannelerSlabLoopDungeonResultInfo.proto"; +import "CrystalLinkSettleInfo.proto"; import "DungeonSettleExhibitionInfo.proto"; import "EffigyChallengeDungeonResultInfo.proto"; -//import "KHPIGECGFKI.proto"; import "ParamList.proto"; import "RoguelikeDungeonSettleInfo.proto"; import "StrengthenPointData.proto"; +import "SummerTimeV2DungeonSettleInfo.proto"; import "TowerLevelEndNotify.proto"; import "TrialAvatarFirstPassDungeonNotify.proto"; -// CmdId: 982 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 999 // EnetChannelId: 0 // EnetIsReliable: true message DungeonSettleNotify { - uint32 dungeon_id = 9; - bool is_success = 10; - repeated uint32 fail_cond_list = 13; - map settle_show = 11; - uint32 close_time = 12; - map strengthen_point_data_map = 4; - uint32 result = 15; - repeated DungeonSettleExhibitionInfo exhibition_info_list = 14; - //uint32 OMBINLAOGBM = 5; + map strengthen_point_data_map = 14; + bool is_success = 7; + uint32 close_time = 4; + uint32 Unk2700_OMCCFBBDJMI = 1; + map settle_show = 5; + repeated DungeonSettleExhibitionInfo exhibition_info_list = 8; + repeated uint32 fail_cond_list = 11; + uint32 dungeon_id = 13; + uint32 result = 10; oneof detail { - TowerLevelEndNotify tower_level_end_notify = 97; - TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 796; - ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1671; - EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 1638; - RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 71; - //KHPIGECGFKI crystal_link_settle_info = 430; + TowerLevelEndNotify tower_level_end_notify = 351; + TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 635; + ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 686; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 328; + RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 1482; + CrystalLinkSettleInfo crystal_link_settle_info = 112; + SummerTimeV2DungeonSettleInfo summer_time_v_2_dungeon_settle_info = 1882; } } diff --git a/proto/DungeonShowReminderNotify.proto b/proto/DungeonShowReminderNotify.proto index 40f9334a..b685c8ef 100644 --- a/proto/DungeonShowReminderNotify.proto +++ b/proto/DungeonShowReminderNotify.proto @@ -2,9 +2,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 930 +// CmdId: 997 // EnetChannelId: 0 // EnetIsReliable: true message DungeonShowReminderNotify { - uint32 reminder_id = 10; + uint32 reminder_id = 9; } diff --git a/proto/EchoShellInfo.proto b/proto/EchoShellInfo.proto index db8d40a4..f4e29caf 100644 --- a/proto/EchoShellInfo.proto +++ b/proto/EchoShellInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/EffigyChallengeDungeonResultInfo.proto b/proto/EffigyChallengeDungeonResultInfo.proto index 592ae693..6b9cca71 100644 --- a/proto/EffigyChallengeDungeonResultInfo.proto +++ b/proto/EffigyChallengeDungeonResultInfo.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message EffigyChallengeDungeonResultInfo { - uint32 challenge_id = 1; - bool is_success = 2; - uint32 challenge_score = 3; - uint32 challenge_max_score = 4; - bool is_in_time_limit = 5; + uint32 challenge_score = 7; + bool is_in_time_limit = 8; + uint32 challenge_id = 6; + bool is_success = 15; + uint32 challenge_max_score = 13; } diff --git a/proto/EnterSceneDoneRsp.proto b/proto/EnterSceneDoneRsp.proto index d5a4a1bc..4203ca02 100644 --- a/proto/EnterSceneDoneRsp.proto +++ b/proto/EnterSceneDoneRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 269 +// CmdId: 237 // EnetChannelId: 0 // EnetIsReliable: true message EnterSceneDoneRsp { - int32 retcode = 9; - uint32 enter_scene_token = 8; + uint32 enter_scene_token = 15; + int32 retcode = 7; } diff --git a/proto/EnterScenePeerNotify.proto b/proto/EnterScenePeerNotify.proto index e4ca37ce..bbdcafe8 100644 --- a/proto/EnterScenePeerNotify.proto +++ b/proto/EnterScenePeerNotify.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 257 +// CmdId: 252 // EnetChannelId: 0 // EnetIsReliable: true message EnterScenePeerNotify { - uint32 dest_scene_id = 13; - uint32 peer_id = 11; - uint32 host_peer_id = 6; - uint32 enter_scene_token = 15; + uint32 dest_scene_id = 12; + uint32 enter_scene_token = 11; + uint32 host_peer_id = 14; + uint32 peer_id = 1; } diff --git a/proto/EnterSceneReadyRsp.proto b/proto/EnterSceneReadyRsp.proto index 8f384a94..d2ef9818 100644 --- a/proto/EnterSceneReadyRsp.proto +++ b/proto/EnterSceneReadyRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 252 +// CmdId: 209 // EnetChannelId: 0 // EnetIsReliable: true message EnterSceneReadyRsp { - int32 retcode = 5; - uint32 enter_scene_token = 8; + uint32 enter_scene_token = 1; + int32 retcode = 4; } diff --git a/proto/EnterTransPointRegionNotify.proto b/proto/EnterTransPointRegionNotify.proto index 8441ff5b..146c0301 100644 --- a/proto/EnterTransPointRegionNotify.proto +++ b/proto/EnterTransPointRegionNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 298 +// CmdId: 205 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EnterTransPointRegionNotify { - uint32 scene_id = 15; - uint32 point_id = 12; + uint32 scene_id = 8; + uint32 point_id = 6; } diff --git a/proto/EnterType.proto b/proto/EnterType.proto index 85c96046..5a71bd85 100644 --- a/proto/EnterType.proto +++ b/proto/EnterType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/EnterWorldAreaReq.proto b/proto/EnterWorldAreaReq.proto index 87612310..33177fb4 100644 --- a/proto/EnterWorldAreaReq.proto +++ b/proto/EnterWorldAreaReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 222 +// CmdId: 250 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EnterWorldAreaReq { - uint32 area_type = 12; - uint32 area_id = 10; + uint32 area_type = 8; + uint32 area_id = 1; } diff --git a/proto/EnterWorldAreaRsp.proto b/proto/EnterWorldAreaRsp.proto index 269d4b72..b0fa64d0 100644 --- a/proto/EnterWorldAreaRsp.proto +++ b/proto/EnterWorldAreaRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 254 +// CmdId: 243 // EnetChannelId: 0 // EnetIsReliable: true message EnterWorldAreaRsp { - int32 retcode = 15; - uint32 area_type = 2; - uint32 area_id = 4; + uint32 area_type = 1; + uint32 area_id = 7; + int32 retcode = 9; } diff --git a/proto/EntityAiSyncNotify.proto b/proto/EntityAiSyncNotify.proto index 9cc5e7fe..23d8f360 100644 --- a/proto/EntityAiSyncNotify.proto +++ b/proto/EntityAiSyncNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AiSyncInfo.proto"; -// CmdId: 343 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 400 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EntityAiSyncNotify { + repeated uint32 local_avatar_alerted_monster_list = 15; repeated AiSyncInfo info_list = 1; - repeated uint32 local_avatar_alerted_monster_list = 10; } diff --git a/proto/EntityAuthorityInfo.proto b/proto/EntityAuthorityInfo.proto index d39a97d7..d28d63a7 100644 --- a/proto/EntityAuthorityInfo.proto +++ b/proto/EntityAuthorityInfo.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilitySyncStateInfo.proto"; import "AnimatorParameterValueInfoPair.proto"; import "EntityRendererChangedInfo.proto"; -//import "HFMDKDHCJCM.proto"; import "SceneEntityAiInfo.proto"; +import "Unk2700_HFMDKDHCJCM.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message EntityAuthorityInfo { AbilitySyncStateInfo ability_info = 1; EntityRendererChangedInfo renderer_changed_info = 2; SceneEntityAiInfo ai_info = 3; Vector born_pos = 4; repeated AnimatorParameterValueInfoPair pose_para_list = 5; - //HFMDKDHCJCM NHJAJEMKIFE = 6; + Unk2700_HFMDKDHCJCM Unk2700_KDGMOPELHNE = 6; } diff --git a/proto/EntityClientData.proto b/proto/EntityClientData.proto index 4bf26cc6..e3c59292 100644 --- a/proto/EntityClientData.proto +++ b/proto/EntityClientData.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/EntityEnvironmentInfo.proto b/proto/EntityEnvironmentInfo.proto index 2276d067..9c569912 100644 --- a/proto/EntityEnvironmentInfo.proto +++ b/proto/EntityEnvironmentInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/EntityFightPropChangeReasonNotify.proto b/proto/EntityFightPropChangeReasonNotify.proto index 330438da..a09a3a47 100644 --- a/proto/EntityFightPropChangeReasonNotify.proto +++ b/proto/EntityFightPropChangeReasonNotify.proto @@ -1,20 +1,36 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChangeEnergyReason.proto"; import "ChangeHpReason.proto"; import "PropChangeReason.proto"; -// CmdId: 1285 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1203 // EnetChannelId: 0 // EnetIsReliable: true message EntityFightPropChangeReasonNotify { - uint32 entity_id = 11; - uint32 prop_type = 6; - float prop_delta = 9; - PropChangeReason reason = 5; repeated uint32 param_list = 10; - ChangeHpReason change_hp_reason = 12; - ChangeEnergyReason change_energy_reson = 4; + float prop_delta = 1; + ChangeHpReason change_hp_reason = 14; + PropChangeReason reason = 6; + uint32 entity_id = 5; + ChangeEnergyReason change_energy_reson = 15; + uint32 prop_type = 13; } diff --git a/proto/EntityFightPropUpdateNotify.proto b/proto/EntityFightPropUpdateNotify.proto index 660f68a8..3d2da3cc 100644 --- a/proto/EntityFightPropUpdateNotify.proto +++ b/proto/EntityFightPropUpdateNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1237 +// CmdId: 1235 // EnetChannelId: 0 // EnetIsReliable: true message EntityFightPropUpdateNotify { - uint32 entity_id = 1; - map fight_prop_map = 8; + map fight_prop_map = 15; + uint32 entity_id = 13; } diff --git a/proto/EntityMoveInfo.proto b/proto/EntityMoveInfo.proto index 69c284f4..10c621f0 100644 --- a/proto/EntityMoveInfo.proto +++ b/proto/EntityMoveInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message EntityMoveInfo { uint32 entity_id = 1; MotionInfo motion_info = 2; diff --git a/proto/EntityPropNotify.proto b/proto/EntityPropNotify.proto index 5d0d70dc..cdee008b 100644 --- a/proto/EntityPropNotify.proto +++ b/proto/EntityPropNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PropValue.proto"; -// CmdId: 1209 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1272 // EnetChannelId: 0 // EnetIsReliable: true message EntityPropNotify { - uint32 entity_id = 5; - map prop_map = 4; + map prop_map = 1; + uint32 entity_id = 14; } diff --git a/proto/EntityRendererChangedInfo.proto b/proto/EntityRendererChangedInfo.proto index ff23a765..ac22880c 100644 --- a/proto/EntityRendererChangedInfo.proto +++ b/proto/EntityRendererChangedInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/Equip.proto b/proto/Equip.proto index 2d985e5c..72fc3ab8 100644 --- a/proto/Equip.proto +++ b/proto/Equip.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Reliquary.proto"; import "Weapon.proto"; +option java_package = "emu.grasscutter.net.proto"; + message Equip { bool is_locked = 3; oneof detail { diff --git a/proto/EquipParam.proto b/proto/EquipParam.proto index 51b07afb..50075b79 100644 --- a/proto/EquipParam.proto +++ b/proto/EquipParam.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/EvtAiSyncCombatThreatInfoNotify.proto b/proto/EvtAiSyncCombatThreatInfoNotify.proto index 108b6314..43d5f583 100644 --- a/proto/EvtAiSyncCombatThreatInfoNotify.proto +++ b/proto/EvtAiSyncCombatThreatInfoNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AiThreatInfo.proto"; -// CmdId: 360 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 329 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtAiSyncCombatThreatInfoNotify { - map combat_threat_info_map = 14; + map combat_threat_info_map = 8; } diff --git a/proto/EvtAiSyncSkillCdNotify.proto b/proto/EvtAiSyncSkillCdNotify.proto index 6e6ca5b7..15d569c1 100644 --- a/proto/EvtAiSyncSkillCdNotify.proto +++ b/proto/EvtAiSyncSkillCdNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AiSkillCdInfo.proto"; -// CmdId: 333 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 376 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtAiSyncSkillCdNotify { - map ai_cd_map = 5; + map ai_cd_map = 7; } diff --git a/proto/EvtAnimatorParameterInfo.proto b/proto/EvtAnimatorParameterInfo.proto new file mode 100644 index 00000000..d595121f --- /dev/null +++ b/proto/EvtAnimatorParameterInfo.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "AnimatorParameterValueInfo.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message EvtAnimatorParameterInfo { + uint32 entity_id = 4; + bool is_server_cache = 5; + AnimatorParameterValueInfo value = 7; + int32 name_id = 15; +} diff --git a/proto/EvtAnimatorStateChangedInfo.proto b/proto/EvtAnimatorStateChangedInfo.proto new file mode 100644 index 00000000..213a54b7 --- /dev/null +++ b/proto/EvtAnimatorStateChangedInfo.proto @@ -0,0 +1,33 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message EvtAnimatorStateChangedInfo { + int32 face_angle_compact = 14; + uint32 to_state_hash = 5; + uint32 normalized_time_compact = 9; + uint32 Unk2700_HEMGNDKMAFO = 2; + Vector pos = 13; + float fade_duration = 3; + bool Unk2700_CJCJLGHIBPK = 1; + uint32 entity_id = 15; + bool Unk2700_JECBLPNLJMJ = 7; +} diff --git a/proto/EvtAvatarLockChairReq.proto b/proto/EvtAvatarLockChairReq.proto index 145bff41..4e1a7c5d 100644 --- a/proto/EvtAvatarLockChairReq.proto +++ b/proto/EvtAvatarLockChairReq.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 308 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 318 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtAvatarLockChairReq { - uint64 chair_id = 10; - Vector position = 3; + uint64 chair_id = 5; + Vector position = 8; } diff --git a/proto/EvtAvatarLockChairRsp.proto b/proto/EvtAvatarLockChairRsp.proto index b6139095..5b31386e 100644 --- a/proto/EvtAvatarLockChairRsp.proto +++ b/proto/EvtAvatarLockChairRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 304 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 366 // EnetChannelId: 0 // EnetIsReliable: true message EvtAvatarLockChairRsp { - int32 retcode = 1; - uint32 entity_id = 4; - Vector position = 12; - uint64 chair_id = 15; + uint64 chair_id = 14; + uint32 entity_id = 15; + Vector position = 4; + int32 retcode = 12; } diff --git a/proto/EvtAvatarSitDownNotify.proto b/proto/EvtAvatarSitDownNotify.proto index 602364f8..39593f07 100644 --- a/proto/EvtAvatarSitDownNotify.proto +++ b/proto/EvtAvatarSitDownNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 359 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 324 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtAvatarSitDownNotify { - uint32 entity_id = 10; - Vector position = 5; - uint64 chair_id = 8; + Vector position = 9; + uint32 entity_id = 4; + uint64 chair_id = 6; } diff --git a/proto/EvtAvatarStandUpNotify.proto b/proto/EvtAvatarStandUpNotify.proto index 36f78310..62160d18 100644 --- a/proto/EvtAvatarStandUpNotify.proto +++ b/proto/EvtAvatarStandUpNotify.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 384 +// CmdId: 356 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtAvatarStandUpNotify { - uint32 entity_id = 10; - int32 direction = 3; - int32 perform_id = 8; uint64 chair_id = 11; + int32 perform_id = 6; + int32 direction = 1; + uint32 entity_id = 9; } diff --git a/proto/EvtBeingHitInfo.proto b/proto/EvtBeingHitInfo.proto index b2e8ec65..de25903b 100644 --- a/proto/EvtBeingHitInfo.proto +++ b/proto/EvtBeingHitInfo.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AttackResult.proto"; +option java_package = "emu.grasscutter.net.proto"; + message EvtBeingHitInfo { - uint32 peer_id = 1; - AttackResult attack_result = 2; - uint32 frame_num = 3; + uint32 peer_id = 6; + AttackResult attack_result = 7; + uint32 frame_num = 4; } diff --git a/proto/EvtBeingHitNotify.proto b/proto/EvtBeingHitNotify.proto index 2281918b..30fadadb 100644 --- a/proto/EvtBeingHitNotify.proto +++ b/proto/EvtBeingHitNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EvtBeingHitInfo.proto"; import "ForwardType.proto"; -// CmdId: 309 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 372 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtBeingHitNotify { - ForwardType forward_type = 13; - EvtBeingHitInfo being_hit_info = 7; + ForwardType forward_type = 6; + EvtBeingHitInfo being_hit_info = 3; } diff --git a/proto/EvtBeingHitsCombineNotify.proto b/proto/EvtBeingHitsCombineNotify.proto index a26e9d83..4d061875 100644 --- a/proto/EvtBeingHitsCombineNotify.proto +++ b/proto/EvtBeingHitsCombineNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EvtBeingHitInfo.proto"; import "ForwardType.proto"; -// CmdId: 336 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 346 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtBeingHitsCombineNotify { - ForwardType forward_type = 1; - repeated EvtBeingHitInfo evt_being_hit_info_list = 14; + ForwardType forward_type = 11; + repeated EvtBeingHitInfo evt_being_hit_info_list = 7; } diff --git a/proto/EvtCreateGadgetNotify.proto b/proto/EvtCreateGadgetNotify.proto index 0cebc616..58680148 100644 --- a/proto/EvtCreateGadgetNotify.proto +++ b/proto/EvtCreateGadgetNotify.proto @@ -1,32 +1,48 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForwardType.proto"; import "Vector.proto"; -// CmdId: 332 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 307 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtCreateGadgetNotify { - ForwardType forward_type = 8; - uint32 entity_id = 14; - uint32 config_id = 11; - uint32 camp_id = 13; - uint32 camp_type = 3; - Vector init_pos = 15; - Vector init_euler_angles = 5; - uint64 guid = 1; - uint32 owner_entity_id = 2; - uint32 target_entity_id = 7; - bool is_async_load = 9; - uint32 target_lock_point_index = 4; - uint32 room_id = 10; - uint32 prop_owner_entity_id = 6; - bool sight_group_with_owner = 12; - bool CEGHBCJMNFJ = 1011; - bool NGANCEBKNKC = 1304; - repeated uint32 FCFECGFHLAD = 1525; - repeated uint32 GEHIKJLBKAH = 1637; + bool is_async_load = 8; + uint32 camp_type = 5; + bool sight_group_with_owner = 10; + repeated uint32 Unk2700_BELOIHEIEAN = 889; + ForwardType forward_type = 12; + uint32 entity_id = 2; + uint32 target_entity_id = 3; + uint32 camp_id = 15; + uint64 guid = 6; + Vector init_euler_angles = 13; + uint32 target_lock_point_index = 11; + repeated uint32 Unk2700_JDNFLLGJBGA = 1920; + Vector init_pos = 4; + uint32 owner_entity_id = 9; + uint32 room_id = 7; + bool Unk2700_JBOPENAGGAF = 25; + uint32 prop_owner_entity_id = 1; + bool Unk2700_IHIDGKPHFME = 379; + uint32 config_id = 14; } diff --git a/proto/EvtDestroyGadgetNotify.proto b/proto/EvtDestroyGadgetNotify.proto index 329ce398..222083b0 100644 --- a/proto/EvtDestroyGadgetNotify.proto +++ b/proto/EvtDestroyGadgetNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForwardType.proto"; -// CmdId: 317 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 321 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtDestroyGadgetNotify { - ForwardType forward_type = 10; - uint32 entity_id = 8; + ForwardType forward_type = 5; + uint32 entity_id = 3; } diff --git a/proto/EvtDoSkillSuccNotify.proto b/proto/EvtDoSkillSuccNotify.proto index 80cfe334..f3e127be 100644 --- a/proto/EvtDoSkillSuccNotify.proto +++ b/proto/EvtDoSkillSuccNotify.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForwardType.proto"; import "Vector.proto"; -// CmdId: 337 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 335 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtDoSkillSuccNotify { - ForwardType forward_type = 6; - uint32 caster_id = 10; - uint32 skill_id = 1; - Vector forward = 8; + uint32 caster_id = 13; + ForwardType forward_type = 10; + Vector forward = 15; + uint32 skill_id = 7; } diff --git a/proto/EvtEntityRenderersChangedNotify.proto b/proto/EvtEntityRenderersChangedNotify.proto index 5c8a5da0..8e6a8855 100644 --- a/proto/EvtEntityRenderersChangedNotify.proto +++ b/proto/EvtEntityRenderersChangedNotify.proto @@ -5,13 +5,13 @@ option java_package = "emu.grasscutter.net.proto"; import "EntityRendererChangedInfo.proto"; import "ForwardType.proto"; -// CmdId: 354 +// CmdId: 343 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message EvtEntityRenderersChangedNotify { - ForwardType forward_type = 2; - uint32 entity_id = 7; - bool is_server_cache = 15; - EntityRendererChangedInfo renderer_changed_info = 3; + ForwardType forward_type = 8; + uint32 entity_id = 15; + bool is_server_cache = 3; + EntityRendererChangedInfo renderer_changed_info = 5; } diff --git a/proto/EvtHittingOtherInfo.proto b/proto/EvtHittingOtherInfo.proto index 27ead052..952fba9d 100644 --- a/proto/EvtHittingOtherInfo.proto +++ b/proto/EvtHittingOtherInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AttackResult.proto"; +option java_package = "emu.grasscutter.net.proto"; + message EvtHittingOtherInfo { - uint32 peer_id = 1; AttackResult attack_result = 2; + uint32 peer_id = 8; } diff --git a/proto/ExhibitionDisplayInfo.proto b/proto/ExhibitionDisplayInfo.proto index 58d83e76..93b28863 100644 --- a/proto/ExhibitionDisplayInfo.proto +++ b/proto/ExhibitionDisplayInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FeatureBlockInfo.proto b/proto/FeatureBlockInfo.proto index fd79b4cb..2a09558c 100644 --- a/proto/FeatureBlockInfo.proto +++ b/proto/FeatureBlockInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FetterData.proto b/proto/FetterData.proto index bed18990..1b879998 100644 --- a/proto/FetterData.proto +++ b/proto/FetterData.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FightPropPair.proto b/proto/FightPropPair.proto index 5ada4cc6..de0e6624 100644 --- a/proto/FightPropPair.proto +++ b/proto/FightPropPair.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FinishedParentQuestNotify.proto b/proto/FinishedParentQuestNotify.proto index 3d5b5353..cd6edd04 100644 --- a/proto/FinishedParentQuestNotify.proto +++ b/proto/FinishedParentQuestNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ParentQuest.proto"; -// CmdId: 437 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 435 // EnetChannelId: 0 // EnetIsReliable: true message FinishedParentQuestNotify { - repeated ParentQuest parent_quest_list = 12; + repeated ParentQuest parent_quest_list = 2; } diff --git a/proto/FinishedParentQuestUpdateNotify.proto b/proto/FinishedParentQuestUpdateNotify.proto index a4b97b35..54032cc2 100644 --- a/proto/FinishedParentQuestUpdateNotify.proto +++ b/proto/FinishedParentQuestUpdateNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ParentQuest.proto"; -// CmdId: 432 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 407 // EnetChannelId: 0 // EnetIsReliable: true message FinishedParentQuestUpdateNotify { - repeated ParentQuest parent_quest_list = 6; + repeated ParentQuest parent_quest_list = 9; } diff --git a/proto/FishPoolInfo.proto b/proto/FishPoolInfo.proto index 4344e5e1..35327548 100644 --- a/proto/FishPoolInfo.proto +++ b/proto/FishPoolInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ForceUpdateInfo.proto b/proto/ForceUpdateInfo.proto index 05a95af2..ce6b5536 100644 --- a/proto/ForceUpdateInfo.proto +++ b/proto/ForceUpdateInfo.proto @@ -1,8 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - message ForceUpdateInfo { string force_update_url = 1; } diff --git a/proto/ForgeDataNotify.proto b/proto/ForgeDataNotify.proto index d5b06ba2..58258291 100644 --- a/proto/ForgeDataNotify.proto +++ b/proto/ForgeDataNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForgeQueueData.proto"; -// CmdId: 648 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 680 // EnetChannelId: 0 // EnetIsReliable: true message ForgeDataNotify { - repeated uint32 forge_id_list = 13; - uint32 max_queue_num = 15; - map forge_queue_map = 1; + repeated uint32 forge_id_list = 5; + map forge_queue_map = 8; + uint32 max_queue_num = 14; } diff --git a/proto/ForgeFormulaDataNotify.proto b/proto/ForgeFormulaDataNotify.proto index 940764c0..88cc557b 100644 --- a/proto/ForgeFormulaDataNotify.proto +++ b/proto/ForgeFormulaDataNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 673 +// CmdId: 689 // EnetChannelId: 0 // EnetIsReliable: true message ForgeFormulaDataNotify { - uint32 forge_id = 11; - bool is_locked = 8; + bool is_locked = 15; + uint32 forge_id = 13; } diff --git a/proto/ForgeGetQueueDataRsp.proto b/proto/ForgeGetQueueDataRsp.proto index 9539fc4a..2be5f358 100644 --- a/proto/ForgeGetQueueDataRsp.proto +++ b/proto/ForgeGetQueueDataRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForgeQueueData.proto"; -// CmdId: 628 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 641 // EnetChannelId: 0 // EnetIsReliable: true message ForgeGetQueueDataRsp { + map forge_queue_map = 2; int32 retcode = 15; - uint32 max_queue_num = 13; - map forge_queue_map = 11; + uint32 max_queue_num = 6; } diff --git a/proto/ForgeQueueData.proto b/proto/ForgeQueueData.proto index c05e110e..914b2f2d 100644 --- a/proto/ForgeQueueData.proto +++ b/proto/ForgeQueueData.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ForgeQueueData { - uint32 queue_id = 1; - uint32 forge_id = 2; - uint32 finish_count = 3; - uint32 unfinish_count = 4; - uint32 next_finish_timestamp = 5; - uint32 total_finish_timestamp = 6; + uint32 finish_count = 13; + uint32 total_finish_timestamp = 14; uint32 avatar_id = 7; + uint32 queue_id = 1; + uint32 unfinish_count = 10; + uint32 next_finish_timestamp = 11; + uint32 forge_id = 15; } diff --git a/proto/ForgeQueueDataNotify.proto b/proto/ForgeQueueDataNotify.proto index 761f7618..e2f5c3f8 100644 --- a/proto/ForgeQueueDataNotify.proto +++ b/proto/ForgeQueueDataNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForgeQueueData.proto"; -// CmdId: 633 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 676 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ForgeQueueDataNotify { - map forge_queue_map = 14; - repeated uint32 removed_forge_queue_list = 8; + map forge_queue_map = 7; + repeated uint32 removed_forge_queue_list = 6; } diff --git a/proto/ForgeQueueManipulateReq.proto b/proto/ForgeQueueManipulateReq.proto index 1ea87a1e..4bb7557b 100644 --- a/proto/ForgeQueueManipulateReq.proto +++ b/proto/ForgeQueueManipulateReq.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForgeQueueManipulateType.proto"; -// CmdId: 659 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 624 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ForgeQueueManipulateReq { - uint32 forge_queue_id = 11; - ForgeQueueManipulateType manipulate_type = 7; + uint32 forge_queue_id = 5; + ForgeQueueManipulateType manipulate_type = 13; } diff --git a/proto/ForgeQueueManipulateRsp.proto b/proto/ForgeQueueManipulateRsp.proto index 0ba0694b..ceb841a2 100644 --- a/proto/ForgeQueueManipulateRsp.proto +++ b/proto/ForgeQueueManipulateRsp.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ForgeQueueManipulateType.proto"; import "ItemParam.proto"; -// CmdId: 684 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 656 // EnetChannelId: 0 // EnetIsReliable: true message ForgeQueueManipulateRsp { - int32 retcode = 13; - ForgeQueueManipulateType manipulate_type = 8; - repeated ItemParam output_item_list = 6; + ForgeQueueManipulateType manipulate_type = 4; + repeated ItemParam extra_output_item_list = 13; repeated ItemParam return_item_list = 10; - repeated ItemParam extra_output_item_list = 3; + int32 retcode = 1; + repeated ItemParam output_item_list = 9; } diff --git a/proto/ForgeQueueManipulateType.proto b/proto/ForgeQueueManipulateType.proto index bfbb15aa..78956543 100644 --- a/proto/ForgeQueueManipulateType.proto +++ b/proto/ForgeQueueManipulateType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ForgeStartReq.proto b/proto/ForgeStartReq.proto index e42f7adb..ce9b2ea8 100644 --- a/proto/ForgeStartReq.proto +++ b/proto/ForgeStartReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 676 +// CmdId: 649 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ForgeStartReq { - uint32 forge_id = 9; - uint32 forge_count = 11; - uint32 avatar_id = 13; + uint32 avatar_id = 7; + uint32 forge_id = 4; + uint32 forge_count = 6; } diff --git a/proto/ForgeStartRsp.proto b/proto/ForgeStartRsp.proto index ea471f41..54b96a22 100644 --- a/proto/ForgeStartRsp.proto +++ b/proto/ForgeStartRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 672 +// CmdId: 691 // EnetChannelId: 0 // EnetIsReliable: true message ForgeStartRsp { - int32 retcode = 11; + int32 retcode = 8; } diff --git a/proto/ForwardType.proto b/proto/ForwardType.proto index 15e48d34..dba2fd28 100644 --- a/proto/ForwardType.proto +++ b/proto/ForwardType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FoundationInfo.proto b/proto/FoundationInfo.proto index acfc6be6..effa09d8 100644 --- a/proto/FoundationInfo.proto +++ b/proto/FoundationInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "FoundationStatus.proto"; +option java_package = "emu.grasscutter.net.proto"; + message FoundationInfo { FoundationStatus status = 1; repeated uint32 uid_list = 2; diff --git a/proto/FoundationStatus.proto b/proto/FoundationStatus.proto index e53b57be..9f12386e 100644 --- a/proto/FoundationStatus.proto +++ b/proto/FoundationStatus.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FriendBrief.proto b/proto/FriendBrief.proto index 1359c243..4af5c5d3 100644 --- a/proto/FriendBrief.proto +++ b/proto/FriendBrief.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendEnterHomeOption.proto"; import "FriendOnlineState.proto"; @@ -8,6 +22,8 @@ import "PlatformType.proto"; import "ProfilePicture.proto"; import "SocialShowAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message FriendBrief { uint32 uid = 1; string nickname = 2; diff --git a/proto/FriendEnterHomeOption.proto b/proto/FriendEnterHomeOption.proto index ddeda8b5..99449a2b 100644 --- a/proto/FriendEnterHomeOption.proto +++ b/proto/FriendEnterHomeOption.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FriendOnlineState.proto b/proto/FriendOnlineState.proto index 1b7c9116..c1bb9b3b 100644 --- a/proto/FriendOnlineState.proto +++ b/proto/FriendOnlineState.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/Furniture.proto b/proto/Furniture.proto index dc4a2a38..e62a5bd8 100644 --- a/proto/Furniture.proto +++ b/proto/Furniture.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/FurnitureCurModuleArrangeCountNotify.proto b/proto/FurnitureCurModuleArrangeCountNotify.proto index c1cabce1..6319c104 100644 --- a/proto/FurnitureCurModuleArrangeCountNotify.proto +++ b/proto/FurnitureCurModuleArrangeCountNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Uint32Pair.proto"; -// CmdId: 4681 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4498 // EnetChannelId: 0 // EnetIsReliable: true message FurnitureCurModuleArrangeCountNotify { - repeated Uint32Pair furniture_arrange_count_list = 9; + repeated Uint32Pair furniture_arrange_count_list = 13; } diff --git a/proto/FurnitureMakeBeHelpedData.proto b/proto/FurnitureMakeBeHelpedData.proto index f5c3fe08..d05f40df 100644 --- a/proto/FurnitureMakeBeHelpedData.proto +++ b/proto/FurnitureMakeBeHelpedData.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + message FurnitureMakeBeHelpedData { - string player_name = 1; - uint32 time = 2; - uint32 uid = 3; - uint32 icon = 4; - ProfilePicture profile_picture = 5; + fixed32 time = 12; + uint32 icon = 11; + uint32 uid = 7; + string player_name = 10; + ProfilePicture profile_picture = 1; } diff --git a/proto/FurnitureMakeData.proto b/proto/FurnitureMakeData.proto index 3231ce1a..fe06a42a 100644 --- a/proto/FurnitureMakeData.proto +++ b/proto/FurnitureMakeData.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeData { - uint32 index = 1; - uint32 make_id = 2; - uint32 begin_time = 3; - uint32 dur_time = 4; - uint32 accelerate_time = 5; - uint32 avatar_id = 6; + uint32 index = 15; + uint32 dur_time = 1; + fixed32 begin_time = 11; + fixed32 accelerate_time = 6; + uint32 avatar_id = 2; + uint32 make_id = 5; } diff --git a/proto/FurnitureMakeHelpData.proto b/proto/FurnitureMakeHelpData.proto index 298773c7..d0ade377 100644 --- a/proto/FurnitureMakeHelpData.proto +++ b/proto/FurnitureMakeHelpData.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeHelpData { - uint32 uid = 1; uint32 times = 2; + uint32 uid = 13; } diff --git a/proto/FurnitureMakeMakeInfo.proto b/proto/FurnitureMakeMakeInfo.proto index d59a108d..924e25a5 100644 --- a/proto/FurnitureMakeMakeInfo.proto +++ b/proto/FurnitureMakeMakeInfo.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeMakeInfo { - uint32 furniture_id = 1; - uint32 make_count = 2; + uint32 furniture_id = 13; + uint32 make_count = 9; } diff --git a/proto/FurnitureMakeReq.proto b/proto/FurnitureMakeReq.proto index 7247cd47..b39f9d30 100644 --- a/proto/FurnitureMakeReq.proto +++ b/proto/FurnitureMakeReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4551 +// CmdId: 4477 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/FurnitureMakeRsp.proto b/proto/FurnitureMakeRsp.proto index 4a63c198..3546b8c5 100644 --- a/proto/FurnitureMakeRsp.proto +++ b/proto/FurnitureMakeRsp.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FurnitureMakeBeHelpedData.proto"; import "FurnitureMakeHelpData.proto"; import "FurnitureMakeMakeInfo.proto"; import "FurnitureMakeSlot.proto"; -// CmdId: 4530 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4782 // EnetChannelId: 0 // EnetIsReliable: true message FurnitureMakeRsp { - int32 retcode = 6; - FurnitureMakeSlot furniture_make_slot = 10; - repeated FurnitureMakeHelpData help_data_list = 13; - repeated FurnitureMakeBeHelpedData helped_data_list = 12; - repeated FurnitureMakeMakeInfo make_info_list = 11; + repeated FurnitureMakeBeHelpedData helped_data_list = 13; + repeated FurnitureMakeMakeInfo make_info_list = 4; + FurnitureMakeSlot furniture_make_slot = 1; + int32 retcode = 3; + repeated FurnitureMakeHelpData help_data_list = 2; } diff --git a/proto/FurnitureMakeSlot.proto b/proto/FurnitureMakeSlot.proto index 5d4b32e7..0f72ba22 100644 --- a/proto/FurnitureMakeSlot.proto +++ b/proto/FurnitureMakeSlot.proto @@ -1,9 +1,25 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FurnitureMakeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + message FurnitureMakeSlot { - repeated FurnitureMakeData furniture_make_data_list = 1; + repeated FurnitureMakeData furniture_make_data_list = 14; } diff --git a/proto/FurnitureMakeStartReq.proto b/proto/FurnitureMakeStartReq.proto index d1bca84c..d6783ede 100644 --- a/proto/FurnitureMakeStartReq.proto +++ b/proto/FurnitureMakeStartReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4582 +// CmdId: 4633 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message FurnitureMakeStartReq { + uint32 avatar_id = 9; uint32 make_id = 1; - uint32 avatar_id = 14; } diff --git a/proto/FurnitureMakeStartRsp.proto b/proto/FurnitureMakeStartRsp.proto index 518489f0..55d2e843 100644 --- a/proto/FurnitureMakeStartRsp.proto +++ b/proto/FurnitureMakeStartRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FurnitureMakeSlot.proto"; -// CmdId: 4463 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4729 // EnetChannelId: 0 // EnetIsReliable: true message FurnitureMakeStartRsp { + FurnitureMakeSlot furniture_make_slot = 5; int32 retcode = 8; - FurnitureMakeSlot furniture_make_slot = 10; } diff --git a/proto/GachaInfo.proto b/proto/GachaInfo.proto index 92e67197..e8a7bfa7 100644 --- a/proto/GachaInfo.proto +++ b/proto/GachaInfo.proto @@ -1,33 +1,49 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "GachaUpInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message GachaInfo { - uint32 gacha_type = 1; - uint32 schedule_id = 2; - uint32 begin_time = 3; - uint32 end_time = 4; - uint32 cost_item_id = 5; - uint32 cost_item_num = 6; - string gacha_prefab_path = 7; + string gacha_preview_prefab_path = 4; + uint32 cost_item_id = 9; + bool is_new_wish = 733; string gacha_prob_url = 8; - string gacha_record_url = 9; - string gacha_preview_prefab_path = 10; - uint32 ten_cost_item_id = 11; - uint32 ten_cost_item_num = 12; - uint32 left_gacha_times = 13; - uint32 gacha_times_limit = 14; - uint32 gacha_sort_id = 15; - string gacha_prob_url_oversea = 16; - string gacha_record_url_oversea = 17; - repeated GachaUpInfo gacha_up_info_list = 18; - string title_textmap = 19; - repeated uint32 display_up_5_item_list = 20; - repeated uint32 display_up_4_item_list = 21; - uint32 wish_item_id = 22; - uint32 wish_progress = 23; - uint32 wish_max_progress = 24; - bool is_new_wish = 25; + string gacha_record_url_oversea = 1854; + uint32 cost_item_num = 3; + repeated GachaUpInfo gacha_up_info_list = 1233; + repeated uint32 display_up_4_item_list = 1875; + uint32 wish_progress = 1819; + uint32 schedule_id = 10; + uint32 gacha_sort_id = 7; + uint32 left_gacha_times = 5; + string gacha_prefab_path = 15; + string title_textmap = 736; + uint32 ten_cost_item_num = 6; + uint32 gacha_type = 13; + uint32 wish_max_progress = 1222; + uint32 end_time = 14; + uint32 ten_cost_item_id = 2; + string gacha_record_url = 12; + uint32 wish_item_id = 1637; + uint32 begin_time = 1; + string gacha_prob_url_oversea = 1481; + uint32 gacha_times_limit = 11; + repeated uint32 display_up_5_item_list = 2006; } diff --git a/proto/GachaItem.proto b/proto/GachaItem.proto index c20166cf..b5274497 100644 --- a/proto/GachaItem.proto +++ b/proto/GachaItem.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "GachaTransferItem.proto"; import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message GachaItem { - ItemParam gacha_item_ = 1; - repeated GachaTransferItem transfer_items = 2; - bool is_flash_card = 3; - bool is_gacha_item_new = 4; - repeated ItemParam token_item_list = 5; + ItemParam gacha_item_ = 7; + bool is_gacha_item_new = 6; + bool is_flash_card = 8; + repeated ItemParam token_item_list = 9; + repeated GachaTransferItem transfer_items = 12; } diff --git a/proto/GachaTransferItem.proto b/proto/GachaTransferItem.proto index 5de8c22f..993bd599 100644 --- a/proto/GachaTransferItem.proto +++ b/proto/GachaTransferItem.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message GachaTransferItem { - ItemParam item = 1; - bool is_transfer_item_new = 2; + ItemParam item = 3; + bool is_transfer_item_new = 1; } diff --git a/proto/GachaUpInfo.proto b/proto/GachaUpInfo.proto index 2000dc48..a8b2e71b 100644 --- a/proto/GachaUpInfo.proto +++ b/proto/GachaUpInfo.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message GachaUpInfo { - uint32 item_parent_type = 1; - repeated uint32 item_id_list = 2; + uint32 item_parent_type = 7; + repeated uint32 item_id_list = 15; } diff --git a/proto/GachaWishReq.proto b/proto/GachaWishReq.proto index 05f60baa..1cfa8c59 100644 --- a/proto/GachaWishReq.proto +++ b/proto/GachaWishReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1532 +// CmdId: 1507 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GachaWishReq { - uint32 gacha_type = 2; - uint32 gacha_schedule_id = 4; - uint32 item_id = 14; -} \ No newline at end of file + uint32 gacha_schedule_id = 14; + uint32 gacha_type = 13; + uint32 item_id = 4; +} diff --git a/proto/GachaWishRsp.proto b/proto/GachaWishRsp.proto index d588f8a1..d8f568a9 100644 --- a/proto/GachaWishRsp.proto +++ b/proto/GachaWishRsp.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1517 +// CmdId: 1521 // EnetChannelId: 0 // EnetIsReliable: true message GachaWishRsp { - int32 retcode = 7; - uint32 gacha_type = 14; - uint32 gacha_schedule_id = 15; - uint32 wish_item_id = 3; - uint32 wish_progress = 12; - uint32 wish_max_progress = 10; -} \ No newline at end of file + uint32 gacha_type = 8; + uint32 gacha_schedule_id = 7; + uint32 wish_max_progress = 2; + uint32 wish_progress = 5; + uint32 wish_item_id = 3; + int32 retcode = 14; +} diff --git a/proto/GadgetAutoPickDropInfoNotify.proto b/proto/GadgetAutoPickDropInfoNotify.proto index bb0c77d8..06d85d31 100644 --- a/proto/GadgetAutoPickDropInfoNotify.proto +++ b/proto/GadgetAutoPickDropInfoNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Item.proto"; -// CmdId: 830 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 897 // EnetChannelId: 0 // EnetIsReliable: true message GadgetAutoPickDropInfoNotify { - repeated Item item_list = 15; + repeated Item item_list = 11; } diff --git a/proto/GadgetBornType.proto b/proto/GadgetBornType.proto index bd38b6f1..15c2863e 100644 --- a/proto/GadgetBornType.proto +++ b/proto/GadgetBornType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/GadgetCrucibleInfo.proto b/proto/GadgetCrucibleInfo.proto index 8f98bfde..5e951301 100644 --- a/proto/GadgetCrucibleInfo.proto +++ b/proto/GadgetCrucibleInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/GadgetGeneralRewardInfo.proto b/proto/GadgetGeneralRewardInfo.proto index 42d9d02a..7e4d79bf 100644 --- a/proto/GadgetGeneralRewardInfo.proto +++ b/proto/GadgetGeneralRewardInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message GadgetGeneralRewardInfo { uint32 resin = 1; uint32 dead_time = 2; diff --git a/proto/GadgetInteractReq.proto b/proto/GadgetInteractReq.proto index 5795ab24..223fbfcd 100644 --- a/proto/GadgetInteractReq.proto +++ b/proto/GadgetInteractReq.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "InterOpType.proto"; import "ResinCostType.proto"; -// CmdId: 809 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 872 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GadgetInteractReq { - uint32 gadget_entity_id = 9; - InterOpType op_type = 6; - uint32 gadget_id = 14; - bool is_use_condense_resin = 15; - ResinCostType resin_cost_type = 11; - uint32 GCIEIJIOADO = 12; + uint32 gadget_id = 8; + //bool is_use_condense_resin = 15; it doesn't work,should use if(resin_cost_type==RESIN_COST_TYPE_CONDENSE) + InterOpType op_type = 5; + ResinCostType resin_cost_type = 1; + uint32 Unk2700_DCPBGMKCHGJ = 2; + uint32 gadget_entity_id = 4; } diff --git a/proto/GadgetInteractRsp.proto b/proto/GadgetInteractRsp.proto index 1982c87f..a193eee5 100644 --- a/proto/GadgetInteractRsp.proto +++ b/proto/GadgetInteractRsp.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "InteractType.proto"; import "InterOpType.proto"; -// CmdId: 831 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 898 // EnetChannelId: 0 // EnetIsReliable: true message GadgetInteractRsp { - int32 retcode = 4; - uint32 gadget_entity_id = 6; - InteractType interact_type = 9; - InterOpType op_type = 1; - uint32 gadget_id = 14; + uint32 gadget_entity_id = 10; + InteractType interact_type = 2; + InterOpType op_type = 3; + int32 retcode = 7; + uint32 gadget_id = 15; } diff --git a/proto/GadgetPlayInfo.proto b/proto/GadgetPlayInfo.proto index 788f2c62..62cef950 100644 --- a/proto/GadgetPlayInfo.proto +++ b/proto/GadgetPlayInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "GadgetCrucibleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message GadgetPlayInfo { uint32 play_type = 1; uint32 duration = 2; diff --git a/proto/GadgetStateNotify.proto b/proto/GadgetStateNotify.proto index 9ea3b052..022ee064 100644 --- a/proto/GadgetStateNotify.proto +++ b/proto/GadgetStateNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 841 +// CmdId: 812 // EnetChannelId: 0 // EnetIsReliable: true message GadgetStateNotify { - uint32 gadget_entity_id = 2; - uint32 gadget_state = 11; - bool is_enable_interact = 10; + uint32 gadget_entity_id = 5; + uint32 gadget_state = 3; + bool is_enable_interact = 11; } diff --git a/proto/GatherGadgetInfo.proto b/proto/GatherGadgetInfo.proto index 2c242697..d67de46e 100644 --- a/proto/GatherGadgetInfo.proto +++ b/proto/GatherGadgetInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/GetActivityInfoReq.proto b/proto/GetActivityInfoReq.proto index d3c75c66..bd49c831 100644 --- a/proto/GetActivityInfoReq.proto +++ b/proto/GetActivityInfoReq.proto @@ -7,5 +7,5 @@ option java_package = "emu.grasscutter.net.proto"; // EnetIsReliable: true // IsAllowClient: true message GetActivityInfoReq { - repeated uint32 activity_id_list = 14; + repeated uint32 activity_id_list = 4; } diff --git a/proto/GetActivityInfoRsp.proto b/proto/GetActivityInfoRsp.proto index f826d910..0f01fd78 100644 --- a/proto/GetActivityInfoRsp.proto +++ b/proto/GetActivityInfoRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ActivityInfo.proto"; import "Uint32Pair.proto"; -// CmdId: 2144 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2041 // EnetChannelId: 0 // EnetIsReliable: true message GetActivityInfoRsp { int32 retcode = 13; - repeated ActivityInfo activity_info_list = 14; - repeated uint32 activated_sale_id_list = 2; - repeated Uint32Pair disable_transfer_point_interaction_list = 4; + repeated ActivityInfo activity_info_list = 5; + repeated uint32 activated_sale_id_list = 11; + repeated Uint32Pair disable_transfer_point_interaction_list = 10; } diff --git a/proto/GetAllMailReq.proto b/proto/GetAllMailReq.proto index 73b95157..454b5144 100644 --- a/proto/GetAllMailReq.proto +++ b/proto/GetAllMailReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1455 +// CmdId: 1431 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetAllMailReq { - bool ANKKGPJCINB = 7; + bool Unk2700_OPEHLDAGICF = 7; } diff --git a/proto/GetAllMailRsp.proto b/proto/GetAllMailRsp.proto index 2d64a6d0..47926b53 100644 --- a/proto/GetAllMailRsp.proto +++ b/proto/GetAllMailRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MailData.proto"; -// CmdId: 1427 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1475 // EnetChannelId: 0 // EnetIsReliable: true message GetAllMailRsp { - int32 retcode = 6; - repeated MailData mail_list = 9; - bool is_truncated = 5; - bool ANKKGPJCINB = 7; + int32 retcode = 8; + repeated MailData mail_list = 14; + bool Unk2700_OPEHLDAGICF = 1; + bool is_truncated = 2; } diff --git a/proto/GetAllUnlockNameCardRsp.proto b/proto/GetAllUnlockNameCardRsp.proto index 38891691..71821a33 100644 --- a/proto/GetAllUnlockNameCardRsp.proto +++ b/proto/GetAllUnlockNameCardRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4058 +// CmdId: 4094 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetAllUnlockNameCardRsp { - int32 retcode = 13; - repeated uint32 name_card_list = 2; + int32 retcode = 4; + repeated uint32 name_card_list = 14; } diff --git a/proto/GetAuthkeyReq.proto b/proto/GetAuthkeyReq.proto index 1bf25903..53adf203 100644 --- a/proto/GetAuthkeyReq.proto +++ b/proto/GetAuthkeyReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1435 +// CmdId: 1490 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetAuthkeyReq { - string auth_appid = 12; - uint32 sign_type = 15; - uint32 authkey_ver = 7; + string auth_appid = 14; + uint32 sign_type = 7; + uint32 authkey_ver = 13; } diff --git a/proto/GetAuthkeyRsp.proto b/proto/GetAuthkeyRsp.proto index 7ec1c684..b2ce8aab 100644 --- a/proto/GetAuthkeyRsp.proto +++ b/proto/GetAuthkeyRsp.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1449 +// CmdId: 1473 // EnetChannelId: 0 // EnetIsReliable: true message GetAuthkeyRsp { - int32 retcode = 11; - string authkey = 1; - string auth_appid = 2; - uint32 sign_type = 7; - uint32 authkey_ver = 10; - string game_biz = 4; + string auth_appid = 4; + uint32 sign_type = 15; + int32 retcode = 6; + uint32 authkey_ver = 9; + string game_biz = 11; + string authkey = 3; } diff --git a/proto/GetBattlePassProductReq.proto b/proto/GetBattlePassProductReq.proto index 9cee2e69..21bc0177 100644 --- a/proto/GetBattlePassProductReq.proto +++ b/proto/GetBattlePassProductReq.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2616 +// CmdId: 2644 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetBattlePassProductReq { - uint32 battle_pass_product_play_type = 2; + uint32 battle_pass_product_play_type = 10; } diff --git a/proto/GetBattlePassProductRsp.proto b/proto/GetBattlePassProductRsp.proto index bb2e15f5..86200ca0 100644 --- a/proto/GetBattlePassProductRsp.proto +++ b/proto/GetBattlePassProductRsp.proto @@ -2,13 +2,13 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2601 +// CmdId: 2649 // EnetChannelId: 0 // EnetIsReliable: true message GetBattlePassProductRsp { - int32 retcode = 13; - uint32 battle_pass_product_play_type = 9; - uint32 cur_schedule_id = 12; - string product_id = 7; - string price_tier = 5; + int32 retcode = 14; + uint32 battle_pass_product_play_type = 2; + uint32 cur_schedule_id = 11; + string product_id = 1; + string price_tier = 6; } diff --git a/proto/GetDailyDungeonEntryInfoReq.proto b/proto/GetDailyDungeonEntryInfoReq.proto index 8b01cfd1..78fcbe09 100644 --- a/proto/GetDailyDungeonEntryInfoReq.proto +++ b/proto/GetDailyDungeonEntryInfoReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 929 +// CmdId: 930 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetDailyDungeonEntryInfoReq { - uint32 scene_id = 11; + uint32 scene_id = 15; } diff --git a/proto/GetDailyDungeonEntryInfoRsp.proto b/proto/GetDailyDungeonEntryInfoRsp.proto index 17c1b9ec..66d78b4d 100644 --- a/proto/GetDailyDungeonEntryInfoRsp.proto +++ b/proto/GetDailyDungeonEntryInfoRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "DailyDungeonEntryInfo.proto"; -// CmdId: 925 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 967 // EnetChannelId: 0 // EnetIsReliable: true message GetDailyDungeonEntryInfoRsp { - int32 retcode = 9; - repeated DailyDungeonEntryInfo daily_dungeon_info_list = 4; + repeated DailyDungeonEntryInfo daily_dungeon_info_list = 2; + int32 retcode = 14; } diff --git a/proto/GetFriendShowAvatarInfoReq.proto b/proto/GetFriendShowAvatarInfoReq.proto index 98a047aa..c447734c 100644 --- a/proto/GetFriendShowAvatarInfoReq.proto +++ b/proto/GetFriendShowAvatarInfoReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4003 +// CmdId: 4070 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetFriendShowAvatarInfoReq { - uint32 uid = 9; + uint32 uid = 15; } diff --git a/proto/GetFriendShowAvatarInfoRsp.proto b/proto/GetFriendShowAvatarInfoRsp.proto index 8e060a69..77397751 100644 --- a/proto/GetFriendShowAvatarInfoRsp.proto +++ b/proto/GetFriendShowAvatarInfoRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ShowAvatarInfo.proto"; -// CmdId: 4034 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4017 // EnetChannelId: 0 // EnetIsReliable: true message GetFriendShowAvatarInfoRsp { - int32 retcode = 14; - uint32 uid = 11; - repeated ShowAvatarInfo show_avatar_info_list = 7; + uint32 uid = 6; + int32 retcode = 3; + repeated ShowAvatarInfo show_avatar_info_list = 9; } diff --git a/proto/GetFurnitureCurModuleArrangeCountReq.proto b/proto/GetFurnitureCurModuleArrangeCountReq.proto index d8a61643..70bc6104 100644 --- a/proto/GetFurnitureCurModuleArrangeCountReq.proto +++ b/proto/GetFurnitureCurModuleArrangeCountReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4603 +// CmdId: 4711 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/GetGachaInfoRsp.proto b/proto/GetGachaInfoRsp.proto index ae177365..82d92d21 100644 --- a/proto/GetGachaInfoRsp.proto +++ b/proto/GetGachaInfoRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "GachaInfo.proto"; -// CmdId: 1531 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1598 // EnetChannelId: 0 // EnetIsReliable: true message GetGachaInfoRsp { - int32 retcode = 14; - repeated GachaInfo gacha_info_list = 12; - uint32 gacha_random = 13; - uint32 NKJOBOABFOJ = 7; - bool PODALHILIKF = 9; + bool Unk2700_LEEPELHDING = 2; + int32 retcode = 10; + uint32 gacha_random = 9; + uint32 Unk2700_OJKKHDLEDCI = 5; + repeated GachaInfo gacha_info_list = 13; } diff --git a/proto/GetInvestigationMonsterReq.proto b/proto/GetInvestigationMonsterReq.proto index 4e126fc6..0214c9b1 100644 --- a/proto/GetInvestigationMonsterReq.proto +++ b/proto/GetInvestigationMonsterReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1902 +// CmdId: 1901 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetInvestigationMonsterReq { - repeated uint32 city_id_list = 13; - bool ABFECCDJENJ = 11; + repeated uint32 city_id_list = 3; + bool Unk2700_DEMFDHNFBBJ = 4; } diff --git a/proto/GetInvestigationMonsterRsp.proto b/proto/GetInvestigationMonsterRsp.proto index c8c678a5..9bf85dc0 100644 --- a/proto/GetInvestigationMonsterRsp.proto +++ b/proto/GetInvestigationMonsterRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "InvestigationMonster.proto"; -// CmdId: 1911 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1910 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetInvestigationMonsterRsp { - int32 retcode = 9; - repeated InvestigationMonster monster_list = 7; - bool ABFECCDJENJ = 10; + repeated InvestigationMonster monster_list = 10; + int32 retcode = 1; + bool Unk2700_DEMFDHNFBBJ = 2; } diff --git a/proto/GetMailItemReq.proto b/proto/GetMailItemReq.proto index 9189d3b1..5a194d23 100644 --- a/proto/GetMailItemReq.proto +++ b/proto/GetMailItemReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1437 +// CmdId: 1435 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetMailItemReq { - repeated uint32 mail_id_list = 8; + repeated uint32 mail_id_list = 6; } diff --git a/proto/GetMailItemRsp.proto b/proto/GetMailItemRsp.proto index 68e900b9..53e2fb57 100644 --- a/proto/GetMailItemRsp.proto +++ b/proto/GetMailItemRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EquipParam.proto"; -// CmdId: 1432 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1407 // EnetChannelId: 0 // EnetIsReliable: true message GetMailItemRsp { - int32 retcode = 13; - repeated uint32 mail_id_list = 10; - repeated EquipParam item_list = 5; + int32 retcode = 7; + repeated uint32 mail_id_list = 3; + repeated EquipParam item_list = 2; } diff --git a/proto/GetOnlinePlayerListReq.proto b/proto/GetOnlinePlayerListReq.proto index 5a713998..d5c80b48 100644 --- a/proto/GetOnlinePlayerListReq.proto +++ b/proto/GetOnlinePlayerListReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 35 +// CmdId: 90 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/GetOnlinePlayerListRsp.proto b/proto/GetOnlinePlayerListRsp.proto index c9f39885..033e1c91 100644 --- a/proto/GetOnlinePlayerListRsp.proto +++ b/proto/GetOnlinePlayerListRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "OnlinePlayerInfo.proto"; -// CmdId: 49 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 73 // EnetChannelId: 0 // EnetIsReliable: true message GetOnlinePlayerListRsp { - int32 retcode = 12; - repeated OnlinePlayerInfo player_info_list = 10; - uint32 param = 2; + int32 retcode = 7; + uint32 param = 11; + repeated OnlinePlayerInfo player_info_list = 5; } diff --git a/proto/GetPlayerAskFriendListRsp.proto b/proto/GetPlayerAskFriendListRsp.proto index 35594993..687a8cb9 100644 --- a/proto/GetPlayerAskFriendListRsp.proto +++ b/proto/GetPlayerAskFriendListRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendBrief.proto"; -// CmdId: 4004 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4066 // EnetChannelId: 0 // EnetIsReliable: true message GetPlayerAskFriendListRsp { - int32 retcode = 15; - repeated FriendBrief ask_friend_list = 13; + int32 retcode = 13; + repeated FriendBrief ask_friend_list = 15; } diff --git a/proto/GetPlayerBlacklistRsp.proto b/proto/GetPlayerBlacklistRsp.proto index b9de72c7..ae402b2f 100644 --- a/proto/GetPlayerBlacklistRsp.proto +++ b/proto/GetPlayerBlacklistRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendBrief.proto"; -// CmdId: 4072 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4091 // EnetChannelId: 0 // EnetIsReliable: true message GetPlayerBlacklistRsp { - int32 retcode = 12; - repeated FriendBrief blacklist = 5; + int32 retcode = 2; + repeated FriendBrief blacklist = 3; } diff --git a/proto/GetPlayerFriendListRsp.proto b/proto/GetPlayerFriendListRsp.proto index 3ac03fc5..59f1a941 100644 --- a/proto/GetPlayerFriendListRsp.proto +++ b/proto/GetPlayerFriendListRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendBrief.proto"; -// CmdId: 4031 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4098 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetPlayerFriendListRsp { - int32 retcode = 3; - repeated FriendBrief friend_list = 6; - repeated FriendBrief ask_friend_list = 5; + int32 retcode = 9; + repeated FriendBrief ask_friend_list = 8; + repeated FriendBrief friend_list = 14; } diff --git a/proto/GetPlayerHomeCompInfoReq.proto b/proto/GetPlayerHomeCompInfoReq.proto index a8723084..359e20b2 100644 --- a/proto/GetPlayerHomeCompInfoReq.proto +++ b/proto/GetPlayerHomeCompInfoReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4845 +// CmdId: 4597 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/GetPlayerSocialDetailReq.proto b/proto/GetPlayerSocialDetailReq.proto index 6d9d8db2..11fe6cd2 100644 --- a/proto/GetPlayerSocialDetailReq.proto +++ b/proto/GetPlayerSocialDetailReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4049 +// CmdId: 4073 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetPlayerSocialDetailReq { - uint32 uid = 14; + uint32 uid = 9; } diff --git a/proto/GetPlayerSocialDetailRsp.proto b/proto/GetPlayerSocialDetailRsp.proto index f68f2d4e..71617fae 100644 --- a/proto/GetPlayerSocialDetailRsp.proto +++ b/proto/GetPlayerSocialDetailRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "SocialDetail.proto"; -// CmdId: 4082 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4099 // EnetChannelId: 0 // EnetIsReliable: true message GetPlayerSocialDetailRsp { - int32 retcode = 2; - SocialDetail detail_data = 15; + SocialDetail detail_data = 12; + int32 retcode = 1; } diff --git a/proto/GetPlayerTokenReq.proto b/proto/GetPlayerTokenReq.proto index 300058bd..e437ce46 100644 --- a/proto/GetPlayerTokenReq.proto +++ b/proto/GetPlayerTokenReq.proto @@ -1,27 +1,45 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 109 +// CmdId: 172 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetPlayerTokenReq { - uint32 account_type = 3; - string account_uid = 12; - string account_token = 14; - string account_ext = 2; - uint32 uid = 8; - bool is_guest = 4; - uint32 platform_type = 7; - uint32 cloud_client_ip = 13; - string online_id = 9; - string psn_region = 15; - uint32 channel_id = 10; - uint32 sub_channel_id = 1; - string country_code = 11; - string psn_id = 5; - string client_ip_str = 6; - string birthday = 966; - uint32 NNCIBOLDIAI = 1883; -} + string account_token = 10; + string account_uid = 11; + string psn_region = 4; + string online_id = 7; + uint32 channel_id = 15; + string account_ext = 9; + string country_code = 5; + string client_seed = 760; + bool is_guest = 6; + string birthday = 1718; + uint32 sub_channel_id = 8; + uint32 platform_type = 12; + string client_ip_str = 3; + string psn_id = 13; + uint32 account_type = 1; + uint32 Unk2700_NOJPEHIBDJH = 995; + uint32 cloud_client_ip = 14; + uint32 key_id = 1787; + uint32 uid = 2; +} \ No newline at end of file diff --git a/proto/GetPlayerTokenRsp.proto b/proto/GetPlayerTokenRsp.proto index 39f87f2e..c0b144d3 100644 --- a/proto/GetPlayerTokenRsp.proto +++ b/proto/GetPlayerTokenRsp.proto @@ -1,36 +1,56 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 131 +// CmdId: 198 // EnetChannelId: 0 // EnetIsReliable: true message GetPlayerTokenRsp { - int32 retcode = 7; - string msg = 10; - uint32 uid = 2; - string token = 1; - uint32 black_uid_end_time = 15; - uint32 account_type = 12; - string account_uid = 4; - bool is_proficient_player = 5; - string secret_key = 13; - uint32 gm_uid = 14; - uint64 secret_key_seed = 11; - bytes security_cmd_buffer = 6; - uint32 platform_type = 3; - bytes extra_bin_data = 8; - bool is_guest = 9; - uint32 channel_id = 1614; - uint32 sub_channel_id = 1911; - uint32 tag = 1855; - string country_code = 739; - bool is_login_white_list = 977; - string psn_id = 245; - string client_version_random_key = 1387; - uint32 reg_platform = 633; - string client_ip_str = 1238; - string birthday = 1109; - uint32 NNCIBOLDIAI = 1728; - bool FNECFLEAKKO = 1679; -} + string birthday = 937; + int32 retcode = 2; + bytes security_cmd_buffer = 6; + uint64 secret_key_seed = 13; + string country_code = 2013; + bytes extra_bin_data = 3; + string secret_key = 15; + uint32 Unk2700_NOJPEHIBDJH = 1561; + uint32 black_uid_end_time = 14; + uint32 tag = 1635; + string token = 11; + uint32 gm_uid = 10; + uint32 channel_id = 896; + string psn_id = 1811; + string client_ip_str = 860; + string msg = 7; + uint32 account_type = 5; + uint32 sub_channel_id = 1802; + bool Unk2700_FLBKPCPGPDH = 2028; + string encrypted_seed = 1493; + bool is_proficient_player = 9; + uint32 Unk2800_BPJOBLNCBEI = 1172; + uint32 uid = 1; + string account_uid = 12; + bool is_guest = 4; + string client_version_random_key = 1529; + repeated uint32 Unk2800_NNBFCEAOEPB = 1640; + uint32 platform_type = 8; + uint32 reg_platform = 1112; + bool is_login_white_list = 573; + string seed_signature = 1140; +} \ No newline at end of file diff --git a/proto/GetSceneAreaReq.proto b/proto/GetSceneAreaReq.proto index 0d563436..8b9cd344 100644 --- a/proto/GetSceneAreaReq.proto +++ b/proto/GetSceneAreaReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 238 +// CmdId: 265 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetSceneAreaReq { uint32 scene_id = 4; - uint32 belong_uid = 3; + uint32 belong_uid = 7; } diff --git a/proto/GetSceneAreaRsp.proto b/proto/GetSceneAreaRsp.proto index d72b3f63..a95ef5a5 100644 --- a/proto/GetSceneAreaRsp.proto +++ b/proto/GetSceneAreaRsp.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "CityInfo.proto"; -// CmdId: 206 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 204 // EnetChannelId: 0 // EnetIsReliable: true message GetSceneAreaRsp { - int32 retcode = 2; - uint32 scene_id = 13; - repeated uint32 area_id_list = 6; - repeated CityInfo city_info_list = 3; + int32 retcode = 7; + repeated CityInfo city_info_list = 13; + uint32 scene_id = 15; + repeated uint32 area_id_list = 9; } diff --git a/proto/GetScenePointReq.proto b/proto/GetScenePointReq.proto index 3c6bec97..f155d923 100644 --- a/proto/GetScenePointReq.proto +++ b/proto/GetScenePointReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 230 +// CmdId: 297 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetScenePointReq { - uint32 scene_id = 4; uint32 belong_uid = 10; + uint32 scene_id = 4; } diff --git a/proto/GetScenePointRsp.proto b/proto/GetScenePointRsp.proto index 3f1903cd..be2258be 100644 --- a/proto/GetScenePointRsp.proto +++ b/proto/GetScenePointRsp.proto @@ -1,21 +1,37 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 297 +// CmdId: 281 // EnetChannelId: 0 // EnetIsReliable: true message GetScenePointRsp { - int32 retcode = 5; - uint32 scene_id = 12; - repeated uint32 unlocked_point_list = 14; - uint32 belong_uid = 15; - repeated uint32 unlock_area_list = 11; - repeated uint32 locked_point_list = 4; - repeated uint32 to_be_explore_dungeon_entry_list = 8; - repeated uint32 not_explored_dungeon_entry_list = 3; - repeated uint32 group_unlimit_point_list = 6; - repeated uint32 not_interact_dungeon_entry_list = 1; - repeated uint32 hide_point_list = 9; - repeated uint32 unhide_point_list = 7; + repeated uint32 not_explored_dungeon_entry_list = 11; + repeated uint32 to_be_explore_dungeon_entry_list = 15; + repeated uint32 locked_point_list = 2; + repeated uint32 unhide_point_list = 5; + int32 retcode = 9; + uint32 belong_uid = 12; + repeated uint32 unlocked_point_list = 13; + repeated uint32 unlock_area_list = 1; + repeated uint32 hide_point_list = 4; + uint32 scene_id = 14; + repeated uint32 not_interact_dungeon_entry_list = 6; + repeated uint32 group_unlimit_point_list = 10; } diff --git a/proto/GetShopReq.proto b/proto/GetShopReq.proto index fbc3e2a7..1f296290 100644 --- a/proto/GetShopReq.proto +++ b/proto/GetShopReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 709 +// CmdId: 772 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message GetShopReq { - uint32 shop_type = 5; + uint32 shop_type = 13; } diff --git a/proto/GetShopRsp.proto b/proto/GetShopRsp.proto index 3b2491f3..a65cbb17 100644 --- a/proto/GetShopRsp.proto +++ b/proto/GetShopRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Shop.proto"; -// CmdId: 731 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 798 // EnetChannelId: 0 // EnetIsReliable: true message GetShopRsp { - int32 retcode = 11; - Shop shop = 14; + Shop shop = 11; + int32 retcode = 2; } diff --git a/proto/GetShopmallDataRsp.proto b/proto/GetShopmallDataRsp.proto index 06bae172..6daa52e0 100644 --- a/proto/GetShopmallDataRsp.proto +++ b/proto/GetShopmallDataRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 717 +// CmdId: 721 // EnetChannelId: 0 // EnetIsReliable: true message GetShopmallDataRsp { - int32 retcode = 4; repeated uint32 shop_type_list = 15; + int32 retcode = 3; } diff --git a/proto/GetWidgetSlotReq.proto b/proto/GetWidgetSlotReq.proto index f0e3610a..612e7680 100644 --- a/proto/GetWidgetSlotReq.proto +++ b/proto/GetWidgetSlotReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4267 +// CmdId: 4253 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/GetWidgetSlotRsp.proto b/proto/GetWidgetSlotRsp.proto index c816bd1e..37e0a817 100644 --- a/proto/GetWidgetSlotRsp.proto +++ b/proto/GetWidgetSlotRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotData.proto"; -// CmdId: 4300 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4254 // EnetChannelId: 0 // EnetIsReliable: true message GetWidgetSlotRsp { - int32 retcode = 12; - repeated WidgetSlotData slot_list = 8; + repeated WidgetSlotData slot_list = 13; + int32 retcode = 9; } diff --git a/proto/GetWorldMpInfoRsp.proto b/proto/GetWorldMpInfoRsp.proto index ec4db00c..2fbba257 100644 --- a/proto/GetWorldMpInfoRsp.proto +++ b/proto/GetWorldMpInfoRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 3179 +// CmdId: 3320 // EnetChannelId: 0 // EnetIsReliable: true message GetWorldMpInfoRsp { - int32 retcode = 11; - bool is_in_mp_mode = 5; - uint32 quit_mp_valid_time = 13; + int32 retcode = 12; + bool is_in_mp_mode = 1; + uint32 quit_mp_valid_time = 9; } diff --git a/proto/GroupSuiteNotify.proto b/proto/GroupSuiteNotify.proto index 7bdf0994..305c8ec3 100644 --- a/proto/GroupSuiteNotify.proto +++ b/proto/GroupSuiteNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 3476 +// CmdId: 3257 // EnetChannelId: 0 // EnetIsReliable: true message GroupSuiteNotify { - map group_map = 11; + map group_map = 3; } diff --git a/proto/GroupUnloadNotify.proto b/proto/GroupUnloadNotify.proto index a91350a6..6de69eda 100644 --- a/proto/GroupUnloadNotify.proto +++ b/proto/GroupUnloadNotify.proto @@ -2,9 +2,9 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 3416 +// CmdId: 3344 // EnetChannelId: 0 // EnetIsReliable: true message GroupUnloadNotify { - repeated uint32 group_list = 1; + repeated uint32 group_list = 10; } diff --git a/proto/H5ActivityIdsNotify.proto b/proto/H5ActivityIdsNotify.proto index c9eed0a8..667da566 100644 --- a/proto/H5ActivityIdsNotify.proto +++ b/proto/H5ActivityIdsNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 5693 +// CmdId: 5675 // EnetChannelId: 0 // EnetIsReliable: true message H5ActivityIdsNotify { - map h_5_activity_map = 3; - uint32 client_red_dot_timestamp = 15; + uint32 client_red_dot_timestamp = 1; + map h_5_activity_map = 12; } diff --git a/proto/HitColliderType.proto b/proto/HitColliderType.proto index be99dbe3..cdc11e3e 100644 --- a/proto/HitColliderType.proto +++ b/proto/HitColliderType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/HitCollision.proto b/proto/HitCollision.proto index 939a0e1e..7213167f 100644 --- a/proto/HitCollision.proto +++ b/proto/HitCollision.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HitColliderType.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HitCollision { - HitColliderType hit_collider_type = 1; - int32 hit_box_index = 2; - Vector hit_point = 3; - Vector hit_dir = 4; - float attackee_hit_force_angle = 5; - float attackee_hit_entity_angle = 6; + HitColliderType hit_collider_type = 8; + Vector hit_point = 7; + float attackee_hit_force_angle = 2; + Vector hit_dir = 13; + float attackee_hit_entity_angle = 15; + int32 hit_box_index = 4; } diff --git a/proto/HitTreeNotify.proto b/proto/HitTreeNotify.proto index 856b92d5..913d66d1 100644 --- a/proto/HitTreeNotify.proto +++ b/proto/HitTreeNotify.proto @@ -1,13 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "Vector.proto"; -// Command code: 5222 +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 3019 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true message HitTreeNotify { - Vector hit_postion = 3; - uint32 wood_type = 4; - Vector hit_postion_duplicated = 13; //I don't understand the reason why ** makes two same positions data + uint32 tree_type = 11; + Vector tree_pos = 2; + Vector drop_pos = 8; } diff --git a/proto/HomeAnimalData.proto b/proto/HomeAnimalData.proto index 846e7fa5..60965aee 100644 --- a/proto/HomeAnimalData.proto +++ b/proto/HomeAnimalData.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeAnimalData { - uint32 furniture_id = 1; - Vector spawn_pos = 2; - Vector spawn_rot = 3; + Vector spawn_rot = 10; + uint32 furniture_id = 5; + Vector spawn_pos = 6; } diff --git a/proto/HomeBasicInfo.proto b/proto/HomeBasicInfo.proto index ac0ae04a..9e1383d7 100644 --- a/proto/HomeBasicInfo.proto +++ b/proto/HomeBasicInfo.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeLimitedShopInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeBasicInfo { - uint32 cur_module_id = 1; - uint32 cur_room_scene_id = 2; - bool is_in_edit_mode = 3; - uint64 exp = 4; - uint32 level = 5; - uint32 home_owner_uid = 6; - HomeLimitedShopInfo limited_shop_info = 7; - string owner_nick_name = 8; + uint32 level = 10; + uint32 cur_room_scene_id = 13; + uint32 cur_module_id = 9; + bool is_in_edit_mode = 5; + uint32 home_owner_uid = 3; + uint64 exp = 14; + HomeLimitedShopInfo limited_shop_info = 15; + string owner_nick_name = 4; } diff --git a/proto/HomeBasicInfoNotify.proto b/proto/HomeBasicInfoNotify.proto index 0ad50fc6..3e8dc512 100644 --- a/proto/HomeBasicInfoNotify.proto +++ b/proto/HomeBasicInfoNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeBasicInfo.proto"; -// CmdId: 4872 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4885 // EnetChannelId: 0 // EnetIsReliable: true message HomeBasicInfoNotify { - HomeBasicInfo basic_info = 9; + HomeBasicInfo basic_info = 15; } diff --git a/proto/HomeBlockArrangementInfo.proto b/proto/HomeBlockArrangementInfo.proto index b58c712b..cb9b533a 100644 --- a/proto/HomeBlockArrangementInfo.proto +++ b/proto/HomeBlockArrangementInfo.proto @@ -1,29 +1,45 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - -//import "BIEMCDLIFOD.proto"; -//import "GOHMLAFNBGF.proto"; import "HomeAnimalData.proto"; import "HomeBlockDotPattern.proto"; import "HomeBlockFieldData.proto"; import "HomeFurnitureData.proto"; import "HomeFurnitureSuiteData.proto"; import "HomeNpcData.proto"; -//import "WeekendDjinnInfo.proto"; +import "Unk2700_BIEMCDLIFOD.proto"; +import "Unk2700_GOHMLAFNBGF.proto"; +import "WeekendDjinnInfo.proto"; + +option java_package = "emu.grasscutter.net.proto"; message HomeBlockArrangementInfo { - uint32 block_id = 1; - repeated HomeFurnitureData persistent_furniture_list = 2; - repeated HomeFurnitureData deploy_furniure_list = 3; - repeated HomeNpcData deploy_npc_list = 4; - repeated HomeFurnitureSuiteData furniture_suite_list = 5; - repeated HomeAnimalData deploy_animal_list = 6; - bool is_unlocked = 7; - uint32 comfort_value = 8; - //repeated WeekendDjinnInfo weekend_djinn_info_list = 9; - repeated HomeBlockDotPattern dot_pattern_list = 10; - repeated HomeBlockFieldData field_list = 11; -// repeated GOHMLAFNBGF BOCBLHLEKNJ = 12; -// repeated BIEMCDLIFOD CONIAKDJHAN = 13; + bool is_unlocked = 1; + uint32 comfort_value = 2; + repeated HomeAnimalData deploy_animal_list = 4; + repeated Unk2700_GOHMLAFNBGF Unk2700_HGIECHILOJL = 5; + repeated WeekendDjinnInfo weekend_djinn_info_list = 13; + repeated HomeFurnitureSuiteData furniture_suite_list = 15; + repeated HomeBlockFieldData field_list = 3; + repeated HomeNpcData deploy_npc_list = 11; + repeated HomeBlockDotPattern dot_pattern_list = 7; + repeated HomeFurnitureData persistent_furniture_list = 9; + repeated HomeFurnitureData deploy_furniure_list = 12; + uint32 block_id = 6; + repeated Unk2700_BIEMCDLIFOD Unk2700_KJGLLEEHBPF = 14; } diff --git a/proto/HomeBlockDotPattern.proto b/proto/HomeBlockDotPattern.proto index 895a39c2..d250f807 100644 --- a/proto/HomeBlockDotPattern.proto +++ b/proto/HomeBlockDotPattern.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message HomeBlockDotPattern { - uint32 height = 1; - uint32 width = 2; - bytes data = 3; + uint32 width = 8; + uint32 height = 11; + bytes data = 9; } diff --git a/proto/HomeBlockFieldData.proto b/proto/HomeBlockFieldData.proto index fa95f5b0..e5c11fcd 100644 --- a/proto/HomeBlockFieldData.proto +++ b/proto/HomeBlockFieldData.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeBlockSubFieldData.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeBlockFieldData { - uint32 guid = 1; - uint32 furniture_id = 2; - Vector pos = 3; - Vector rot = 4; - repeated HomeBlockSubFieldData sub_field_list = 5; + Vector rot = 15; + Vector pos = 4; + uint32 guid = 9; + uint32 furniture_id = 1; + repeated HomeBlockSubFieldData sub_field_list = 7; } diff --git a/proto/HomeBlockNotify.proto b/proto/HomeBlockNotify.proto index 09e55627..360fc223 100644 --- a/proto/HomeBlockNotify.proto +++ b/proto/HomeBlockNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4542 +// CmdId: 4543 // EnetChannelId: 0 // EnetIsReliable: true message HomeBlockNotify { - uint32 end_time = 7; + uint32 end_time = 3; } diff --git a/proto/HomeBlockSubFieldData.proto b/proto/HomeBlockSubFieldData.proto index 4e191479..51e8dd15 100644 --- a/proto/HomeBlockSubFieldData.proto +++ b/proto/HomeBlockSubFieldData.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeBlockSubFieldData { + Vector rot = 3; Vector pos = 1; - Vector rot = 2; } diff --git a/proto/HomeChangeEditModeReq.proto b/proto/HomeChangeEditModeReq.proto index f15bd8a1..3b0f5e13 100644 --- a/proto/HomeChangeEditModeReq.proto +++ b/proto/HomeChangeEditModeReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4625 +// CmdId: 4564 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message HomeChangeEditModeReq { - bool is_enter_edit_mode = 5; + bool is_enter_edit_mode = 12; } diff --git a/proto/HomeChangeEditModeRsp.proto b/proto/HomeChangeEditModeRsp.proto index e11fda10..272b63bc 100644 --- a/proto/HomeChangeEditModeRsp.proto +++ b/proto/HomeChangeEditModeRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4885 +// CmdId: 4559 // EnetChannelId: 0 // EnetIsReliable: true message HomeChangeEditModeRsp { - int32 retcode = 11; + int32 retcode = 10; bool is_enter_edit_mode = 5; } diff --git a/proto/HomeChooseModuleReq.proto b/proto/HomeChooseModuleReq.proto index a75f8e8b..0a060d8a 100644 --- a/proto/HomeChooseModuleReq.proto +++ b/proto/HomeChooseModuleReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4479 +// CmdId: 4524 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message HomeChooseModuleReq { - uint32 module_id = 2; + uint32 module_id = 9; } diff --git a/proto/HomeChooseModuleRsp.proto b/proto/HomeChooseModuleRsp.proto index dccf23fe..fa599d15 100644 --- a/proto/HomeChooseModuleRsp.proto +++ b/proto/HomeChooseModuleRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4745 +// CmdId: 4648 // EnetChannelId: 0 // EnetIsReliable: true message HomeChooseModuleRsp { - int32 retcode = 5; - uint32 module_id = 11; + int32 retcode = 2; + uint32 module_id = 8; } diff --git a/proto/HomeComfortInfoNotify.proto b/proto/HomeComfortInfoNotify.proto index b5611011..f5068bf9 100644 --- a/proto/HomeComfortInfoNotify.proto +++ b/proto/HomeComfortInfoNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeModuleComfortInfo.proto"; -// CmdId: 4649 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4699 // EnetChannelId: 0 // EnetIsReliable: true message HomeComfortInfoNotify { - repeated HomeModuleComfortInfo module_info_list = 1; + repeated HomeModuleComfortInfo module_info_list = 6; } diff --git a/proto/HomeFurnitureData.proto b/proto/HomeFurnitureData.proto index 27e2c03f..9a92b48f 100644 --- a/proto/HomeFurnitureData.proto +++ b/proto/HomeFurnitureData.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeFurnitureData { - uint32 furniture_id = 1; - Vector spawn_pos = 3; - Vector spawn_rot = 4; - int32 parent_furniture_index = 7; - uint32 guid = 8; - uint32 version = 9; + uint32 version = 6; + int32 parent_furniture_index = 3; + uint32 furniture_id = 4; + uint32 guid = 9; + Vector spawn_rot = 10; + Vector spawn_pos = 8; } diff --git a/proto/HomeFurnitureSuiteData.proto b/proto/HomeFurnitureSuiteData.proto index 3c2b893b..0caaf784 100644 --- a/proto/HomeFurnitureSuiteData.proto +++ b/proto/HomeFurnitureSuiteData.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeFurnitureSuiteData { - uint32 suite_id = 1; - Vector spawn_pos = 2; - repeated int32 included_furniture_index_list = 3; - uint32 guid = 5; - bool is_allow_summon = 6; + bool is_allow_summon = 10; + uint32 suite_id = 6; + Vector spawn_pos = 8; + uint32 guid = 13; + repeated int32 included_furniture_index_list = 1; } diff --git a/proto/HomeGetArrangementInfoReq.proto b/proto/HomeGetArrangementInfoReq.proto index c5ecb200..dbdf4265 100644 --- a/proto/HomeGetArrangementInfoReq.proto +++ b/proto/HomeGetArrangementInfoReq.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -7,5 +23,5 @@ option java_package = "emu.grasscutter.net.proto"; // EnetIsReliable: true // IsAllowClient: true message HomeGetArrangementInfoReq { - repeated uint32 scene_id_list = 6; + repeated uint32 scene_id_list = 13; } diff --git a/proto/HomeGetArrangementInfoRsp.proto b/proto/HomeGetArrangementInfoRsp.proto index 4b46a3ce..55fb0f1a 100644 --- a/proto/HomeGetArrangementInfoRsp.proto +++ b/proto/HomeGetArrangementInfoRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeSceneArrangementInfo.proto"; -// CmdId: 4456 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4844 // EnetChannelId: 0 // EnetIsReliable: true message HomeGetArrangementInfoRsp { - int32 retcode = 1; - repeated HomeSceneArrangementInfo scene_arrangement_info_list = 12; + int32 retcode = 6; + repeated HomeSceneArrangementInfo scene_arrangement_info_list = 14; } diff --git a/proto/HomeGetBasicInfoReq.proto b/proto/HomeGetBasicInfoReq.proto index 572cfd31..1d84caa3 100644 --- a/proto/HomeGetBasicInfoReq.proto +++ b/proto/HomeGetBasicInfoReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4535 +// CmdId: 4655 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/HomeLimitedShopInfo.proto b/proto/HomeLimitedShopInfo.proto index 99319f40..0810f031 100644 --- a/proto/HomeLimitedShopInfo.proto +++ b/proto/HomeLimitedShopInfo.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeLimitedShopInfo { - uint32 uid = 1; - uint32 next_open_time = 3; - uint32 next_guest_open_time = 4; - uint32 next_close_time = 5; - Vector djinn_pos = 6; + fixed32 next_close_time = 9; + fixed32 next_guest_open_time = 11; Vector djinn_rot = 7; + uint32 uid = 4; + fixed32 next_open_time = 6; + Vector djinn_pos = 2; } diff --git a/proto/HomeMarkPointFurnitureData.proto b/proto/HomeMarkPointFurnitureData.proto index 6ad0abb9..3e274f9c 100644 --- a/proto/HomeMarkPointFurnitureData.proto +++ b/proto/HomeMarkPointFurnitureData.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeMarkPointNPCData.proto"; import "HomeMarkPointSuiteData.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeMarkPointFurnitureData { uint32 guid = 1; uint32 furniture_id = 2; diff --git a/proto/HomeMarkPointNPCData.proto b/proto/HomeMarkPointNPCData.proto index f81b20c6..bb08af47 100644 --- a/proto/HomeMarkPointNPCData.proto +++ b/proto/HomeMarkPointNPCData.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/HomeMarkPointNotify.proto b/proto/HomeMarkPointNotify.proto index d0c92275..51f0ba59 100644 --- a/proto/HomeMarkPointNotify.proto +++ b/proto/HomeMarkPointNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeMarkPointSceneData.proto"; -// CmdId: 4746 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4474 // EnetChannelId: 0 // EnetIsReliable: true message HomeMarkPointNotify { - repeated HomeMarkPointSceneData mark_point_data_list = 13; + repeated HomeMarkPointSceneData mark_point_data_list = 12; } diff --git a/proto/HomeMarkPointSceneData.proto b/proto/HomeMarkPointSceneData.proto index 1a038fe6..1160c3c4 100644 --- a/proto/HomeMarkPointSceneData.proto +++ b/proto/HomeMarkPointSceneData.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeMarkPointFurnitureData.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeMarkPointSceneData { - uint32 module_id = 1; + repeated HomeMarkPointFurnitureData furniture_list = 6; + uint32 module_id = 5; uint32 scene_id = 2; - repeated HomeMarkPointFurnitureData furniture_list = 3; Vector teapot_spirit_pos = 4; } diff --git a/proto/HomeMarkPointSuiteData.proto b/proto/HomeMarkPointSuiteData.proto index e848f8a0..f47a435b 100644 --- a/proto/HomeMarkPointSuiteData.proto +++ b/proto/HomeMarkPointSuiteData.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/HomeModuleComfortInfo.proto b/proto/HomeModuleComfortInfo.proto index 894c1fa5..5a871fa8 100644 --- a/proto/HomeModuleComfortInfo.proto +++ b/proto/HomeModuleComfortInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message HomeModuleComfortInfo { - uint32 module_id = 1; - repeated uint32 world_scene_block_comfort_value_list = 2; - uint32 room_scene_comfort_value = 3; + uint32 module_id = 13; + uint32 room_scene_comfort_value = 9; + repeated uint32 world_scene_block_comfort_value_list = 3; } diff --git a/proto/HomeNpcData.proto b/proto/HomeNpcData.proto index 213f9055..d52309bb 100644 --- a/proto/HomeNpcData.proto +++ b/proto/HomeNpcData.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeNpcData { - uint32 avatar_id = 1; - Vector spawn_pos = 2; - Vector spawn_rot = 3; - uint32 costume_id = 4; + uint32 avatar_id = 14; + Vector spawn_pos = 15; + uint32 costume_id = 3; + Vector spawn_rot = 13; } diff --git a/proto/HomeSceneArrangementInfo.proto b/proto/HomeSceneArrangementInfo.proto index cb305070..8a5b11f2 100644 --- a/proto/HomeSceneArrangementInfo.proto +++ b/proto/HomeSceneArrangementInfo.proto @@ -1,22 +1,38 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeBlockArrangementInfo.proto"; import "HomeFurnitureData.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message HomeSceneArrangementInfo { - uint32 scene_id = 1; - repeated HomeBlockArrangementInfo block_arrangement_info_list = 2; - bool is_set_born_pos = 3; - Vector born_pos = 4; - Vector born_rot = 5; - repeated HomeFurnitureData door_list = 7; - repeated HomeFurnitureData stair_list = 8; - HomeFurnitureData main_house = 9; - uint32 comfort_value = 10; - Vector djinn_pos = 11; - uint32 tmp_version = 12; - uint32 CNLMNOEGKME = 13; + Vector born_rot = 4; + Vector born_pos = 1; + repeated HomeFurnitureData stair_list = 11; + repeated HomeFurnitureData door_list = 13; + bool is_set_born_pos = 10; + repeated HomeBlockArrangementInfo block_arrangement_info_list = 8; + uint32 scene_id = 2; + uint32 Unk2700_BJHAMKKECEI = 12; + Vector djinn_pos = 9; + HomeFurnitureData main_house = 14; + uint32 comfort_value = 7; + uint32 tmp_version = 5; } diff --git a/proto/HomeSceneInitFinishReq.proto b/proto/HomeSceneInitFinishReq.proto index 1cc367d6..9d06e9ed 100644 --- a/proto/HomeSceneInitFinishReq.proto +++ b/proto/HomeSceneInitFinishReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4552 +// CmdId: 4674 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/HomeSceneInitFinishRsp.proto b/proto/HomeSceneInitFinishRsp.proto index ffdbd0ad..506dcf81 100644 --- a/proto/HomeSceneInitFinishRsp.proto +++ b/proto/HomeSceneInitFinishRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4592 +// CmdId: 4505 // EnetChannelId: 0 // EnetIsReliable: true message HomeSceneInitFinishRsp { - int32 retcode = 7; + int32 retcode = 6; } diff --git a/proto/HomeSceneJumpReq.proto b/proto/HomeSceneJumpReq.proto index 6f3c8706..4b5a8a1c 100644 --- a/proto/HomeSceneJumpReq.proto +++ b/proto/HomeSceneJumpReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4659 +// CmdId: 4528 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message HomeSceneJumpReq { - bool is_enter_room_scene = 12; + bool is_enter_room_scene = 9; } diff --git a/proto/HomeSceneJumpRsp.proto b/proto/HomeSceneJumpRsp.proto index 7eb5f1da..d5ba610e 100644 --- a/proto/HomeSceneJumpRsp.proto +++ b/proto/HomeSceneJumpRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4570 +// CmdId: 4698 // EnetChannelId: 0 // EnetIsReliable: true message HomeSceneJumpRsp { - int32 retcode = 10; + int32 retcode = 11; bool is_enter_room_scene = 8; } diff --git a/proto/HomeUpdateArrangementInfoReq.proto b/proto/HomeUpdateArrangementInfoReq.proto index 0d462a0f..8e9dfe3a 100644 --- a/proto/HomeUpdateArrangementInfoReq.proto +++ b/proto/HomeUpdateArrangementInfoReq.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "HomeSceneArrangementInfo.proto"; -// CmdId: 4472 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4510 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message HomeUpdateArrangementInfoReq { - HomeSceneArrangementInfo scene_arrangement_info = 12; + HomeSceneArrangementInfo scene_arrangement_info = 6; } diff --git a/proto/HomeUpdateArrangementInfoRsp.proto b/proto/HomeUpdateArrangementInfoRsp.proto index 1e899785..62a1dce7 100644 --- a/proto/HomeUpdateArrangementInfoRsp.proto +++ b/proto/HomeUpdateArrangementInfoRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4822 +// CmdId: 4757 // EnetChannelId: 0 // EnetIsReliable: true message HomeUpdateArrangementInfoRsp { - int32 retcode = 1; + int32 retcode = 2; } diff --git a/proto/HostPlayerNotify.proto b/proto/HostPlayerNotify.proto index 55a93a36..7d7ae763 100644 --- a/proto/HostPlayerNotify.proto +++ b/proto/HostPlayerNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 341 +// CmdId: 312 // EnetChannelId: 0 // EnetIsReliable: true message HostPlayerNotify { + uint32 host_peer_id = 13; uint32 host_uid = 10; - uint32 host_peer_id = 7; } diff --git a/proto/InterOpType.proto b/proto/InterOpType.proto index 744334e1..1f74a7d9 100644 --- a/proto/InterOpType.proto +++ b/proto/InterOpType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/InteractType.proto b/proto/InteractType.proto index c99f1153..6b8dba69 100644 --- a/proto/InteractType.proto +++ b/proto/InteractType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -18,5 +34,5 @@ enum InteractType { INTERACT_TYPE_HOME_GATHER = 12; INTERACT_TYPE_ENV_ANIMAL = 13; INTERACT_TYPE_QUEST_GADGET = 14; - INTERACT_TYPE_LIEIKFDFMGF = 15; + INTERACT_TYPE_Unk2700_LIEIKFDFMGF = 15; } diff --git a/proto/InvestigationMonster.proto b/proto/InvestigationMonster.proto index 0fe89694..c631a531 100644 --- a/proto/InvestigationMonster.proto +++ b/proto/InvestigationMonster.proto @@ -1,31 +1,47 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; import "WeeklyBossResinDiscountInfo.proto"; -message InvestigationMonster { - enum LockState { - LOCK_NONE = 0; - LOCK_QUEST = 1; - } +option java_package = "emu.grasscutter.net.proto"; - uint32 id = 1; - uint32 city_id = 2; - uint32 level = 3; - bool is_alive = 4; - uint32 next_refresh_time = 5; - uint32 refresh_interval = 6; - Vector pos = 7; - LockState lock_state = 8; - uint32 max_boss_chest_num = 9; - uint32 boss_chest_num = 10; - uint32 resin = 11; - bool is_area_locked = 12; - uint32 next_boss_chest_refresh_time = 13; - WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 14; - uint32 scene_id = 15; - uint32 group_id = 16; - uint32 monster_id = 17; +message InvestigationMonster { + bool is_alive = 9; + uint32 refresh_interval = 3; + uint32 id = 13; + uint32 level = 5; + uint32 boss_chest_num = 1; + WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12; + uint32 monster_id = 301; + Vector pos = 14; + uint32 resin = 8; + uint32 max_boss_chest_num = 4; + uint32 next_refresh_time = 11; + uint32 group_id = 285; + uint32 scene_id = 10; + bool is_area_locked = 15; + LockState lock_state = 2; + uint32 next_boss_chest_refresh_time = 7; + uint32 city_id = 6; + + enum LockState { + LOCK_STATE_NONE = 0; + LOCK_STATE_QUEST = 1; + } } diff --git a/proto/Item.proto b/proto/Item.proto index d9c049fd..891fec41 100644 --- a/proto/Item.proto +++ b/proto/Item.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Equip.proto"; import "Furniture.proto"; import "Material.proto"; +option java_package = "emu.grasscutter.net.proto"; + message Item { uint32 item_id = 1; uint64 guid = 2; diff --git a/proto/ItemAddHintNotify.proto b/proto/ItemAddHintNotify.proto index f6a0ec53..9a408ce8 100644 --- a/proto/ItemAddHintNotify.proto +++ b/proto/ItemAddHintNotify.proto @@ -1,20 +1,36 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemHint.proto"; import "Vector.proto"; -// CmdId: 632 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 607 // EnetChannelId: 0 // EnetIsReliable: true message ItemAddHintNotify { + bool is_position_valid = 14; + uint32 quest_id = 3; + uint32 reason = 6; + bool is_general_reward_hiden = 15; repeated ItemHint item_list = 10; - Vector position = 12; - bool is_position_valid = 13; - uint32 reason = 5; - uint32 quest_id = 14; - bool is_transfered_from_avatar_card = 11; - repeated ItemHint overflow_transformed_item_list = 3; - bool is_general_reward_hiden = 7; + bool is_transfered_from_avatar_card = 12; + Vector position = 9; + repeated ItemHint overflow_transformed_item_list = 8; } diff --git a/proto/ItemGivingReq.proto b/proto/ItemGivingReq.proto index 08a82b34..9b8e0547 100644 --- a/proto/ItemGivingReq.proto +++ b/proto/ItemGivingReq.proto @@ -1,15 +1,37 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 178 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 140 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ItemGivingReq { - uint32 giving_id = 14; - repeated ItemParam item_param_list = 10; - map item_guid_count_map = 6; + map item_guid_count_map = 15; + uint32 giving_id = 13; + repeated ItemParam item_param_list = 4; + Unk2800_LENCDFJACFN Unk2800_PHNIJJMECGN = 2; + + enum Unk2800_LENCDFJACFN { + Unk2800_LENCDFJACFN_QUEST = 0; + Unk2800_LENCDFJACFN_Unk2800_HHHOPEHIPFG = 1; + } } diff --git a/proto/ItemGivingRsp.proto b/proto/ItemGivingRsp.proto index 91c49e6d..b6e7cf2c 100644 --- a/proto/ItemGivingRsp.proto +++ b/proto/ItemGivingRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 108 +// CmdId: 118 // EnetChannelId: 0 // EnetIsReliable: true message ItemGivingRsp { - int32 retcode = 13; - uint32 giving_id = 6; - uint32 LEMILHEIALJ = 12; + uint32 Unk2700_MHIPHDFEOON = 1; + uint32 giving_id = 13; + int32 retcode = 3; } diff --git a/proto/ItemHint.proto b/proto/ItemHint.proto index 8788b8d4..f4e7263e 100644 --- a/proto/ItemHint.proto +++ b/proto/ItemHint.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ItemHint { - uint32 item_id = 1; - uint32 count = 2; - bool is_new = 3; + uint32 item_id = 8; + bool is_new = 2; + uint32 count = 15; uint64 guid = 4; } diff --git a/proto/ItemParam.proto b/proto/ItemParam.proto index 4c3280a2..0e04d803 100644 --- a/proto/ItemParam.proto +++ b/proto/ItemParam.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/LifeStateChangeNotify.proto b/proto/LifeStateChangeNotify.proto index a95b4383..819c9a78 100644 --- a/proto/LifeStateChangeNotify.proto +++ b/proto/LifeStateChangeNotify.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerDieType.proto"; import "ServerBuff.proto"; -// CmdId: 1231 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1298 // EnetChannelId: 0 // EnetIsReliable: true message LifeStateChangeNotify { uint32 entity_id = 4; - uint32 life_state = 6; - uint32 source_entity_id = 5; - string attack_tag = 1; - PlayerDieType die_type = 13; - uint32 move_reliable_seq = 9; - repeated ServerBuff server_buff_list = 14; + repeated ServerBuff server_buff_list = 6; + string attack_tag = 7; + uint32 move_reliable_seq = 15; + PlayerDieType die_type = 14; + uint32 life_state = 5; + uint32 source_entity_id = 1; } diff --git a/proto/LunchBoxData.proto b/proto/LunchBoxData.proto index 3068abb3..3f4fa159 100644 --- a/proto/LunchBoxData.proto +++ b/proto/LunchBoxData.proto @@ -1,7 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message LunchBoxData { - map slot_material_map = 1; + map slot_material_map = 3; } diff --git a/proto/MPLevelEntityInfo.proto b/proto/MPLevelEntityInfo.proto index 25b79c6c..b69f80bd 100644 --- a/proto/MPLevelEntityInfo.proto +++ b/proto/MPLevelEntityInfo.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilitySyncStateInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MPLevelEntityInfo { - uint32 entity_id = 1; - uint32 authority_peer_id = 2; - AbilitySyncStateInfo ability_info = 3; + AbilitySyncStateInfo ability_info = 2; + uint32 entity_id = 11; + uint32 authority_peer_id = 3; } diff --git a/proto/MailChangeNotify.proto b/proto/MailChangeNotify.proto index f27221e2..d6ba0321 100644 --- a/proto/MailChangeNotify.proto +++ b/proto/MailChangeNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MailData.proto"; -// CmdId: 1431 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1498 // EnetChannelId: 0 // EnetIsReliable: true message MailChangeNotify { - repeated MailData mail_list = 3; - repeated uint32 del_mail_id_list = 7; + repeated MailData mail_list = 14; + repeated uint32 del_mail_id_list = 8; } diff --git a/proto/MailData.proto b/proto/MailData.proto index b6d43976..65da94fe 100644 --- a/proto/MailData.proto +++ b/proto/MailData.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - -import "CBJEDMGOBPL.proto"; import "MailItem.proto"; import "MailTextContent.proto"; +import "Unk2700_CBJEDMGOBPL.proto"; + +option java_package = "emu.grasscutter.net.proto"; message MailData { uint32 mail_id = 1; @@ -17,5 +33,5 @@ message MailData { bool is_attachment_got = 12; uint32 config_id = 13; repeated string argument_list = 14; - CBJEDMGOBPL BHCAHLJIKFF = 15; + Unk2700_CBJEDMGOBPL Unk2700_NDPPGJKJOMH = 15; } diff --git a/proto/MailItem.proto b/proto/MailItem.proto index 3cdcdfd0..32da6065 100644 --- a/proto/MailItem.proto +++ b/proto/MailItem.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EquipParam.proto"; import "MaterialDeleteInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MailItem { EquipParam equip_param = 1; MaterialDeleteInfo delete_info = 2; diff --git a/proto/MailTextContent.proto b/proto/MailTextContent.proto index cd26a735..a73907b6 100644 --- a/proto/MailTextContent.proto +++ b/proto/MailTextContent.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MapMarkFromType.proto b/proto/MapMarkFromType.proto index 16cd4e9d..cb42b0bb 100644 --- a/proto/MapMarkFromType.proto +++ b/proto/MapMarkFromType.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; enum MapMarkFromType { - MAP_MARK_FROM_TYPE_NOE = 0; + MAP_MARK_FROM_TYPE_NONE = 0; MAP_MARK_FROM_TYPE_MONSTER = 1; MAP_MARK_FROM_TYPE_QUEST = 2; } diff --git a/proto/MapMarkPoint.proto b/proto/MapMarkPoint.proto index 62b7098b..f9736926 100644 --- a/proto/MapMarkPoint.proto +++ b/proto/MapMarkPoint.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MapMarkFromType.proto"; import "MapMarkPointType.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MapMarkPoint { uint32 scene_id = 1; string name = 2; diff --git a/proto/MapMarkPointType.proto b/proto/MapMarkPointType.proto index bce93da1..eba4a4cd 100644 --- a/proto/MapMarkPointType.proto +++ b/proto/MapMarkPointType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MapMarkTipsInfo.proto b/proto/MapMarkTipsInfo.proto index cac63490..d923e223 100644 --- a/proto/MapMarkTipsInfo.proto +++ b/proto/MapMarkTipsInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "MapMarkTipsType.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MapMarkTipsInfo { MapMarkTipsType tips_type = 1; repeated uint32 point_id_list = 2; diff --git a/proto/MapMarkTipsType.proto b/proto/MapMarkTipsType.proto index 34459667..abd181cd 100644 --- a/proto/MapMarkTipsType.proto +++ b/proto/MapMarkTipsType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MarkEntityInMinMapNotify.proto b/proto/MarkEntityInMinMapNotify.proto index ef02c245..bd71fc36 100644 --- a/proto/MarkEntityInMinMapNotify.proto +++ b/proto/MarkEntityInMinMapNotify.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + // CmdId: 202 // EnetChannelId: 0 // EnetIsReliable: true message MarkEntityInMinMapNotify { - uint32 entity_id = 5; - Vector position = 13; - uint32 monster_id = 6; + Vector position = 4; + uint32 monster_id = 7; + uint32 entity_id = 14; } diff --git a/proto/MarkMapReq.proto b/proto/MarkMapReq.proto index 55acb13a..9f529fe2 100644 --- a/proto/MarkMapReq.proto +++ b/proto/MarkMapReq.proto @@ -1,17 +1,34 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "MapMarkPoint.proto"; +import "Operation.proto"; + option java_package = "emu.grasscutter.net.proto"; -import "MapMarkPoint.proto"; - -// CmdId: 3208 +// CmdId: 3466 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message MarkMapReq { - Operation op = 15; - MapMarkPoint old = 10; - MapMarkPoint mark = 4; + MapMarkPoint mark = 8; + MapMarkPoint old = 6; + Operation op = 9; enum Operation { OPERATION_ADD = 0; diff --git a/proto/MarkMapRsp.proto b/proto/MarkMapRsp.proto index 0f92c823..56e7e1ec 100644 --- a/proto/MarkMapRsp.proto +++ b/proto/MarkMapRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MapMarkPoint.proto"; -// CmdId: 3421 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3079 // EnetChannelId: 0 // EnetIsReliable: true message MarkMapRsp { + repeated MapMarkPoint mark_list = 8; int32 retcode = 11; - repeated MapMarkPoint mark_list = 7; } diff --git a/proto/MarkNewNotify.proto b/proto/MarkNewNotify.proto index 3104ff91..89fad728 100644 --- a/proto/MarkNewNotify.proto +++ b/proto/MarkNewNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1227 +// CmdId: 1275 // EnetChannelId: 0 // EnetIsReliable: true message MarkNewNotify { - uint32 mark_new_type = 10; - repeated uint32 id_list = 13; + repeated uint32 id_list = 7; + uint32 mark_new_type = 11; } diff --git a/proto/MassivePropParam.proto b/proto/MassivePropParam.proto index 97725bb2..a18f2cc2 100644 --- a/proto/MassivePropParam.proto +++ b/proto/MassivePropParam.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MassivePropSyncInfo.proto b/proto/MassivePropSyncInfo.proto index b197a120..9d4b0e87 100644 --- a/proto/MassivePropSyncInfo.proto +++ b/proto/MassivePropSyncInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "MassivePropParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MassivePropSyncInfo { int64 id = 1; repeated MassivePropParam prop_list = 2; diff --git a/proto/Material.proto b/proto/Material.proto index 2303cf67..5b72acf9 100644 --- a/proto/Material.proto +++ b/proto/Material.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "MaterialDeleteInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message Material { uint32 count = 1; MaterialDeleteInfo delete_info = 2; diff --git a/proto/MaterialDeleteInfo.proto b/proto/MaterialDeleteInfo.proto index e511c1db..780372eb 100644 --- a/proto/MaterialDeleteInfo.proto +++ b/proto/MaterialDeleteInfo.proto @@ -1,5 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "CountDownDelete.proto"; +import "DateTimeDelete.proto"; +import "DelayWeekCountDownDelete.proto"; + option java_package = "emu.grasscutter.net.proto"; message MaterialDeleteInfo { diff --git a/proto/MaterialInfo.proto b/proto/MaterialInfo.proto index ea8701dc..54f39f31 100644 --- a/proto/MaterialInfo.proto +++ b/proto/MaterialInfo.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message MaterialInfo { - uint64 guid = 1; - uint32 count = 2; + uint32 count = 11; + uint64 guid = 5; } diff --git a/proto/MathQuaternion.proto b/proto/MathQuaternion.proto index a3689667..03fede88 100644 --- a/proto/MathQuaternion.proto +++ b/proto/MathQuaternion.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/McoinExchangeHcoinReq.proto b/proto/McoinExchangeHcoinReq.proto index 4ce94ddf..19d19859 100644 --- a/proto/McoinExchangeHcoinReq.proto +++ b/proto/McoinExchangeHcoinReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 687 +// CmdId: 616 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message McoinExchangeHcoinReq { - uint32 mcoin_cost = 8; - uint32 hcoin = 12; + uint32 hcoin = 5; + uint32 mcoin_cost = 1; } diff --git a/proto/McoinExchangeHcoinRsp.proto b/proto/McoinExchangeHcoinRsp.proto index fe5e1bb1..948de172 100644 --- a/proto/McoinExchangeHcoinRsp.proto +++ b/proto/McoinExchangeHcoinRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 689 +// CmdId: 687 // EnetChannelId: 0 // EnetIsReliable: true message McoinExchangeHcoinRsp { - int32 retcode = 9; - uint32 mcoin_cost = 10; - uint32 hcoin = 15; + uint32 mcoin_cost = 8; + uint32 hcoin = 7; + int32 retcode = 4; } diff --git a/proto/ModifierAction.proto b/proto/ModifierAction.proto index a7a1c37a..13d14b18 100644 --- a/proto/ModifierAction.proto +++ b/proto/ModifierAction.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ModifierDurability.proto b/proto/ModifierDurability.proto index b6da88bf..70c8aa7d 100644 --- a/proto/ModifierDurability.proto +++ b/proto/ModifierDurability.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ModifierProperty.proto b/proto/ModifierProperty.proto index cc0aa742..16274dbd 100644 --- a/proto/ModifierProperty.proto +++ b/proto/ModifierProperty.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ModifierProperty { - AbilityString key = 1; - float value = 2; + AbilityString key = 15; + float value = 5; } diff --git a/proto/MonsterBornType.proto b/proto/MonsterBornType.proto index a79a9ba3..f713fa33 100644 --- a/proto/MonsterBornType.proto +++ b/proto/MonsterBornType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MonsterRoute.proto b/proto/MonsterRoute.proto index dfea9931..38ef928d 100644 --- a/proto/MonsterRoute.proto +++ b/proto/MonsterRoute.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "RoutePoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MonsterRoute { repeated RoutePoint route_points = 1; uint32 speed_level = 2; diff --git a/proto/MotionInfo.proto b/proto/MotionInfo.proto index 7680ea8a..b67f7abb 100644 --- a/proto/MotionInfo.proto +++ b/proto/MotionInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MotionState.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MotionInfo { Vector pos = 1; Vector rot = 2; diff --git a/proto/MotionState.proto b/proto/MotionState.proto index c5f1eba5..7c9f3e77 100644 --- a/proto/MotionState.proto +++ b/proto/MotionState.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -58,6 +74,6 @@ enum MotionState { MOTION_STATE_FLY_SLOW = 52; MOTION_STATE_FLY_FAST = 53; MOTION_STATE_NUM = 54; - MOTION_STATE_OOFNNHKLEFE = 55; - MOTION_STATE_KMIGLMEGNOK = 56; + MOTION_STATE_Unk2700_OOFNNHKLEFE = 55; + MOTION_STATE_Unk2700_KMIGLMEGNOK = 56; } diff --git a/proto/MovingPlatformType.proto b/proto/MovingPlatformType.proto index 1baaa02a..7df9231f 100644 --- a/proto/MovingPlatformType.proto +++ b/proto/MovingPlatformType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MpPlayRewardInfo.proto b/proto/MpPlayRewardInfo.proto index a34cec49..7f3f8710 100644 --- a/proto/MpPlayRewardInfo.proto +++ b/proto/MpPlayRewardInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MpSettingType.proto b/proto/MpSettingType.proto index 3766677b..15fc9ad5 100644 --- a/proto/MpSettingType.proto +++ b/proto/MpSettingType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/MusicBriefInfo.proto b/proto/MusicBriefInfo.proto index 160e361c..dc9e0feb 100644 --- a/proto/MusicBriefInfo.proto +++ b/proto/MusicBriefInfo.proto @@ -1,26 +1,42 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message MusicBriefInfo { - uint64 music_share_id = 1; - uint32 music_id = 2; - string author_nickname = 3; - uint32 music_note_count = 4; - uint32 max_score = 5; - uint32 score = 6; - uint32 create_time = 7; - uint32 share_time = 8; - uint32 position = 9; - bool settle = 10; - uint32 version = 11; - bool can_share = 12; - bool OAPKHNELBPH = 13; - bool NJHAMJMHPAA = 14; - uint64 ADIBIKKNPKK = 15; - uint32 unknown = 21; - repeated uint32 GIDFMAJFIFE = 22; - repeated uint32 OKBJPAKOLIH = 23; - uint32 FAOPBAMDFJB = 24; - uint32 FELMANEFAOE = 25; -} + uint64 music_share_id = 4; + uint32 music_id = 2; + string author_nickname = 10; + uint32 music_note_count = 7; + uint32 max_score = 14; + uint32 score = 6; + uint32 create_time = 3; + uint32 share_time = 13; + uint32 position = 12; + bool settle = 1; + uint32 version = 15; + bool can_share = 8; + bool Unk2700_DNLEGADDHKM = 11; + bool Unk2700_GBCGGDONMCD = 9; + uint64 Unk2700_JNENCBCGPGO = 5; + uint32 Unk2700_MKBNLEKMIMD = 1182; + repeated uint32 Unk2700_JAEONBMBFJJ = 982; + repeated uint32 Unk2700_GDCGOMNBMEO = 1002; + uint32 Unk2700_KAMOCHAKPGP = 576; + uint32 Unk2700_LPEKFJBNEJM = 1822; +} \ No newline at end of file diff --git a/proto/MusicGameActivityDetailInfo.proto b/proto/MusicGameActivityDetailInfo.proto index 1d38dd8e..eef4a613 100644 --- a/proto/MusicGameActivityDetailInfo.proto +++ b/proto/MusicGameActivityDetailInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MusicBriefInfo.proto"; import "MusicGameRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + message MusicGameActivityDetailInfo { - map music_game_record_map = 1; - repeated MusicBriefInfo person_custom_beatmap = 2; - repeated MusicBriefInfo others_custom_beatmap = 3; + repeated MusicBriefInfo others_custom_beatmap = 4; + repeated MusicBriefInfo person_custom_beatmap = 7; + map music_game_record_map = 8; } diff --git a/proto/MusicGameRecord.proto b/proto/MusicGameRecord.proto index 6eb29f29..7a865575 100644 --- a/proto/MusicGameRecord.proto +++ b/proto/MusicGameRecord.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message MusicGameRecord { - uint32 max_score = 1; - uint32 max_combo = 2; - bool is_unlock = 3; + bool is_unlock = 9; + uint32 max_score = 11; + uint32 max_combo = 6; } diff --git a/proto/MusicGameSettleReq.proto b/proto/MusicGameSettleReq.proto index 2cb18a08..001fce95 100644 --- a/proto/MusicGameSettleReq.proto +++ b/proto/MusicGameSettleReq.proto @@ -2,30 +2,29 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 8745 +// CmdId: 8892 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message MusicGameSettleReq { - uint32 music_basic_id = 14; - uint32 score = 2; - uint32 combo = 10; - uint32 correct_hit = 8; - uint64 music_share_id = 11; - // is_default_beatmap - bool KJNDJLBOJLM = 4; - uint32 FBELCAFFGIJ = 3; - uint32 OOFMAKIDFOL = 15; - // beatmap_difficulty_level - uint32 HJPDEIMECHB = 1; - repeated uint32 MNCMGANHCFI = 13; - uint32 max_combo = 9; - uint32 JJADNMELLAH = 1975; - // detail_score - repeated uint32 EIAGEEFABPO = 1171; - uint32 CPIFLFBHNJP = 1104; - bool success = 998; - uint32 GGHBOMGJGFP = 268; - bool PFHCIHKCJFJ = 238; - float speed = 887; -} + uint32 music_basic_id = 7; + uint32 score = 9; + uint32 combo = 1; + uint32 correct_hit = 14; + uint64 music_share_id = 6; + float speed = 409; + uint32 max_combo = 5; + bool success = 1285; + repeated uint32 Unk2700_GDPKOANEDEB = 384; + repeated uint32 Unk2700_NNHGOCJLKFH = 4; + bool PFHCIHKCJFJ = 422; + bool KJNDJLBOJLM = 3; + uint32 Unk2700_NMHGADLANMM = 795; + uint32 Unk2700_NCHHEJNFECG = 15; + uint32 Unk2700_MMHHGALFHGA = 13; + + uint32 Unk2700_FBLBGPHMLAL = 1058; + uint32 Unk2700_DIMBABOGNEM = 2; + uint32 Unk2700_IOMOHEKJJLJ = 1953; + +} \ No newline at end of file diff --git a/proto/MusicGameSettleRsp.proto b/proto/MusicGameSettleRsp.proto index 1e8b0dc6..a20c2177 100644 --- a/proto/MusicGameSettleRsp.proto +++ b/proto/MusicGameSettleRsp.proto @@ -2,13 +2,13 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 8288 +// CmdId: 8673 // EnetChannelId: 0 // EnetIsReliable: true message MusicGameSettleRsp { - int32 retcode = 7; - uint32 music_basic_id = 9; - bool is_unlock_next_level = 1; - bool is_new_record = 3; - uint64 music_share_id = 11; + int32 retcode = 11; + uint32 music_basic_id = 5; + bool is_unlock_next_level = 2; + bool is_new_record = 6; + uint64 music_share_id = 10; } diff --git a/proto/MusicGameStartReq.proto b/proto/MusicGameStartReq.proto index b0c940e9..c1ee0a3f 100644 --- a/proto/MusicGameStartReq.proto +++ b/proto/MusicGameStartReq.proto @@ -2,12 +2,12 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 8927 +// CmdId: 8406 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message MusicGameStartReq { - uint32 music_basic_id = 10; - uint64 music_share_id = 8; - bool KJNDJLBOJLM = 5; + uint32 music_basic_id = 2; + uint64 music_share_id = 3; + bool KJNDJLBOJLM = 11; } diff --git a/proto/MusicGameStartRsp.proto b/proto/MusicGameStartRsp.proto index 6660eeff..cc82fd53 100644 --- a/proto/MusicGameStartRsp.proto +++ b/proto/MusicGameStartRsp.proto @@ -2,11 +2,11 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 8101 +// CmdId: 8326 // EnetChannelId: 0 // EnetIsReliable: true message MusicGameStartRsp { - int32 retcode = 5; - uint32 music_basic_id = 14; - uint64 music_share_id = 12; + int32 retcode = 1; + uint32 music_basic_id = 4; + uint64 music_share_id = 15; } diff --git a/proto/NpcTalkReq.proto b/proto/NpcTalkReq.proto index 917db99c..31261732 100644 --- a/proto/NpcTalkReq.proto +++ b/proto/NpcTalkReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 509 +// CmdId: 572 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message NpcTalkReq { - uint32 npc_entity_id = 5; + uint32 entity_id = 8; + uint32 npc_entity_id = 9; uint32 talk_id = 7; - uint32 entity_id = 6; } diff --git a/proto/NpcTalkRsp.proto b/proto/NpcTalkRsp.proto index 745d5dcc..c10198c4 100644 --- a/proto/NpcTalkRsp.proto +++ b/proto/NpcTalkRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 531 +// CmdId: 598 // EnetChannelId: 0 // EnetIsReliable: true message NpcTalkRsp { - int32 retcode = 12; - uint32 npc_entity_id = 9; - uint32 cur_talk_id = 6; - uint32 entity_id = 7; + uint32 cur_talk_id = 9; + uint32 npc_entity_id = 6; + int32 retcode = 3; + uint32 entity_id = 13; } diff --git a/proto/OfferingInfo.proto b/proto/OfferingInfo.proto index 99e8ee69..e49c8c16 100644 --- a/proto/OfferingInfo.proto +++ b/proto/OfferingInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/OneofGatherPointDetectorData.proto b/proto/OneofGatherPointDetectorData.proto new file mode 100644 index 00000000..b34827df --- /dev/null +++ b/proto/OneofGatherPointDetectorData.proto @@ -0,0 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message OneofGatherPointDetectorData { + Vector hint_center_pos = 7; + uint32 hint_radius = 14; + uint32 material_id = 10; + uint32 config_id = 6; + uint32 group_id = 13; + bool is_all_collected = 4; + bool is_hint_valid = 15; +} diff --git a/proto/OneofGatherPointDetectorDataNotify.proto b/proto/OneofGatherPointDetectorDataNotify.proto new file mode 100644 index 00000000..21209db2 --- /dev/null +++ b/proto/OneofGatherPointDetectorDataNotify.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "OneofGatherPointDetectorData.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4297 +// EnetChannelId: 0 +// EnetIsReliable: true +message OneofGatherPointDetectorDataNotify { + repeated OneofGatherPointDetectorData oneof_gather_point_detector_data_list = 3; +} diff --git a/proto/OneoffGatherPointDetectorDataNotify.proto b/proto/OneoffGatherPointDetectorDataNotify.proto index ac8ba3df..c0d5c427 100644 --- a/proto/OneoffGatherPointDetectorDataNotify.proto +++ b/proto/OneoffGatherPointDetectorDataNotify.proto @@ -4,9 +4,14 @@ option java_package = "emu.grasscutter.net.proto"; import "OneoffGatherPointDetectorData.proto"; -// CmdId: 4262 -// EnetChannelId: 0 -// EnetIsReliable: true message OneoffGatherPointDetectorDataNotify { + enum CmdId { + option allow_alias = true; + NONE = 0; + ENET_CHANNEL_ID = 0; + ENET_IS_RELIABLE = 1; + CMD_ID = 4262; + } + repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 6; } diff --git a/proto/OnlinePlayerInfo.proto b/proto/OnlinePlayerInfo.proto index 8df80a82..a2642661 100644 --- a/proto/OnlinePlayerInfo.proto +++ b/proto/OnlinePlayerInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MpSettingType.proto"; import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + message OnlinePlayerInfo { uint32 uid = 1; string nickname = 2; diff --git a/proto/OpenStateChangeNotify.proto b/proto/OpenStateChangeNotify.proto new file mode 100644 index 00000000..814d3e70 --- /dev/null +++ b/proto/OpenStateChangeNotify.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 127 +// EnetChannelId: 0 +// EnetIsReliable: true +message OpenStateChangeNotify { + map open_state_map = 4; +} diff --git a/proto/OpenStateUpdateNotify.proto b/proto/OpenStateUpdateNotify.proto index b902aefe..69907951 100644 --- a/proto/OpenStateUpdateNotify.proto +++ b/proto/OpenStateUpdateNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 119 +// CmdId: 193 // EnetChannelId: 0 // EnetIsReliable: true message OpenStateUpdateNotify { - map open_state_map = 12; + map open_state_map = 6; } diff --git a/proto/PacketHead.proto b/proto/PacketHead.proto index bb63f4ae..01276b14 100644 --- a/proto/PacketHead.proto +++ b/proto/PacketHead.proto @@ -1,9 +1,40 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - message PacketHead { + uint32 packet_id = 1; + uint32 rpc_id = 2; uint32 client_sequence_id = 3; - uint64 timestamp = 6; + uint32 enet_channel_id = 4; + uint32 enet_is_reliable = 5; + uint64 sent_ms = 6; + uint32 user_id = 11; + uint32 user_ip = 12; + uint32 user_session_id = 13; + uint64 recv_time_ms = 21; + uint32 rpc_begin_time_ms = 22; + map ext_map = 23; + uint32 sender_app_id = 24; + uint32 source_service = 31; + uint32 target_service = 32; + map service_app_id_map = 33; + bool is_set_game_thread = 34; + uint32 game_thread_index = 35; } diff --git a/proto/ParamList.proto b/proto/ParamList.proto index d3f812a9..07f84e74 100644 --- a/proto/ParamList.proto +++ b/proto/ParamList.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ParentQuest.proto b/proto/ParentQuest.proto index e73e1f2f..0d8da34d 100644 --- a/proto/ParentQuest.proto +++ b/proto/ParentQuest.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChildQuest.proto"; import "ParentQuestRandomInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ParentQuest { - uint32 parent_quest_id = 1; - repeated ChildQuest child_quest_list = 2; - bool is_finished = 3; - bool is_random = 4; - ParentQuestRandomInfo random_info = 5; - repeated int32 quest_var = 6; - uint32 parent_quest_state = 7; - uint32 quest_var_seq = 8; - map time_var_map = 9; - uint64 GJJJKEIPAPC = 10; + ParentQuestRandomInfo random_info = 12; + uint32 quest_var_seq = 11; + repeated int32 quest_var = 14; + uint64 cutscene_encryption_key = 6; + bool is_random = 13; + uint32 parent_quest_id = 3; + bool is_finished = 7; + map time_var_map = 8; + uint32 parent_quest_state = 1; + repeated ChildQuest child_quest_list = 9; } diff --git a/proto/ParentQuestRandomInfo.proto b/proto/ParentQuestRandomInfo.proto index 61f04a74..699306f8 100644 --- a/proto/ParentQuestRandomInfo.proto +++ b/proto/ParentQuestRandomInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ParentQuestRandomInfo { - uint32 entrance_id = 1; - uint32 template_id = 2; - repeated uint32 factor_list = 3; + repeated uint32 factor_list = 1; + uint32 template_id = 8; + uint32 entrance_id = 2; } diff --git a/proto/PersonalLineAllDataRsp.proto b/proto/PersonalLineAllDataRsp.proto index eee4ad91..7b6bda32 100644 --- a/proto/PersonalLineAllDataRsp.proto +++ b/proto/PersonalLineAllDataRsp.proto @@ -4,14 +4,14 @@ option java_package = "emu.grasscutter.net.proto"; import "LockedPersonallineData.proto"; -// CmdId: 433 +// CmdId: 476 // EnetChannelId: 0 // EnetIsReliable: true message PersonalLineAllDataRsp { - int32 retcode = 1; - uint32 cur_finished_daily_task_count = 4; - uint32 legendary_key_count = 3; - repeated uint32 ongoing_personal_line_list = 13; - repeated uint32 can_be_unlocked_personal_line_list = 12; - repeated LockedPersonallineData locked_personal_line_list = 14; + int32 retcode = 15; + uint32 cur_finished_daily_task_count = 5; + uint32 legendary_key_count = 11; + repeated uint32 ongoing_personal_line_list = 8; + repeated uint32 can_be_unlocked_personal_line_list = 13; + repeated LockedPersonallineData locked_personal_line_list = 10; } diff --git a/proto/PersonalSceneJumpReq.proto b/proto/PersonalSceneJumpReq.proto index 808ccee4..bb961085 100644 --- a/proto/PersonalSceneJumpReq.proto +++ b/proto/PersonalSceneJumpReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 266 +// CmdId: 284 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PersonalSceneJumpReq { - uint32 point_id = 2; + uint32 point_id = 4; } diff --git a/proto/PersonalSceneJumpRsp.proto b/proto/PersonalSceneJumpRsp.proto index d1b47473..cfe2f6b3 100644 --- a/proto/PersonalSceneJumpRsp.proto +++ b/proto/PersonalSceneJumpRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 248 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 280 // EnetChannelId: 0 // EnetIsReliable: true message PersonalSceneJumpRsp { - int32 retcode = 15; - uint32 dest_scene_id = 2; - Vector dest_pos = 6; + uint32 dest_scene_id = 5; + int32 retcode = 8; + Vector dest_pos = 11; } diff --git a/proto/PingReq.proto b/proto/PingReq.proto index 78604854..e6784695 100644 --- a/proto/PingReq.proto +++ b/proto/PingReq.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 32 +// CmdId: 7 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PingReq { - uint32 seq = 2; - uint32 client_time = 14; - bytes sc_data = 11; - float ue_time = 15; - double total_tick_time = 12; + uint32 client_time = 12; + float ue_time = 14; + double total_tick_time = 6; + bytes sc_data = 10; + uint32 seq = 3; } diff --git a/proto/PingRsp.proto b/proto/PingRsp.proto index bd8cee3a..2c62260a 100644 --- a/proto/PingRsp.proto +++ b/proto/PingRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 17 +// CmdId: 21 // EnetChannelId: 0 // EnetIsReliable: true message PingRsp { - int32 retcode = 9; - uint32 seq = 4; - uint32 client_time = 8; + uint32 client_time = 15; + int32 retcode = 6; + uint32 seq = 13; } diff --git a/proto/PlatformInfo.proto b/proto/PlatformInfo.proto index 8c3046bd..a32e2e37 100644 --- a/proto/PlatformInfo.proto +++ b/proto/PlatformInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MathQuaternion.proto"; import "MovingPlatformType.proto"; import "Route.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PlatformInfo { uint32 route_id = 1; int32 start_index = 2; diff --git a/proto/PlatformType.proto b/proto/PlatformType.proto index 134bb680..1b42414f 100644 --- a/proto/PlatformType.proto +++ b/proto/PlatformType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -14,6 +30,8 @@ enum PlatformType { PLATFORM_TYPE_PS_5 = 8; PLATFORM_TYPE_CLOUD_WEB = 9; PLATFORM_TYPE_CLOUD_TV = 10; - PLATFORM_TYPE_IBBEKBJLMAJ = 11; - PLATFORM_TYPE_BCEICMDNIIG = 12; + PLATFORM_TYPE_Unk2700_IBBEKBJLMAJ = 11; + PLATFORM_TYPE_Unk2700_BCEICMDNIIG = 12; + PLATFORM_TYPE_Unk2800_EFNGHFNPMKM = 13; + PLATFORM_TYPE_Unk2800_FNFHGPABLFB = 14; } diff --git a/proto/PlayTeamEntityInfo.proto b/proto/PlayTeamEntityInfo.proto index 0e763660..d4d5b0d6 100644 --- a/proto/PlayTeamEntityInfo.proto +++ b/proto/PlayTeamEntityInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "AbilitySyncStateInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PlayTeamEntityInfo { uint32 entity_id = 1; uint32 player_uid = 2; diff --git a/proto/PlayerApplyEnterMpNotify.proto b/proto/PlayerApplyEnterMpNotify.proto index d38addc2..e900c076 100644 --- a/proto/PlayerApplyEnterMpNotify.proto +++ b/proto/PlayerApplyEnterMpNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "OnlinePlayerInfo.proto"; -// CmdId: 1818 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1826 // EnetChannelId: 0 // EnetIsReliable: true message PlayerApplyEnterMpNotify { - OnlinePlayerInfo src_player_info = 11; + uint32 src_thread_index = 5; uint32 src_app_id = 6; - uint32 src_thread_index = 13; + OnlinePlayerInfo src_player_info = 2; } diff --git a/proto/PlayerApplyEnterMpReq.proto b/proto/PlayerApplyEnterMpReq.proto index 7670dfef..7358cc5d 100644 --- a/proto/PlayerApplyEnterMpReq.proto +++ b/proto/PlayerApplyEnterMpReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1809 +// CmdId: 1818 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerApplyEnterMpReq { - uint32 target_uid = 3; + uint32 target_uid = 4; } diff --git a/proto/PlayerApplyEnterMpResultNotify.proto b/proto/PlayerApplyEnterMpResultNotify.proto index 2915ada8..e3f8ee57 100644 --- a/proto/PlayerApplyEnterMpResultNotify.proto +++ b/proto/PlayerApplyEnterMpResultNotify.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1804 +// CmdId: 1807 // EnetChannelId: 0 // EnetIsReliable: true message PlayerApplyEnterMpResultNotify { - uint32 target_uid = 7; - bool is_agreed = 4; - Reason reason = 14; - string target_nickname = 5; + bool is_agreed = 2; + string target_nickname = 12; + Reason reason = 13; + uint32 target_uid = 1; enum Reason { REASON_PLAYER_JUDGE = 0; diff --git a/proto/PlayerApplyEnterMpResultReq.proto b/proto/PlayerApplyEnterMpResultReq.proto index 9b9170bf..14192f41 100644 --- a/proto/PlayerApplyEnterMpResultReq.proto +++ b/proto/PlayerApplyEnterMpResultReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1828 +// CmdId: 1802 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerApplyEnterMpResultReq { - uint32 apply_uid = 15; - bool is_agreed = 9; + uint32 apply_uid = 2; + bool is_agreed = 12; } diff --git a/proto/PlayerApplyEnterMpResultRsp.proto b/proto/PlayerApplyEnterMpResultRsp.proto index e2361266..cdb36948 100644 --- a/proto/PlayerApplyEnterMpResultRsp.proto +++ b/proto/PlayerApplyEnterMpResultRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1803 +// CmdId: 1831 // EnetChannelId: 0 // EnetIsReliable: true message PlayerApplyEnterMpResultRsp { - int32 retcode = 6; - uint32 apply_uid = 4; - bool is_agreed = 12; - uint32 param = 9; + int32 retcode = 1; + bool is_agreed = 3; + uint32 apply_uid = 10; + uint32 param = 12; } diff --git a/proto/PlayerApplyEnterMpRsp.proto b/proto/PlayerApplyEnterMpRsp.proto index 93559b37..7d885f7c 100644 --- a/proto/PlayerApplyEnterMpRsp.proto +++ b/proto/PlayerApplyEnterMpRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1843 +// CmdId: 1825 // EnetChannelId: 0 // EnetIsReliable: true message PlayerApplyEnterMpRsp { int32 retcode = 5; - uint32 target_uid = 4; - uint32 param = 9; + uint32 target_uid = 3; + uint32 param = 4; } diff --git a/proto/PlayerChatNotify.proto b/proto/PlayerChatNotify.proto index 4ab075b4..83bd5f38 100644 --- a/proto/PlayerChatNotify.proto +++ b/proto/PlayerChatNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChatInfo.proto"; -// CmdId: 3295 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3010 // EnetChannelId: 0 // EnetIsReliable: true message PlayerChatNotify { - uint32 channel_id = 14; - ChatInfo chat_info = 12; + ChatInfo chat_info = 3; + uint32 channel_id = 6; } diff --git a/proto/PlayerChatReq.proto b/proto/PlayerChatReq.proto index 85585125..cc777d9a 100644 --- a/proto/PlayerChatReq.proto +++ b/proto/PlayerChatReq.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChatInfo.proto"; -// CmdId: 3378 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3185 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerChatReq { - uint32 channel_id = 9; - ChatInfo chat_info = 1; + uint32 channel_id = 13; + ChatInfo chat_info = 15; } diff --git a/proto/PlayerChatRsp.proto b/proto/PlayerChatRsp.proto index 2495c1d4..5a5a08ba 100644 --- a/proto/PlayerChatRsp.proto +++ b/proto/PlayerChatRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 3321 +// CmdId: 3228 // EnetChannelId: 0 // EnetIsReliable: true message PlayerChatRsp { - int32 retcode = 4; uint32 chat_forbidden_endtime = 15; + int32 retcode = 2; } diff --git a/proto/PlayerCookArgsReq.proto b/proto/PlayerCookArgsReq.proto index 5ba09fbd..4c6d8152 100644 --- a/proto/PlayerCookArgsReq.proto +++ b/proto/PlayerCookArgsReq.proto @@ -2,11 +2,11 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 104 +// CmdId: 166 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerCookArgsReq { - uint32 recipe_id = 3; - uint32 assist_avatar = 15; + uint32 recipe_id = 11; + uint32 assist_avatar = 10; } diff --git a/proto/PlayerCookArgsRsp.proto b/proto/PlayerCookArgsRsp.proto index 018ad59b..e801693b 100644 --- a/proto/PlayerCookArgsRsp.proto +++ b/proto/PlayerCookArgsRsp.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 105 +// CmdId: 168 // EnetChannelId: 0 // EnetIsReliable: true message PlayerCookArgsRsp { - int32 retcode = 1; - float qte_range_ratio = 15; + int32 retcode = 4; + float qte_range_ratio = 12; } diff --git a/proto/PlayerCookReq.proto b/proto/PlayerCookReq.proto index c5879a62..546b910c 100644 --- a/proto/PlayerCookReq.proto +++ b/proto/PlayerCookReq.proto @@ -2,13 +2,13 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 158 +// CmdId: 194 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerCookReq { - uint32 recipe_id = 6; - uint32 qte_quality = 2; - uint32 assist_avatar = 11; - uint32 cook_count = 7; + uint32 recipe_id = 8; + uint32 qte_quality = 12; + uint32 assist_avatar = 14; + uint32 cook_count = 1; } diff --git a/proto/PlayerCookRsp.proto b/proto/PlayerCookRsp.proto index c8389ffa..f6e14a05 100644 --- a/proto/PlayerCookRsp.proto +++ b/proto/PlayerCookRsp.proto @@ -5,14 +5,14 @@ option java_package = "emu.grasscutter.net.proto"; import "CookRecipeData.proto"; import "ItemParam.proto"; -// CmdId: 150 +// CmdId: 188 // EnetChannelId: 0 // EnetIsReliable: true message PlayerCookRsp { - int32 retcode = 9; - CookRecipeData recipe_data = 14; - repeated ItemParam item_list = 13; - uint32 qte_quality = 11; - uint32 cook_count = 15; - repeated ItemParam extral_item_list = 3; + int32 retcode = 3; + CookRecipeData recipe_data = 7; + repeated ItemParam item_list = 11; + uint32 qte_quality = 5; + uint32 cook_count = 12; + repeated ItemParam extral_item_list = 15; } diff --git a/proto/PlayerDataNotify.proto b/proto/PlayerDataNotify.proto index ddf86e63..59830ffd 100644 --- a/proto/PlayerDataNotify.proto +++ b/proto/PlayerDataNotify.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PropValue.proto"; -// CmdId: 135 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 190 // EnetChannelId: 0 // EnetIsReliable: true message PlayerDataNotify { - string nick_name = 15; - uint64 server_time = 2; - bool is_first_login_today = 11; - uint32 region_id = 9; - map prop_map = 8; + uint64 server_time = 7; + string nick_name = 8; + bool is_first_login_today = 12; + uint32 region_id = 6; + map prop_map = 15; } diff --git a/proto/PlayerDieType.proto b/proto/PlayerDieType.proto index 05bff89e..4d069563 100644 --- a/proto/PlayerDieType.proto +++ b/proto/PlayerDieType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/PlayerEnterDungeonReq.proto b/proto/PlayerEnterDungeonReq.proto index e18790d4..6cded90f 100644 --- a/proto/PlayerEnterDungeonReq.proto +++ b/proto/PlayerEnterDungeonReq.proto @@ -1,12 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "Unk2800_JKLFAJKDLDG.proto"; + option java_package = "emu.grasscutter.net.proto"; -// CmdId: 941 +// CmdId: 912 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerEnterDungeonReq { - uint32 point_id = 5; - uint32 dungeon_id = 12; + Unk2800_JKLFAJKDLDG Unk2800_ANJAHBGBIFD = 2; + uint32 point_id = 13; + uint32 dungeon_id = 7; } diff --git a/proto/PlayerEnterDungeonRsp.proto b/proto/PlayerEnterDungeonRsp.proto index ce73f6b5..91e39baa 100644 --- a/proto/PlayerEnterDungeonRsp.proto +++ b/proto/PlayerEnterDungeonRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 937 +// CmdId: 935 // EnetChannelId: 0 // EnetIsReliable: true message PlayerEnterDungeonRsp { - int32 retcode = 2; - uint32 point_id = 1; - uint32 dungeon_id = 13; + uint32 dungeon_id = 2; + uint32 point_id = 6; + int32 retcode = 5; } diff --git a/proto/PlayerEnterSceneInfoNotify.proto b/proto/PlayerEnterSceneInfoNotify.proto index 9f74e3eb..f32db5e1 100644 --- a/proto/PlayerEnterSceneInfoNotify.proto +++ b/proto/PlayerEnterSceneInfoNotify.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarEnterSceneInfo.proto"; import "MPLevelEntityInfo.proto"; import "TeamEnterSceneInfo.proto"; -// CmdId: 274 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 214 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerEnterSceneInfoNotify { - uint32 cur_avatar_entity_id = 8; - repeated AvatarEnterSceneInfo avatar_enter_info = 14; - TeamEnterSceneInfo team_enter_info = 9; + TeamEnterSceneInfo team_enter_info = 8; + uint32 enter_scene_token = 12; + repeated AvatarEnterSceneInfo avatar_enter_info = 7; + uint32 cur_avatar_entity_id = 6; MPLevelEntityInfo mp_level_entity_info = 5; - uint32 enter_scene_token = 7; } diff --git a/proto/PlayerEnterSceneNotify.proto b/proto/PlayerEnterSceneNotify.proto index 8c7d79c8..0edce9a4 100644 --- a/proto/PlayerEnterSceneNotify.proto +++ b/proto/PlayerEnterSceneNotify.proto @@ -1,28 +1,44 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EnterType.proto"; import "Vector.proto"; -// CmdId: 209 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 272 // EnetChannelId: 0 // EnetIsReliable: true message PlayerEnterSceneNotify { - uint32 scene_id = 14; - Vector pos = 15; - uint64 scene_begin_time = 12; - EnterType type = 2; + uint32 prev_scene_id = 6; + uint32 dungeon_id = 12; + bool is_skip_ui = 1732; + uint32 scene_id = 15; + EnterType type = 13; + uint64 scene_begin_time = 14; + uint32 world_level = 11; + uint32 world_type = 1490; uint32 target_uid = 4; - uint32 prev_scene_id = 7; - Vector prev_pos = 6; - uint32 dungeon_id = 13; - uint32 world_level = 3; - uint32 enter_scene_token = 9; - bool is_first_login_enter_scene = 11; - repeated uint32 scene_tag_id_list = 1; - bool is_skip_ui = 1430; - uint32 enter_reason = 1982; - uint32 world_type = 1067; - string scene_transaction = 1081; + bool is_first_login_enter_scene = 3; + repeated uint32 scene_tag_id_list = 5; + string scene_transaction = 1842; + Vector prev_pos = 8; + uint32 enter_reason = 1828; + Vector pos = 7; + uint32 enter_scene_token = 2; } diff --git a/proto/PlayerGameTimeNotify.proto b/proto/PlayerGameTimeNotify.proto index b9e526da..8a46d310 100644 --- a/proto/PlayerGameTimeNotify.proto +++ b/proto/PlayerGameTimeNotify.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 155 +// CmdId: 131 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerGameTimeNotify { - uint32 game_time = 7; - uint32 uid = 13; - bool is_home = 12; + uint32 uid = 7; + uint32 game_time = 3; + bool is_home = 13; } diff --git a/proto/PlayerGetForceQuitBanInfoRsp.proto b/proto/PlayerGetForceQuitBanInfoRsp.proto index ac27d5c8..35af0d25 100644 --- a/proto/PlayerGetForceQuitBanInfoRsp.proto +++ b/proto/PlayerGetForceQuitBanInfoRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4162 +// CmdId: 4197 // EnetChannelId: 0 // EnetIsReliable: true message PlayerGetForceQuitBanInfoRsp { - int32 retcode = 11; + int32 retcode = 4; uint32 match_id = 8; - uint32 expire_time = 5; + uint32 expire_time = 13; } diff --git a/proto/PlayerHomeCompInfo.proto b/proto/PlayerHomeCompInfo.proto index 1668d65a..db2f1364 100644 --- a/proto/PlayerHomeCompInfo.proto +++ b/proto/PlayerHomeCompInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FriendEnterHomeOption.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PlayerHomeCompInfo { - FriendEnterHomeOption friend_enter_home_option = 1; - repeated uint32 unlocked_module_id_list = 2; - repeated uint32 levelup_reward_got_level_list = 3; - repeated uint32 seen_module_id_list = 4; + repeated uint32 unlocked_module_id_list = 4; + repeated uint32 seen_module_id_list = 2; + repeated uint32 levelup_reward_got_level_list = 7; + FriendEnterHomeOption friend_enter_home_option = 8; } diff --git a/proto/PlayerHomeCompInfoNotify.proto b/proto/PlayerHomeCompInfoNotify.proto index b9021918..c7952e87 100644 --- a/proto/PlayerHomeCompInfoNotify.proto +++ b/proto/PlayerHomeCompInfoNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerHomeCompInfo.proto"; -// CmdId: 4563 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4880 // EnetChannelId: 0 // EnetIsReliable: true message PlayerHomeCompInfoNotify { - PlayerHomeCompInfo comp_info = 2; + PlayerHomeCompInfo comp_info = 4; } diff --git a/proto/PlayerLevelRewardUpdateNotify.proto b/proto/PlayerLevelRewardUpdateNotify.proto index 3266ee40..87d858d3 100644 --- a/proto/PlayerLevelRewardUpdateNotify.proto +++ b/proto/PlayerLevelRewardUpdateNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 143 +// CmdId: 200 // EnetChannelId: 0 // EnetIsReliable: true message PlayerLevelRewardUpdateNotify { - repeated uint32 level_list = 14; + repeated uint32 level_list = 9; } diff --git a/proto/PlayerLocationInfo.proto b/proto/PlayerLocationInfo.proto index 9816560e..fe80dfee 100644 --- a/proto/PlayerLocationInfo.proto +++ b/proto/PlayerLocationInfo.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PlayerLocationInfo { - uint32 uid = 1; - Vector pos = 2; - Vector rot = 3; + uint32 uid = 15; + Vector pos = 3; + Vector rot = 13; } diff --git a/proto/PlayerLoginReq.proto b/proto/PlayerLoginReq.proto index dd702cb4..81c777cb 100644 --- a/proto/PlayerLoginReq.proto +++ b/proto/PlayerLoginReq.proto @@ -1,55 +1,71 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AdjustTrackingInfo.proto"; import "TrackingIOInfo.proto"; -// CmdId: 141 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 112 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerLoginReq { - string token = 5; - string client_version = 7; - string system_version = 12; - string device_name = 3; - string device_uuid = 14; - uint32 target_uid = 15; - uint64 login_rand = 11; - bool is_editor = 2; - uint32 language_type = 13; - uint32 account_type = 1; - string account_uid = 8; - string platform = 6; - string device_info = 4; - uint32 platform_type = 10; - bool is_guest = 9; - uint32 cloud_client_ip = 233; - uint32 gm_uid = 1423; - string checksum = 485; - string online_id = 1974; - uint32 client_token = 133; - bytes security_cmd_reply = 96; - bytes extra_bin_data = 814; - string cps = 467; - uint32 channel_id = 2028; - uint32 sub_channel_id = 1571; - string checksum_client_version = 1844; - uint32 tag = 843; - TrackingIOInfo tracking_io_info = 1882; - string country_code = 1060; - uint32 client_data_version = 1570; - bytes environment_error_code = 1303; - uint32 target_home_owner_uid = 1054; - string psn_id = 921; - string client_verison_hash = 1972; - bool is_transfer = 1918; - uint32 reg_platform = 167; - uint32 target_home_param = 1129; - AdjustTrackingInfo adjust_tracking_info = 280; - string birthday = 174; - string MADLMMNJICA = 135; - string CCLJBEJHFOP = 745; - uint32 LKCFGDBHHIL = 1881; + uint32 language_type = 6; + uint32 reg_platform = 615; + TrackingIOInfo tracking_io_info = 1660; + uint32 account_type = 13; + string token = 15; + bytes extra_bin_data = 1458; + uint32 channel_id = 1314; + uint32 client_data_version = 688; + string account_uid = 2; + string client_version = 12; + string Unk2700_NGKCNPKKIKB = 772; + string country_code = 2000; + string psn_id = 1268; + uint32 Unk2700_GPPBEMDGEHH = 431; + string device_name = 9; + string cps = 1163; + uint64 login_rand = 3; + uint32 target_home_param = 984; + AdjustTrackingInfo adjust_tracking_info = 1816; + bool is_transfer = 908; + uint32 tag = 1787; + bool is_guest = 5; + bytes environment_error_code = 2026; + string online_id = 903; + bool is_editor = 8; + string checksum_client_version = 861; + bytes security_cmd_reply = 1995; + string Unk2700_JNDKPBBCACB = 1213; + string birthday = 1652; + string device_uuid = 4; + uint32 client_token = 1546; + uint32 sub_channel_id = 23; + uint32 target_uid = 11; + string device_info = 1; + string client_verison_hash = 1707; + string checksum = 1532; + uint32 platform_type = 14; + uint32 target_home_owner_uid = 1864; + uint32 cloud_client_ip = 1335; + uint32 gm_uid = 612; + string system_version = 10; + string platform = 7; } diff --git a/proto/PlayerLoginRsp.proto b/proto/PlayerLoginRsp.proto index 5591755b..9d3db516 100644 --- a/proto/PlayerLoginRsp.proto +++ b/proto/PlayerLoginRsp.proto @@ -1,48 +1,64 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "BlockInfo.proto"; import "FeatureBlockInfo.proto"; import "ResVersionConfig.proto"; import "ShortAbilityHashPair.proto"; -// CmdId: 137 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 135 // EnetChannelId: 0 // EnetIsReliable: true message PlayerLoginRsp { - int32 retcode = 1; - bytes player_data = 6; - bool is_new_player = 11; - uint32 target_uid = 15; - uint64 login_rand = 12; - bool is_use_ability_hash = 3; - int32 ability_hash_code = 7; - map ability_hash_map = 13; - uint32 client_data_version = 14; - bool is_relogin = 2; - uint32 client_silence_data_version = 10; - string game_biz = 9; - uint32 player_data_version = 8; - string client_md_5 = 1706; - string client_silence_md_5 = 271; - ResVersionConfig res_version_config = 933; - map block_info_map = 1156; - string client_version_suffix = 1984; - string client_silence_version_suffix = 49; - repeated ShortAbilityHashPair short_ability_hash_map = 364; - bytes sc_info = 2014; - bool is_audit = 1545; - bool is_sc_open = 1974; - string register_cps = 715; - repeated FeatureBlockInfo feature_block_info_list = 408; - bool is_data_need_relogin = 110; - string country_code = 1306; - ResVersionConfig next_res_version_config = 749; - string next_resource_url = 1744; - uint32 target_home_owner_uid = 945; - bool is_enable_client_hash_debug = 713; - bool is_transfer = 138; - double total_tick_time = 1923; - string birthday = 1977; + map ability_hash_map = 11; + bool is_audit = 1685; + bool is_new_player = 8; + ResVersionConfig res_version_config = 1969; + bool is_enable_client_hash_debug = 932; + string client_md_5 = 1830; + uint32 client_data_version = 1; + string country_code = 1900; + bool is_relogin = 10; + bytes player_data = 13; + string game_biz = 5; + map block_info_map = 571; + string register_cps = 2040; + ResVersionConfig next_res_version_config = 1573; + bool is_transfer = 2018; + uint32 target_home_owner_uid = 553; + repeated ShortAbilityHashPair short_ability_hash_map = 250; + int32 ability_hash_code = 12; + bool is_sc_open = 1429; + uint32 client_silence_data_version = 6; + string birthday = 624; + bool is_use_ability_hash = 2; + string client_silence_version_suffix = 1299; + uint32 player_data_version = 7; + bool is_data_need_relogin = 951; + repeated FeatureBlockInfo feature_block_info_list = 1352; + string client_silence_md_5 = 1746; + uint32 target_uid = 14; + double total_tick_time = 125; + uint64 login_rand = 4; + bytes sc_info = 2024; + string client_version_suffix = 1047; + string next_resource_url = 621; + int32 retcode = 15; } diff --git a/proto/PlayerLuaShellNotify.proto b/proto/PlayerLuaShellNotify.proto deleted file mode 100644 index 85fc1c5b..00000000 --- a/proto/PlayerLuaShellNotify.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; - -option java_package = "emu.grasscutter.net.proto"; - -import "JOEPIGNPDGH.proto"; - -// CmdId: 110 -// EnetChannelId: 0 -// EnetIsReliable: true -message PlayerLuaShellNotify { - uint32 id = 6; - bytes lua_shell = 12; - uint32 use_type = 10; - JOEPIGNPDGH HHKAMAJOOLD = 2; -} diff --git a/proto/PlayerPropChangeNotify.proto b/proto/PlayerPropChangeNotify.proto new file mode 100644 index 00000000..d1b46784 --- /dev/null +++ b/proto/PlayerPropChangeNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 139 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPropChangeNotify { + uint32 prop_delta = 13; + uint32 prop_type = 12; +} diff --git a/proto/PlayerPropChangeReasonNotify.proto b/proto/PlayerPropChangeReasonNotify.proto new file mode 100644 index 00000000..f4134ac0 --- /dev/null +++ b/proto/PlayerPropChangeReasonNotify.proto @@ -0,0 +1,31 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "PropChangeReason.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1299 +// EnetChannelId: 0 +// EnetIsReliable: true +message PlayerPropChangeReasonNotify { + uint32 prop_type = 6; + float old_value = 12; + PropChangeReason reason = 1; + float cur_value = 11; +} diff --git a/proto/PlayerPropNotify.proto b/proto/PlayerPropNotify.proto index 9223a569..73fba5af 100644 --- a/proto/PlayerPropNotify.proto +++ b/proto/PlayerPropNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PropValue.proto"; -// CmdId: 127 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 175 // EnetChannelId: 0 // EnetIsReliable: true message PlayerPropNotify { - map prop_map = 10; + map prop_map = 13; } diff --git a/proto/PlayerQuitDungeonReq.proto b/proto/PlayerQuitDungeonReq.proto index 2f8d5058..56c5e091 100644 --- a/proto/PlayerQuitDungeonReq.proto +++ b/proto/PlayerQuitDungeonReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 932 +// CmdId: 907 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerQuitDungeonReq { - uint32 point_id = 12; - bool is_quit_immediately = 4; + bool is_quit_immediately = 10; + uint32 point_id = 7; } diff --git a/proto/PlayerQuitDungeonRsp.proto b/proto/PlayerQuitDungeonRsp.proto index 78d2f5b4..53cdb0a9 100644 --- a/proto/PlayerQuitDungeonRsp.proto +++ b/proto/PlayerQuitDungeonRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 917 +// CmdId: 921 // EnetChannelId: 0 // EnetIsReliable: true message PlayerQuitDungeonRsp { - int32 retcode = 12; - uint32 point_id = 6; + uint32 point_id = 11; + int32 retcode = 7; } diff --git a/proto/PlayerRTTInfo.proto b/proto/PlayerRTTInfo.proto index 2ed54331..9a3df529 100644 --- a/proto/PlayerRTTInfo.proto +++ b/proto/PlayerRTTInfo.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message PlayerRTTInfo { - uint32 uid = 1; uint32 rtt = 2; + uint32 uid = 1; } diff --git a/proto/PlayerSetPauseReq.proto b/proto/PlayerSetPauseReq.proto index fbc0f768..c3de9934 100644 --- a/proto/PlayerSetPauseReq.proto +++ b/proto/PlayerSetPauseReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 159 +// CmdId: 124 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PlayerSetPauseReq { - bool is_paused = 7; + bool is_paused = 1; } diff --git a/proto/PlayerStoreNotify.proto b/proto/PlayerStoreNotify.proto index 8d3d17e6..288b80a3 100644 --- a/proto/PlayerStoreNotify.proto +++ b/proto/PlayerStoreNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Item.proto"; import "StoreType.proto"; -// CmdId: 609 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 672 // EnetChannelId: 0 // EnetIsReliable: true message PlayerStoreNotify { - StoreType store_type = 4; - repeated Item item_list = 3; - uint32 weight_limit = 15; + repeated Item item_list = 15; + uint32 weight_limit = 8; + StoreType store_type = 2; } diff --git a/proto/PlayerTimeNotify.proto b/proto/PlayerTimeNotify.proto index 4c6a0eed..bdf8135e 100644 --- a/proto/PlayerTimeNotify.proto +++ b/proto/PlayerTimeNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 172 +// CmdId: 191 // EnetChannelId: 0 // EnetIsReliable: true message PlayerTimeNotify { - bool is_paused = 8; - uint64 player_time = 4; - uint64 server_time = 14; + uint64 server_time = 5; + uint64 player_time = 11; + bool is_paused = 14; } diff --git a/proto/PlayerWorldLocationInfo.proto b/proto/PlayerWorldLocationInfo.proto index 282cbde0..78d5cbaa 100644 --- a/proto/PlayerWorldLocationInfo.proto +++ b/proto/PlayerWorldLocationInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerLocationInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PlayerWorldLocationInfo { uint32 scene_id = 1; - PlayerLocationInfo player_loc = 2; + PlayerLocationInfo player_loc = 12; } diff --git a/proto/PlayerWorldSceneInfo.proto b/proto/PlayerWorldSceneInfo.proto index 24f94034..bd734ed0 100644 --- a/proto/PlayerWorldSceneInfo.proto +++ b/proto/PlayerWorldSceneInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message PlayerWorldSceneInfo { - uint32 scene_id = 1; - bool is_locked = 2; - repeated uint32 scene_tag_id_list = 3; + uint32 scene_id = 11; + repeated uint32 scene_tag_id_list = 8; + bool is_locked = 12; } diff --git a/proto/PlayerWorldSceneInfoListNotify.proto b/proto/PlayerWorldSceneInfoListNotify.proto index c51e74c0..1ed04be3 100644 --- a/proto/PlayerWorldSceneInfoListNotify.proto +++ b/proto/PlayerWorldSceneInfoListNotify.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerWorldSceneInfo.proto"; -// CmdId: 3172 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3129 // EnetChannelId: 0 // EnetIsReliable: true message PlayerWorldSceneInfoListNotify { diff --git a/proto/PostEnterSceneRsp.proto b/proto/PostEnterSceneRsp.proto index 06496ffa..0396c33a 100644 --- a/proto/PostEnterSceneRsp.proto +++ b/proto/PostEnterSceneRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 3344 +// CmdId: 3184 // EnetChannelId: 0 // EnetIsReliable: true message PostEnterSceneRsp { - int32 retcode = 13; - uint32 enter_scene_token = 15; + int32 retcode = 4; + uint32 enter_scene_token = 12; } diff --git a/proto/PotionDungeonResultInfo.proto b/proto/PotionDungeonResultInfo.proto new file mode 100644 index 00000000..4244fec8 --- /dev/null +++ b/proto/PotionDungeonResultInfo.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message PotionDungeonResultInfo { + uint32 final_score = 8; + uint32 left_time = 9; + uint32 Unk2700_FHEHGDABALE = 14; + uint32 Unk2700_HKFEBBCMBHL = 11; + uint32 level_id = 4; + uint32 stage_id = 2; +} diff --git a/proto/PrivateChatNotify.proto b/proto/PrivateChatNotify.proto index 68d72055..0a09dda5 100644 --- a/proto/PrivateChatNotify.proto +++ b/proto/PrivateChatNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChatInfo.proto"; -// CmdId: 4991 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4962 // EnetChannelId: 0 // EnetIsReliable: true message PrivateChatNotify { - ChatInfo chat_info = 1; + ChatInfo chat_info = 7; } diff --git a/proto/PrivateChatReq.proto b/proto/PrivateChatReq.proto index f4650186..51296a03 100644 --- a/proto/PrivateChatReq.proto +++ b/proto/PrivateChatReq.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4959 +// CmdId: 5022 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PrivateChatReq { - uint32 target_uid = 2; + uint32 target_uid = 7; oneof content { - string text = 8; - uint32 icon = 6; + string text = 3; + uint32 icon = 4; } } diff --git a/proto/PrivateChatRsp.proto b/proto/PrivateChatRsp.proto index a831234b..0b6a63cd 100644 --- a/proto/PrivateChatRsp.proto +++ b/proto/PrivateChatRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4981 +// CmdId: 5048 // EnetChannelId: 0 // EnetIsReliable: true message PrivateChatRsp { - int32 retcode = 2; - uint32 chat_forbidden_endtime = 10; + uint32 chat_forbidden_endtime = 12; + int32 retcode = 14; } diff --git a/proto/ProfilePicture.proto b/proto/ProfilePicture.proto index 2b6af593..a808ecd4 100644 --- a/proto/ProfilePicture.proto +++ b/proto/ProfilePicture.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/PropChangeReason.proto b/proto/PropChangeReason.proto index 62ee20ad..8a3d8993 100644 --- a/proto/PropChangeReason.proto +++ b/proto/PropChangeReason.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/PropPair.proto b/proto/PropPair.proto index f294e03d..ee0c1ccd 100644 --- a/proto/PropPair.proto +++ b/proto/PropPair.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "PropValue.proto"; +option java_package = "emu.grasscutter.net.proto"; + message PropPair { uint32 type = 1; PropValue prop_value = 2; diff --git a/proto/PropValue.proto b/proto/PropValue.proto index 988205cb..46c6ca0c 100644 --- a/proto/PropValue.proto +++ b/proto/PropValue.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ProtEntityType.proto b/proto/ProtEntityType.proto index 17fcf4f7..f4b29bb5 100644 --- a/proto/ProtEntityType.proto +++ b/proto/ProtEntityType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ProudSkillChangeNotify.proto b/proto/ProudSkillChangeNotify.proto index f0bdc561..57f90ca1 100644 --- a/proto/ProudSkillChangeNotify.proto +++ b/proto/ProudSkillChangeNotify.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1055 +// CmdId: 1031 // EnetChannelId: 0 // EnetIsReliable: true message ProudSkillChangeNotify { - uint64 avatar_guid = 12; - uint32 entity_id = 11; - uint32 skill_depot_id = 7; - repeated uint32 proud_skill_list = 4; + uint64 avatar_guid = 11; + uint32 entity_id = 4; + uint32 skill_depot_id = 8; + repeated uint32 proud_skill_list = 12; } diff --git a/proto/ProudSkillExtraLevelNotify.proto b/proto/ProudSkillExtraLevelNotify.proto index 1c62e0e0..4e04a9ce 100644 --- a/proto/ProudSkillExtraLevelNotify.proto +++ b/proto/ProudSkillExtraLevelNotify.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1097 +// CmdId: 1081 // EnetChannelId: 0 // EnetIsReliable: true message ProudSkillExtraLevelNotify { - uint64 avatar_guid = 14; - uint32 talent_type = 10; - uint32 talent_index = 4; - uint32 extra_level = 5; + uint32 talent_type = 11; + uint32 talent_index = 8; + uint64 avatar_guid = 15; + uint32 extra_level = 3; } diff --git a/proto/PullPrivateChatReq.proto b/proto/PullPrivateChatReq.proto index a0cf0a64..a64d878c 100644 --- a/proto/PullPrivateChatReq.proto +++ b/proto/PullPrivateChatReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4967 +// CmdId: 4971 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message PullPrivateChatReq { - uint32 target_uid = 2; - uint32 from_sequence = 7; - uint32 pull_num = 5; + uint32 target_uid = 5; + uint32 pull_num = 7; + uint32 from_sequence = 12; } diff --git a/proto/PullPrivateChatRsp.proto b/proto/PullPrivateChatRsp.proto index 61e4ad60..bd1b646a 100644 --- a/proto/PullPrivateChatRsp.proto +++ b/proto/PullPrivateChatRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChatInfo.proto"; -// CmdId: 5035 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4953 // EnetChannelId: 0 // EnetIsReliable: true message PullPrivateChatRsp { - int32 retcode = 15; - repeated ChatInfo chat_info = 12; + repeated ChatInfo chat_info = 15; + int32 retcode = 11; } diff --git a/proto/PullRecentChatRsp.proto b/proto/PullRecentChatRsp.proto index 8049c9e8..d93fd570 100644 --- a/proto/PullRecentChatRsp.proto +++ b/proto/PullRecentChatRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ChatInfo.proto"; -// CmdId: 4999 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 5023 // EnetChannelId: 0 // EnetIsReliable: true message PullRecentChatRsp { - int32 retcode = 13; - repeated ChatInfo chat_info = 12; + repeated ChatInfo chat_info = 15; + int32 retcode = 3; } diff --git a/proto/QueryCodexMonsterBeKilledNumReq.proto b/proto/QueryCodexMonsterBeKilledNumReq.proto index 032fc036..d753f5ea 100644 --- a/proto/QueryCodexMonsterBeKilledNumReq.proto +++ b/proto/QueryCodexMonsterBeKilledNumReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4207 +// CmdId: 4203 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message QueryCodexMonsterBeKilledNumReq { - repeated uint32 codex_id_list = 11; + repeated uint32 codex_id_list = 14; } diff --git a/proto/QueryCodexMonsterBeKilledNumRsp.proto b/proto/QueryCodexMonsterBeKilledNumRsp.proto index f92211d3..7044edb0 100644 --- a/proto/QueryCodexMonsterBeKilledNumRsp.proto +++ b/proto/QueryCodexMonsterBeKilledNumRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4205 +// CmdId: 4209 // EnetChannelId: 0 // EnetIsReliable: true message QueryCodexMonsterBeKilledNumRsp { - int32 retcode = 1; repeated uint32 codex_id_list = 4; - repeated uint32 be_killed_num_list = 11; - repeated uint32 CHPBKCLKPCJ = 2; + repeated uint32 Unk2700_MKOBMGGPNMI = 6; + repeated uint32 be_killed_num_list = 12; + int32 retcode = 5; } diff --git a/proto/QueryCurrRegionHttpRsp.proto b/proto/QueryCurrRegionHttpRsp.proto index cd8cb029..6beb6a69 100644 --- a/proto/QueryCurrRegionHttpRsp.proto +++ b/proto/QueryCurrRegionHttpRsp.proto @@ -1,20 +1,36 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "ForceUpdateInfo.proto"; +import "RegionInfo.proto"; +import "StopServerInfo.proto"; + option java_package = "emu.grasscutter.net.proto"; -import "ForceUpdateInfo.proto"; -import "StopServerInfo.proto"; -import "RegionInfo.proto"; - message QueryCurrRegionHttpRsp { - oneof Detail { - ForceUpdateInfo force_udpate = 4; - StopServerInfo stop_server = 5; - } int32 retcode = 1; string msg = 2; RegionInfo region_info = 3; bytes client_secret_key = 11; bytes region_custom_config_encrypted = 12; bytes client_region_custom_config_encrypted = 13; + oneof detail { + ForceUpdateInfo force_udpate = 4; + StopServerInfo stop_server = 5; + } } diff --git a/proto/QueryFilter.proto b/proto/QueryFilter.proto index 76a6c14f..02722f8b 100644 --- a/proto/QueryFilter.proto +++ b/proto/QueryFilter.proto @@ -3,6 +3,6 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message QueryFilter { - int32 type_id = 1; - int32 area_mask = 2; + int32 type_id = 9; + int32 area_mask = 13; } diff --git a/proto/QueryPathReq.proto b/proto/QueryPathReq.proto index e7c96c95..bdb72596 100644 --- a/proto/QueryPathReq.proto +++ b/proto/QueryPathReq.proto @@ -11,18 +11,18 @@ import "Vector3Int.proto"; // EnetIsReliable: true // IsAllowClient: true message QueryPathReq { - OptionType query_type = 9; - int32 query_id = 4; - uint32 scene_id = 8; - Vector source_pos = 14; - repeated Vector destination_pos = 11; - QueryFilter filter = 5; - Vector3Int destination_extend = 7; - Vector3Int source_extend = 15; + OptionType query_type = 13; + int32 query_id = 15; + uint32 scene_id = 11; + Vector source_pos = 2; + repeated Vector destination_pos = 10; + QueryFilter filter = 12; + Vector3Int destination_extend = 4; + Vector3Int source_extend = 6; - enum OptionType { - OPTION_TYPE_NONE = 0; - OPTION_TYPE_NORMAL = 1; - OPTION_TYPE_FIRST_CAN_GO = 2; - } -} + enum OptionType { + OPTION_TYPE_NONE = 0; + OPTION_TYPE_NORMAL = 1; + OPTION_TYPE_FIRST_CAN_GO = 2; + } +} \ No newline at end of file diff --git a/proto/QueryPathRsp.proto b/proto/QueryPathRsp.proto index aba4e932..84bb52bb 100644 --- a/proto/QueryPathRsp.proto +++ b/proto/QueryPathRsp.proto @@ -4,14 +4,14 @@ option java_package = "emu.grasscutter.net.proto"; import "Vector.proto"; -// CmdId: 2331 +// CmdId: 2398 // EnetChannelId: 0 // EnetIsReliable: true message QueryPathRsp { - int32 retcode = 14; - int32 query_id = 2; - PathStatusType query_status = 5; - repeated Vector corners = 12; + int32 retcode = 1; + int32 query_id = 12; + PathStatusType query_status = 8; + repeated Vector corners = 6; enum PathStatusType { PATH_STATUS_TYPE_FAIL = 0; diff --git a/proto/QueryRegionListHttpRsp.proto b/proto/QueryRegionListHttpRsp.proto index d3ab0224..7b1f8c8b 100644 --- a/proto/QueryRegionListHttpRsp.proto +++ b/proto/QueryRegionListHttpRsp.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "RegionSimpleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message QueryRegionListHttpRsp { int32 retcode = 1; repeated RegionSimpleInfo region_list = 2; diff --git a/proto/Quest.proto b/proto/Quest.proto index a8b8e9ad..0f28be50 100644 --- a/proto/Quest.proto +++ b/proto/Quest.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/QuestDelNotify.proto b/proto/QuestDelNotify.proto index 6828e522..a536e2ee 100644 --- a/proto/QuestDelNotify.proto +++ b/proto/QuestDelNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 441 +// CmdId: 412 // EnetChannelId: 0 // EnetIsReliable: true message QuestDelNotify { - uint32 quest_id = 12; + uint32 quest_id = 1; } diff --git a/proto/QuestGlobalVar.proto b/proto/QuestGlobalVar.proto index c5df4ac9..434ca661 100644 --- a/proto/QuestGlobalVar.proto +++ b/proto/QuestGlobalVar.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message QuestGlobalVar { - uint32 key = 1; - int32 value = 2; + int32 value = 8; + uint32 key = 4; } diff --git a/proto/QuestGlobalVarNotify.proto b/proto/QuestGlobalVarNotify.proto index 7308f736..2371561f 100644 --- a/proto/QuestGlobalVarNotify.proto +++ b/proto/QuestGlobalVarNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "QuestGlobalVar.proto"; -// CmdId: 411 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 434 // EnetChannelId: 0 // EnetIsReliable: true message QuestGlobalVarNotify { - repeated QuestGlobalVar var_list = 9; + repeated QuestGlobalVar var_list = 1; } diff --git a/proto/QuestListNotify.proto b/proto/QuestListNotify.proto index 1a57d6dc..bdbbd9c0 100644 --- a/proto/QuestListNotify.proto +++ b/proto/QuestListNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Quest.proto"; -// CmdId: 409 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 472 // EnetChannelId: 0 // EnetIsReliable: true message QuestListNotify { - repeated Quest quest_list = 12; + repeated Quest quest_list = 1; } diff --git a/proto/QuestListUpdateNotify.proto b/proto/QuestListUpdateNotify.proto index af895405..29030e1e 100644 --- a/proto/QuestListUpdateNotify.proto +++ b/proto/QuestListUpdateNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Quest.proto"; -// CmdId: 431 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 498 // EnetChannelId: 0 // EnetIsReliable: true message QuestListUpdateNotify { - repeated Quest quest_list = 13; + repeated Quest quest_list = 6; } diff --git a/proto/QuestProgressUpdateNotify.proto b/proto/QuestProgressUpdateNotify.proto index 94827174..65ab43d5 100644 --- a/proto/QuestProgressUpdateNotify.proto +++ b/proto/QuestProgressUpdateNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 445 +// CmdId: 482 // EnetChannelId: 0 // EnetIsReliable: true message QuestProgressUpdateNotify { - uint32 quest_id = 14; - repeated uint32 finish_progress_list = 7; - repeated uint32 fail_progress_list = 12; + uint32 quest_id = 12; + repeated uint32 fail_progress_list = 6; + repeated uint32 finish_progress_list = 13; } diff --git a/proto/QuestUpdateQuestVarNotify.proto b/proto/QuestUpdateQuestVarNotify.proto index 709aaa99..0788541d 100644 --- a/proto/QuestUpdateQuestVarNotify.proto +++ b/proto/QuestUpdateQuestVarNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 463 +// CmdId: 453 // EnetChannelId: 0 // EnetIsReliable: true message QuestUpdateQuestVarNotify { - uint32 parent_quest_id = 3; - repeated int32 quest_var = 6; - uint32 parent_quest_var_seq = 15; + repeated int32 quest_var = 1; + uint32 parent_quest_id = 12; + uint32 parent_quest_var_seq = 8; } diff --git a/proto/QuestUpdateQuestVarReq.proto b/proto/QuestUpdateQuestVarReq.proto index 84394870..8f2e1713 100644 --- a/proto/QuestUpdateQuestVarReq.proto +++ b/proto/QuestUpdateQuestVarReq.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "QuestVarOp.proto"; -// CmdId: 490 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 447 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message QuestUpdateQuestVarReq { - uint32 quest_id = 15; - repeated QuestVarOp quest_var_op_list = 11; - uint32 parent_quest_id = 3; - uint32 parent_quest_var_seq = 8; + uint32 parent_quest_id = 9; + repeated QuestVarOp quest_var_op_list = 4; + uint32 quest_id = 11; + uint32 parent_quest_var_seq = 1; } diff --git a/proto/QuestUpdateQuestVarRsp.proto b/proto/QuestUpdateQuestVarRsp.proto index 49735c37..12cb4589 100644 --- a/proto/QuestUpdateQuestVarRsp.proto +++ b/proto/QuestUpdateQuestVarRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 486 +// CmdId: 439 // EnetChannelId: 0 // EnetIsReliable: true message QuestUpdateQuestVarRsp { - int32 retcode = 8; - uint32 quest_id = 7; - uint32 parent_quest_id = 12; - uint32 parent_quest_var_seq = 3; + int32 retcode = 10; + uint32 parent_quest_var_seq = 2; + uint32 parent_quest_id = 8; + uint32 quest_id = 15; } diff --git a/proto/QuestVarOp.proto b/proto/QuestVarOp.proto index 51d4411b..3b6a03e3 100644 --- a/proto/QuestVarOp.proto +++ b/proto/QuestVarOp.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message QuestVarOp { - uint32 index = 1; - int32 value = 2; - bool is_add = 3; + uint32 index = 9; + int32 value = 5; + bool is_add = 6; } diff --git a/proto/QuickUseWidgetReq.proto b/proto/QuickUseWidgetReq.proto index 34e778f7..e3eb78ea 100644 --- a/proto/QuickUseWidgetReq.proto +++ b/proto/QuickUseWidgetReq.proto @@ -1,21 +1,37 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetCameraInfo.proto"; import "WidgetCreateLocationInfo.proto"; import "WidgetCreatorInfo.proto"; import "WidgetThunderBirdFeatherInfo.proto"; -// CmdId: 4251 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4299 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message QuickUseWidgetReq { oneof param { - WidgetCreateLocationInfo location_info = 1800; - WidgetCameraInfo camera_info = 479; - WidgetCreatorInfo creator_info = 1204; - WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1198; + WidgetCreateLocationInfo location_info = 676; + WidgetCameraInfo camera_info = 478; + WidgetCreatorInfo creator_info = 812; + WidgetThunderBirdFeatherInfo thunder_bird_feather_info = 1859; } } diff --git a/proto/QuickUseWidgetRsp.proto b/proto/QuickUseWidgetRsp.proto index 568e601e..4ee2dab2 100644 --- a/proto/QuickUseWidgetRsp.proto +++ b/proto/QuickUseWidgetRsp.proto @@ -1,20 +1,36 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; +import "ClientCollectorData.proto"; +import "OneofGatherPointDetectorData.proto"; +import "SkyCrystalDetectorQuickUseResult.proto"; + option java_package = "emu.grasscutter.net.proto"; -//import "AHCELAJGOLN.proto"; -import "ClientCollectorData.proto"; -import "OneoffGatherPointDetectorData.proto"; - -// CmdId: 4252 +// CmdId: 4270 // EnetChannelId: 0 // EnetIsReliable: true message QuickUseWidgetRsp { - int32 retcode = 9; - uint32 material_id = 1; - oneof ELHGGAPPEBG { - OneoffGatherPointDetectorData detector_data = 11; - ClientCollectorData client_collector_data = 3; - //AHCELAJGOLN sky_crystal_detector_quick_use_result = 32767; + uint32 material_id = 6; + int32 retcode = 5; + oneof param { + OneofGatherPointDetectorData detector_data = 3; + ClientCollectorData client_collector_data = 15; + SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 168922; } } diff --git a/proto/ReadMailNotify.proto b/proto/ReadMailNotify.proto index 796a57cf..d1542f93 100644 --- a/proto/ReadMailNotify.proto +++ b/proto/ReadMailNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1441 +// CmdId: 1412 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ReadMailNotify { - repeated uint32 mail_id_list = 9; + repeated uint32 mail_id_list = 2; } diff --git a/proto/RegionInfo.proto b/proto/RegionInfo.proto index 87e14d58..f0f51cef 100644 --- a/proto/RegionInfo.proto +++ b/proto/RegionInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "ResVersionConfig.proto"; +option java_package = "emu.grasscutter.net.proto"; + message RegionInfo { string gateserver_ip = 1; uint32 gateserver_port = 2; @@ -18,8 +34,8 @@ message RegionInfo { uint32 client_data_version = 14; string handbook_url = 16; uint32 client_silence_data_version = 18; - string client_data_md5 = 19; - string client_silence_data_md5 = 20; + string client_data_md_5 = 19; + string client_silence_data_md_5 = 20; ResVersionConfig res_version_config = 22; bytes secret_key = 23; string official_community_url = 24; diff --git a/proto/RegionSimpleInfo.proto b/proto/RegionSimpleInfo.proto index e70ade47..7727406d 100644 --- a/proto/RegionSimpleInfo.proto +++ b/proto/RegionSimpleInfo.proto @@ -1,8 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; - message RegionSimpleInfo { string name = 1; string title = 2; diff --git a/proto/Reliquary.proto b/proto/Reliquary.proto index 73743905..d6484005 100644 --- a/proto/Reliquary.proto +++ b/proto/Reliquary.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ReliquaryDecomposeReq.proto b/proto/ReliquaryDecomposeReq.proto index e0637a5d..5fc0803a 100644 --- a/proto/ReliquaryDecomposeReq.proto +++ b/proto/ReliquaryDecomposeReq.proto @@ -2,12 +2,12 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 615 +// CmdId: 638 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ReliquaryDecomposeReq { - uint32 config_id = 1; - uint32 target_count = 4; - repeated uint64 guid_list = 15; + uint32 config_id = 13; + uint32 target_count = 9; + repeated uint64 guid_list = 8; } diff --git a/proto/ReliquaryDecomposeRsp.proto b/proto/ReliquaryDecomposeRsp.proto index a4b1ea8e..028b5053 100644 --- a/proto/ReliquaryDecomposeRsp.proto +++ b/proto/ReliquaryDecomposeRsp.proto @@ -2,11 +2,11 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 692 +// CmdId: 611 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ReliquaryDecomposeRsp { - int32 retcode = 9; + int32 retcode = 3; repeated uint64 guid_list = 14; } diff --git a/proto/ReliquaryPromoteReq.proto b/proto/ReliquaryPromoteReq.proto index 75c120b3..2944febe 100644 --- a/proto/ReliquaryPromoteReq.proto +++ b/proto/ReliquaryPromoteReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 612 +// CmdId: 627 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ReliquaryPromoteReq { - uint64 target_guid = 4; - uint64 item_guid = 14; + uint64 item_guid = 10; + uint64 target_guid = 13; } diff --git a/proto/ReliquaryPromoteRsp.proto b/proto/ReliquaryPromoteRsp.proto index d6a2180c..33ae7c02 100644 --- a/proto/ReliquaryPromoteRsp.proto +++ b/proto/ReliquaryPromoteRsp.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 658 +// CmdId: 694 // EnetChannelId: 0 // EnetIsReliable: true message ReliquaryPromoteRsp { - int32 retcode = 2; - uint64 target_reliquary_guid = 4; - uint32 old_promote_level = 11; - uint32 cur_promote_level = 14; - repeated uint32 old_append_prop_list = 3; - repeated uint32 cur_append_prop_list = 13; + uint32 old_promote_level = 10; + uint64 target_reliquary_guid = 6; + repeated uint32 cur_append_prop_list = 9; + int32 retcode = 12; + uint32 cur_promote_level = 2; + repeated uint32 old_append_prop_list = 8; } diff --git a/proto/ReliquaryUpgradeReq.proto b/proto/ReliquaryUpgradeReq.proto index 6649b6de..d24259c3 100644 --- a/proto/ReliquaryUpgradeReq.proto +++ b/proto/ReliquaryUpgradeReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 606 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 604 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message ReliquaryUpgradeReq { - uint64 target_reliquary_guid = 5; - repeated uint64 food_reliquary_guid_list = 15; - repeated ItemParam item_param_list = 13; + repeated ItemParam item_param_list = 11; + uint64 target_reliquary_guid = 6; + repeated uint64 food_reliquary_guid_list = 12; } diff --git a/proto/ReliquaryUpgradeRsp.proto b/proto/ReliquaryUpgradeRsp.proto index 9f770838..22641295 100644 --- a/proto/ReliquaryUpgradeRsp.proto +++ b/proto/ReliquaryUpgradeRsp.proto @@ -1,16 +1,32 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 619 +// CmdId: 693 // EnetChannelId: 0 // EnetIsReliable: true message ReliquaryUpgradeRsp { - int32 retcode = 1; - uint64 target_reliquary_guid = 10; - uint32 old_level = 5; - uint32 cur_level = 6; - uint32 power_up_rate = 2; - repeated uint32 old_append_prop_list = 7; - repeated uint32 cur_append_prop_list = 14; + uint32 old_level = 4; + uint32 cur_level = 13; + uint64 target_reliquary_guid = 9; + repeated uint32 cur_append_prop_list = 2; + uint32 power_up_rate = 6; + repeated uint32 old_append_prop_list = 15; + int32 retcode = 5; } diff --git a/proto/ResVersionConfig.proto b/proto/ResVersionConfig.proto index d22a8ef5..9518a71a 100644 --- a/proto/ResVersionConfig.proto +++ b/proto/ResVersionConfig.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ResinChangeNotify.proto b/proto/ResinChangeNotify.proto index 5041f4a6..743aa648 100644 --- a/proto/ResinChangeNotify.proto +++ b/proto/ResinChangeNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 670 +// CmdId: 642 // EnetChannelId: 0 // EnetIsReliable: true message ResinChangeNotify { - uint32 cur_value = 4; - uint32 next_add_timestamp = 2; - uint32 cur_buy_count = 3; + uint32 next_add_timestamp = 6; + uint32 cur_buy_count = 4; + uint32 cur_value = 12; } diff --git a/proto/ResinCostType.proto b/proto/ResinCostType.proto index c22cfa79..fd724c5f 100644 --- a/proto/ResinCostType.proto +++ b/proto/ResinCostType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/Retcode.proto b/proto/Retcode.proto index 7464e8ea..f3e06ceb 100644 --- a/proto/Retcode.proto +++ b/proto/Retcode.proto @@ -1,9 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; enum Retcode { RET_SUCC = 0; + RET_FAIL = -1; RET_SVR_ERROR = 1; RET_UNKNOWN_ERROR = 2; RET_FREQUENT = 3; @@ -11,6 +28,7 @@ enum Retcode { RET_NOT_FOUND_CONFIG = 5; RET_SYSTEM_BUSY = 6; RET_GM_UID_BIND = 7; + RET_FORBIDDEN = 8; RET_STOP_REGISTER = 10; RET_STOP_SERVER = 11; RET_ACCOUNT_VEIRFY_ERROR = 12; @@ -42,6 +60,8 @@ enum Retcode { RET_GET_TOKEN_SESSION_HAS_UID = 38; RET_ENVIRONMENT_ERROR = 39; RET_CHECK_CLIENT_VERSION_HASH_FAIL = 40; + RET_MINOR_REGISTER_FOBIDDEN = 41; + RET_SECURITY_LIBRARY_ERROR = 42; RET_AVATAR_IN_CD = 101; RET_AVATAR_NOT_ALIVE = 102; RET_AVATAR_NOT_ON_SCENE = 103; @@ -70,11 +90,13 @@ enum Retcode { RET_TEAM_AVATAR_IN_EXPEDITION = 126; RET_TEAM_CAN_NOT_CHOSE_REPLACE_USE = 127; RET_AVATAR_IN_COMBAT = 128; - RET_NICKNAME_UTF8_ERROR = 130; + RET_NICKNAME_UTF_8_ERROR = 130; RET_NICKNAME_TOO_LONG = 131; RET_NICKNAME_WORD_ILLEGAL = 132; RET_NICKNAME_TOO_MANY_DIGITS = 133; RET_NICKNAME_IS_EMPTY = 134; + RET_NICKNAME_MONTHLY_LIMIT = 135; + RET_NICKNAME_NOT_CHANGED = 136; RET_PLAYER_NOT_ONLINE = 140; RET_OPEN_STATE_NOT_OPEN = 141; RET_FEATURE_CLOSED = 142; @@ -96,6 +118,8 @@ enum Retcode { RET_NOT_HAS_COSTUME = 167; RET_COSTUME_AVATAR_ERROR = 168; RET_FLYCLOAK_PLATFORM_TYPE_ERR = 169; + RET_IN_TRANSFER = 170; + RET_IS_IN_LOCK_AVATAR = 171; RET_FLOAT_ERROR = 201; RET_NPC_NOT_EXIST = 301; RET_NPC_TOO_FAR = 302; @@ -144,6 +168,15 @@ enum Retcode { RET_ENTER_HOME_SCENE_FAIL = 554; RET_CUR_SCENE_IS_NULL = 555; RET_GROUP_ID_ERROR = 556; + RET_GALLERY_INTERRUPT_NOT_OWNER = 557; + RET_NO_SPRING_IN_AREA = 558; + RET_AREA_NOT_IN_SCENE = 559; + RET_INVALID_CITY_ID = 560; + RET_INVALID_SCENE_ID = 561; + RET_DEST_SCENE_IS_NOT_ALLOW = 562; + RET_LEVEL_TAG_SWITCH_IN_CD = 563; + RET_LEVEL_TAG_ALREADY_EXIST = 564; + RET_INVALID_AREA_ID = 565; RET_ITEM_NOT_EXIST = 601; RET_PACK_EXCEED_MAX_WEIGHT = 602; RET_ITEM_NOT_DROPABLE = 603; @@ -281,6 +314,7 @@ enum Retcode { RET_VEHICLE_POINT_NOT_UNLOCK = 828; RET_GADGET_INTERACT_COND_NOT_MEET = 829; RET_GADGET_INTERACT_PARAM_ERROR = 830; + RET_GADGET_CUSTOM_COMBINATION_INVALID = 831; RET_ACTIVITY_CLOSE = 860; RET_ACTIVITY_ITEM_ERROR = 861; RET_ACTIVITY_CONTRIBUTION_NOT_ENOUGH = 862; @@ -399,6 +433,10 @@ enum Retcode { RET_MP_SUMMER_TIME_SPRINT_BOAT_ONGOING = 1244; RET_MP_BLITZ_RUSH_PARKOUR_CHALLENGE_ONGOING = 1245; RET_MP_MUSIC_GAME_ONGOING = 1246; + RET_MP_IN_MPING_MODE = 1247; + RET_MP_OWNER_IN_SINGLE_SCENE = 1248; + RET_MP_IN_SINGLE_SCENE = 1249; + RET_MP_REPLY_NO_VALID_AVATAR = 1250; RET_MAIL_PARA_ERR = 1301; RET_MAIL_MAX_NUM = 1302; RET_MAIL_ITEM_NUM_EXCEED = 1303; @@ -419,6 +457,7 @@ enum Retcode { RET_MAIL_SPACE_OR_REST_NUM_NOT_ENOUGH = 1318; RET_MAIL_TICKET_IS_EMPTY = 1319; RET_MAIL_TRANSACTION_IS_EMPTY = 1320; + RET_MAIL_DELETE_COLLECTED = 1321; RET_DAILY_TASK_NOT_FINISH = 1330; RET_DAILY_TAKS_HAS_TAKEN = 1331; RET_SOCIAL_OFFLINE_MSG_NUM_EXCEED = 1332; @@ -431,6 +470,7 @@ enum Retcode { RET_GACHA_TIMES_LIMIT = 1406; RET_GACHA_WISH_SAME_ITEM = 1407; RET_GACHA_WISH_INVALID_ITEM = 1408; + RET_GACHA_MINORS_TIMES_LIMIT = 1409; RET_INVESTIGAITON_NOT_IN_PROGRESS = 1501; RET_INVESTIGAITON_UNCOMPLETE = 1502; RET_INVESTIGAITON_REWARD_TAKEN = 1503; @@ -471,6 +511,16 @@ enum Retcode { RET_WIDGET_NOT_ACTIVE = 1587; RET_WIDGET_FEATHER_NOT_ACTIVE = 1588; RET_WIDGET_FEATHER_GADGET_TOO_FAR_AWAY = 1589; + RET_WIDGET_CAPTURE_ANIMAL_NOT_EXIST = 1590; + RET_WIDGET_CAPTURE_ANIMAL_DROP_BAG_LIMIT = 1591; + RET_WIDGET_CAPTURE_ANIMAL_CAN_NOT_CAPTURE = 1592; + RET_WIDGET_SKY_CRYSTAL_ALL_COLLECTED = 1593; + RET_WIDGET_SKY_CRYSTAL_HINT_ALREADY_EXIST = 1594; + RET_WIDGET_SKY_CRYSTAL_NOT_FOUND = 1595; + RET_WIDGET_SKY_CRYSTAL_NO_HINT_TO_CLEAR = 1596; + RET_WIDGET_LIGHT_STONE_ENERGY_NOT_ENOUGH = 1597; + RET_WIDGET_TOY_CRYSTAL_ENERGY_NOT_ENOUGH = 1598; + RET_WIDGET_LIGHT_STONE_LEVEL_NOT_ENOUGH = 1599; RET_UID_NOT_EXIST = 2001; RET_PARSE_BIN_ERROR = 2002; RET_ACCOUNT_INFO_NOT_EXIST = 2003; @@ -522,7 +572,7 @@ enum Retcode { RET_REPORT_CONTENT_ILLEGAL = 7027; RET_REMARK_WORD_ILLEGAL = 7028; RET_REMARK_TOO_LONG = 7029; - RET_REMARK_UTF8_ERROR = 7030; + RET_REMARK_UTF_8_ERROR = 7030; RET_REMARK_IS_EMPTY = 7031; RET_ASK_ADD_FRIEND_CD = 7032; RET_SHOW_AVATAR_INFO_NOT_EXIST = 7033; @@ -531,6 +581,9 @@ enum Retcode { RET_PSN_ID_NOT_FOUND = 7036; RET_EMOJI_COLLECTION_NUM_EXCEED_LIMIT = 7037; RET_REMARK_EMPTY = 7038; + RET_IN_TARGET_PSN_BLACKLIST = 7039; + RET_SIGNATURE_NOT_CHANGED = 7040; + RET_SIGNATURE_MONTHLY_LIMIT = 7041; RET_OFFERING_NOT_OPEN = 7081; RET_OFFERING_LEVEL_LIMIT = 7082; RET_OFFERING_LEVEL_NOT_REACH = 7083; @@ -750,6 +803,8 @@ enum Retcode { RET_HOME_JOIN_SCENE_FAIL = 9745; RET_HOME_MAX_PLAYER = 9746; RET_HOME_IN_TRANSFER = 9747; + RET_HOME_ANY_HOME_GALLERY_STARTED = 9748; + RET_HOME_CAN_NOT_ENTER_IN_AUDIT = 9749; RET_FURNITURE_MAKE_INDEX_ERROR = 9750; RET_FURNITURE_MAKE_LOCKED = 9751; RET_FURNITURE_MAKE_CONFIG_ERROR = 9752; @@ -781,6 +836,22 @@ enum Retcode { RET_HOME_FISH_COUNT_NOT_ENOUGH = 9778; RET_HOME_FURNITURE_COST_LIMIT = 9779; RET_HOME_CUSTOM_FURNITURE_INVALID = 9780; + RET_HOME_INVALID_ARRANGE_GROUP_PARAM = 9781; + RET_HOME_FURNITURE_ARRANGE_GROUP_LIMIT = 9782; + RET_HOME_PICTURE_FRAME_COOP_CG_GENDER_ERROR = 9783; + RET_HOME_PICTURE_FRAME_COOP_CG_NOT_UNLOCK = 9784; + RET_HOME_FURNITURE_CANNOT_ARRANGE = 9785; + RET_HOME_FURNITURE_IN_DUPLICATE_SUITE = 9786; + RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_SMALL = 9787; + RET_HOME_FURNITURE_CUSTOM_SUITE_TOO_BIG = 9788; + RET_HOME_FURNITURE_SUITE_EXCEED_LIMIT = 9789; + RET_HOME_FURNITURE_CUSTOM_SUITE_EXCEED_LIMIT = 9790; + RET_HOME_FURNITURE_CUSTOM_SUITE_INVALID_SURFACE_TYPE = 9791; + RET_HOME_BGM_ID_NOT_FOUND = 9792; + RET_HOME_BGM_NOT_UNLOCKED = 9793; + RET_HOME_BGM_FURNITURE_NOT_FOUND = 9794; + RET_HOME_BGM_NOT_SUPPORT_BY_CUR_SCENE = 9795; + RET_HOME_LIMITED_SHOP_GOODS_DISABLE = 9796; RET_SUMO_ACTIVITY_STAGE_NOT_OPEN = 10000; RET_SUMO_ACTIVITY_SWITCH_TEAM_IN_CD = 10001; RET_SUMO_ACTIVITY_TEAM_NUM_INCORRECT = 10002; @@ -823,6 +894,70 @@ enum Retcode { RET_PLANT_FLOWER_WISH_FLOWER_KINDS_LIMIT = 10059; RET_PLANT_FLOWER_HAVE_FLOWER_NOT_ENOUGH = 10060; RET_PLANT_FLOWER_FLOWER_COMBINATION_INVALID = 10061; + RET_HACHI_DUNGEON_NOT_VALID = 10052; + RET_HACHI_DUNGEON_STAGE_NOT_OPEN = 10053; + RET_HACHI_DUNGEON_TEAMMATE_NOT_PASS = 10054; + RET_WINTER_CAMP_COIN_A_NOT_ENOUGH = 10071; + RET_WINTER_CAMP_COIN_B_NOT_ENOUGH = 10072; + RET_WINTER_CAMP_COIN_A_EXCEED_LIMIT = 10073; + RET_WINTER_CAMP_COIN_B_EXCEED_LIMIT = 10074; + RET_WINTER_CAMP_WISH_ID_INVALID = 10075; + RET_WINTER_CAMP_NOT_FOUND_RECV_ITEM_DATA = 10076; + RET_WINTER_CAMP_FRIEND_ITEM_COUNT_OVERFLOW = 10077; + RET_WINTER_CAMP_SELECT_ITEM_DATA_INVALID = 10078; + RET_WINTER_CAMP_ITEM_LIST_EMPTY = 10079; + RET_WINTER_CAMP_REWARD_ALREADY_TAKEN = 10080; + RET_WINTER_CAMP_STAGE_NOT_FINISH = 10081; + RET_WINTER_CAMP_GADGET_INVALID = 10082; + RET_LANTERN_RITE_COIN_A_NOT_ENOUGH = 10090; + RET_LANTERN_RITE_COIN_B_NOT_ENOUGH = 10091; + RET_LANTERN_RITE_COIN_C_NOT_ENOUGH = 10092; + RET_LANTERN_RITE_COIN_A_EXCEED_LIMIT = 10093; + RET_LANTERN_RITE_COIN_B_EXCEED_LIMIT = 10094; + RET_LANTERN_RITE_COIN_C_EXCEED_LIMIT = 10095; + RET_LANTERN_RITE_PROJECTION_CONTENT_CLOSED = 10096; + RET_LANTERN_RITE_PROJECTION_CAN_NOT_START = 10097; + RET_LANTERN_RITE_DUNGEON_NOT_OPEN = 10098; + RET_LANTERN_RITE_HAS_TAKEN_SKIN_REWARD = 10099; + RET_LANTERN_RITE_NOT_FINISHED_SKIN_WATCHERS = 10100; + RET_LANTERN_RITE_FIREWORKS_CONTENT_CLOSED = 10101; + RET_LANTERN_RITE_FIREWORKS_CHALLENGE_NOT_START = 10102; + RET_LANTERN_RITE_FIREWORKS_REFORM_PARAM_ERROR = 10103; + RET_LANTERN_RITE_FIREWORKS_REFORM_SKILL_LOCK = 10104; + RET_LANTERN_RITE_FIREWORKS_REFORM_STAMINA_NOT_ENOUGH = 10105; + RET_POTION_ACTIVITY_STAGE_NOT_OPEN = 10110; + RET_POTION_ACTIVITY_LEVEL_HAVE_PASS = 10111; + RET_POTION_ACTIVITY_TEAM_NUM_INCORRECT = 10112; + RET_POTION_ACTIVITY_AVATAR_IN_CD = 10113; + RET_POTION_ACTIVITY_BUFF_IN_CD = 10114; + RET_IRODORI_POETRY_INVALID_LINE_ID = 10120; + RET_IRODORI_POETRY_INVALID_THEME_ID = 10121; + RET_IRODORI_POETRY_NOT_GET_ALL_INSPIRATION = 10122; + RET_IRODORI_POETRY_INSPIRATION_REACH_LIMIE = 10123; + RET_IRODORI_POETRY_ENTITY_ALREADY_SCANNED = 10124; + RET_ACTIVITY_BANNER_ALREADY_CLEARED = 10300; + RET_IRODORI_CHESS_NOT_OPEN = 10301; + RET_IRODORI_CHESS_LEVEL_NOT_OPEN = 10302; + RET_IRODORI_CHESS_MAP_NOT_OPEN = 10303; + RET_IRODORI_CHESS_MAP_CARD_ALREADY_EQUIPED = 10304; + RET_IRODORI_CHESS_EQUIP_CARD_EXCEED_LIMIT = 10305; + RET_IRODORI_CHESS_MAP_CARD_NOT_EQUIPED = 10306; + RET_IRODORI_CHESS_ENTER_FAIL_CARD_EXCEED_LIMIT = 10307; + RET_ACTIVITY_FRIEND_HAVE_GIFT_LIMIT = 10310; + RET_GACHA_ACTIVITY_HAVE_REWARD_LIMIT = 10315; + RET_GACHA_ACTIVITY_HAVE_ROBOT_LIMIT = 10316; + RET_SUMMER_TIME_V_2_COIN_EXCEED_LIMIT = 10317; + RET_SUMMER_TIME_V_2_COIN_NOT_ENOUGH = 10318; + RET_SUMMER_TIME_V_2_DUNGEON_STAGE_NOT_OPEN = 10319; + RET_SUMMER_TIME_V_2_PREV_DUNGEON_NOT_COMPLETE = 10320; + RET_ROGUE_DIARY_AVATAR_DEATH = 10350; + RET_ROGUE_DIARY_AVATAR_TIRED = 10351; + RET_ROGUE_DIARY_AVATAR_DUPLICATED = 10352; + RET_ROGUE_DIARY_COIN_NOT_ENOUGH = 10353; + RET_ROGUE_DIARY_VIRTUAL_COIN_EXCEED_LIMIT = 10354; + RET_ROGUE_DIARY_VIRTUAL_COIN_NOT_ENOUGH = 10355; + RET_ROGUE_DIARY_CONTENT_CLOSED = 10366; + RET_ISLAND_PARTY_STAGE_NOT_OPEN = 10371; RET_NOT_IN_FISHING = 11001; RET_FISH_STATE_ERROR = 11002; RET_FISH_BAIT_LIMIT = 11003; @@ -830,5 +965,60 @@ enum Retcode { RET_FISHING_IN_COMBAT = 11005; RET_FISHING_BATTLE_TOO_SHORT = 11006; RET_FISH_GONE_AWAY = 11007; - RET_FAIL = -1; + RET_CAN_NOT_EDIT_OTHER_DUNGEON = 11051; + RET_CUSTOM_DUNGEON_DISMATCH = 11052; + RET_NO_CUSTOM_DUNGEON_DATA = 11053; + RET_BUILD_CUSTOM_DUNGEON_FAIL = 11054; + RET_CUSTOM_DUNGEON_ROOM_CHECK_FAIL = 11055; + RET_CUSTOM_DUNGEON_SAVE_MAY_FAIL = 11056; + RET_NOT_IN_CUSTOM_DUNGEON = 11057; + RET_CUSTOM_DUNGEON_INTERNAL_FAIL = 11058; + RET_CUSTOM_DUNGEON_CAN_NOT_TRY = 11059; + RET_CUSTOM_DUNGEON_NO_START_ROOM = 11060; + RET_CUSTOM_DUNGEON_NO_ROOM_DATA = 11061; + RET_CUSTOM_DUNGEON_SAVE_TOO_FREQUENT = 11062; + RET_CUSTOM_DUNGEON_NOT_SELF_PASS = 11063; + RET_CUSTOM_DUNGEON_LACK_COIN = 11064; + RET_CUSTOM_DUNGEON_NO_FINISH_BRICK = 11065; + RET_CUSTOM_DUNGEON_MULTI_FINISH = 11066; + RET_CUSTOM_DUNGEON_NOT_PUBLISHED = 11067; + RET_CUSTOM_DUNGEON_FULL_STORE = 11068; + RET_CUSTOM_DUNGEON_STORE_REPEAT = 11069; + RET_CUSTOM_DUNGEON_CAN_NOT_STORE_SELF = 11070; + RET_CUSTOM_DUNGEON_NOT_SAVE_SUCC = 11071; + RET_CUSTOM_DUNGEON_CAN_NOT_LIKE_SELF = 11072; + RET_CUSTOM_DUNGEON_NOT_FOUND = 11073; + RET_CUSTOM_DUNGEON_INVALID_SETTING = 11074; + RET_CUSTOM_DUNGEON_NO_FINISH_SETTING = 11075; + RET_CUSTOM_DUNGEON_SAVE_NOTHING = 11076; + RET_CUSTOM_DUNGEON_NOT_IN_GROUP = 11077; + RET_CUSTOM_DUNGEON_NOT_OFFICIAL = 11078; + RET_CUSTOM_DUNGEON_LIFE_NUM_ERROR = 11079; + RET_CUSTOM_DUNGEON_NO_OPEN_ROOM = 11080; + RET_CUSTOM_DUNGEON_BRICK_EXCEED_LIMIT = 11081; + RET_CUSTOM_DUNGEON_OFFICIAL_NOT_UNLOCK = 11082; + RET_CAN_NOT_EDIT_OFFICIAL_SETTING = 11083; + RET_CUSTOM_DUNGEON_BAN_PUBLISH = 11084; + RET_CUSTOM_DUNGEON_CAN_NOT_REPLAY = 11085; + RET_CUSTOM_DUNGEON_NOT_OPEN_GROUP = 11086; + RET_CUSTOM_DUNGEON_MAX_EDIT_NUM = 11087; + RET_CUSTOM_DUNGEON_CAN_NOT_OUT_STUCK = 11088; + RET_CUSTOM_DUNGEON_MAX_TAG = 11089; + RET_CUSTOM_DUNGEON_INVALID_TAG = 11090; + RET_CUSTOM_DUNGEON_MAX_COST = 11091; + RET_CUSTOM_DUNGEON_REQUEST_TOO_FREQUENT = 11092; + RET_CUSTOM_DUNGEON_NOT_OPEN = 11093; + RET_SHARE_CD_ID_ERROR = 11101; + RET_SHARE_CD_INDEX_ERROR = 11102; + RET_SHARE_CD_IN_CD = 11103; + RET_SHARE_CD_TOKEN_NOT_ENOUGH = 11104; + RET_UGC_DISMATCH = 11151; + RET_UGC_DATA_NOT_FOUND = 11152; + RET_UGC_BRIEF_NOT_FOUND = 11153; + RET_UGC_DISABLED = 11154; + RET_UGC_LIMITED = 11155; + RET_UGC_LOCKED = 11156; + RET_UGC_NOT_AUTH = 11157; + RET_UGC_NOT_OPEN = 11158; + RET_UGC_BAN_PUBLISH = 11159; } diff --git a/proto/RoguelikeDungeonSettleInfo.proto b/proto/RoguelikeDungeonSettleInfo.proto index 720158b9..7d4b499a 100644 --- a/proto/RoguelikeDungeonSettleInfo.proto +++ b/proto/RoguelikeDungeonSettleInfo.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "RoguelikeSettleCoinInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message RoguelikeDungeonSettleInfo { - uint32 stage_id = 1; - uint32 cur_level = 2; + uint32 stage_id = 5; + bool is_final_level = 15; map finished_challenge_cell_num_map = 3; - bool is_final_level = 4; - uint32 total_coin_b_num = 5; - uint32 total_coin_c_num = 6; - bool is_coin_c_reach_limit = 7; + bool is_coin_c_reach_limit = 13; + uint32 cur_level = 9; + uint32 total_coin_b_num = 6; + uint32 total_coin_c_num = 10; } diff --git a/proto/RoguelikeGadgetInfo.proto b/proto/RoguelikeGadgetInfo.proto index 763a019d..f7fce647 100644 --- a/proto/RoguelikeGadgetInfo.proto +++ b/proto/RoguelikeGadgetInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/RoguelikeSettleCoinInfo.proto b/proto/RoguelikeSettleCoinInfo.proto index 465a7321..6afe6b49 100644 --- a/proto/RoguelikeSettleCoinInfo.proto +++ b/proto/RoguelikeSettleCoinInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message RoguelikeSettleCoinInfo { + uint32 coin_c = 8; + uint32 coin_b = 10; uint32 cell_num = 1; - uint32 coin_b = 2; - uint32 coin_c = 3; } diff --git a/proto/Route.proto b/proto/Route.proto index b1609256..b56bb15f 100644 --- a/proto/Route.proto +++ b/proto/Route.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "RoutePoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + message Route { repeated RoutePoint route_points = 1; uint32 route_type = 2; diff --git a/proto/RoutePoint.proto b/proto/RoutePoint.proto index 5390d5b6..ea552ae1 100644 --- a/proto/RoutePoint.proto +++ b/proto/RoutePoint.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MathQuaternion.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message RoutePoint { Vector position = 1; float arrive_range = 2; diff --git a/proto/SceneAreaUnlockNotify.proto b/proto/SceneAreaUnlockNotify.proto new file mode 100644 index 00000000..30295974 --- /dev/null +++ b/proto/SceneAreaUnlockNotify.proto @@ -0,0 +1,27 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 293 +// EnetChannelId: 0 +// EnetIsReliable: true +message SceneAreaUnlockNotify { + repeated uint32 area_list = 10; + uint32 scene_id = 9; +} diff --git a/proto/SceneAreaWeatherNotify.proto b/proto/SceneAreaWeatherNotify.proto index 8ae1b43c..f9024a95 100644 --- a/proto/SceneAreaWeatherNotify.proto +++ b/proto/SceneAreaWeatherNotify.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 229 +// CmdId: 230 // EnetChannelId: 0 // EnetIsReliable: true message SceneAreaWeatherNotify { - uint32 weather_gadget_id = 13; - map weather_value_map = 10; - uint32 weather_area_id = 15; + uint32 weather_area_id = 1; + uint32 weather_gadget_id = 9; uint32 climate_type = 14; - float trans_duration = 11; + float trans_duration = 15; + map weather_value_map = 10; } diff --git a/proto/SceneAvatarInfo.proto b/proto/SceneAvatarInfo.proto index 617c3fc5..2a6dc517 100644 --- a/proto/SceneAvatarInfo.proto +++ b/proto/SceneAvatarInfo.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExcelInfo.proto"; import "CurVehicleInfo.proto"; @@ -8,6 +22,8 @@ import "SceneReliquaryInfo.proto"; import "SceneWeaponInfo.proto"; import "ServerBuff.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneAvatarInfo { uint32 uid = 1; uint32 avatar_id = 2; diff --git a/proto/SceneEntityAiInfo.proto b/proto/SceneEntityAiInfo.proto index 8eb55e72..f5ab459e 100644 --- a/proto/SceneEntityAiInfo.proto +++ b/proto/SceneEntityAiInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ServantInfo.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneEntityAiInfo { bool is_ai_open = 1; Vector born_pos = 2; diff --git a/proto/SceneEntityAppearNotify.proto b/proto/SceneEntityAppearNotify.proto index 9f0e4dff..3cf2e1ce 100644 --- a/proto/SceneEntityAppearNotify.proto +++ b/proto/SceneEntityAppearNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "SceneEntityInfo.proto"; import "VisionType.proto"; -// CmdId: 217 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 221 // EnetChannelId: 0 // EnetIsReliable: true message SceneEntityAppearNotify { - repeated SceneEntityInfo entity_list = 6; - VisionType appear_type = 8; - uint32 param = 11; + VisionType appear_type = 15; + uint32 param = 9; + repeated SceneEntityInfo entity_list = 5; } diff --git a/proto/SceneEntityDisappearNotify.proto b/proto/SceneEntityDisappearNotify.proto index adb5d470..bed9a79d 100644 --- a/proto/SceneEntityDisappearNotify.proto +++ b/proto/SceneEntityDisappearNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "VisionType.proto"; -// CmdId: 285 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 203 // EnetChannelId: 0 // EnetIsReliable: true message SceneEntityDisappearNotify { - repeated uint32 entity_list = 9; - VisionType disappear_type = 10; uint32 param = 6; + repeated uint32 entity_list = 1; + VisionType disappear_type = 2; } diff --git a/proto/SceneEntityDrownReq.proto b/proto/SceneEntityDrownReq.proto index 8b822e93..e759ad8d 100644 --- a/proto/SceneEntityDrownReq.proto +++ b/proto/SceneEntityDrownReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 212 +// CmdId: 227 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SceneEntityDrownReq { - uint32 entity_id = 14; + uint32 entity_id = 10; } diff --git a/proto/SceneEntityDrownRsp.proto b/proto/SceneEntityDrownRsp.proto index 1d323d3a..a059239a 100644 --- a/proto/SceneEntityDrownRsp.proto +++ b/proto/SceneEntityDrownRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 258 +// CmdId: 294 // EnetChannelId: 0 // EnetIsReliable: true message SceneEntityDrownRsp { - int32 retcode = 14; - uint32 entity_id = 10; + int32 retcode = 8; + uint32 entity_id = 11; } diff --git a/proto/SceneEntityInfo.proto b/proto/SceneEntityInfo.proto index 6cd667b0..f55f2fcf 100644 --- a/proto/SceneEntityInfo.proto +++ b/proto/SceneEntityInfo.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AnimatorParameterValueInfoPair.proto"; import "EntityAuthorityInfo.proto"; @@ -16,6 +30,8 @@ import "SceneMonsterInfo.proto"; import "SceneNpcInfo.proto"; import "ServerBuff.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneEntityInfo { ProtEntityType entity_type = 1; uint32 entity_id = 2; diff --git a/proto/SceneEntityMoveNotify.proto b/proto/SceneEntityMoveNotify.proto index 116b5a13..914f8099 100644 --- a/proto/SceneEntityMoveNotify.proto +++ b/proto/SceneEntityMoveNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MotionInfo.proto"; -// CmdId: 227 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 275 // EnetChannelId: 1 // EnetIsReliable: true message SceneEntityMoveNotify { - uint32 entity_id = 10; - MotionInfo motion_info = 3; - uint32 scene_time = 12; - uint32 reliable_seq = 11; + MotionInfo motion_info = 6; + uint32 entity_id = 8; + uint32 scene_time = 15; + uint32 reliable_seq = 2; } diff --git a/proto/SceneFishInfo.proto b/proto/SceneFishInfo.proto index b5b0368d..9da0f26d 100644 --- a/proto/SceneFishInfo.proto +++ b/proto/SceneFishInfo.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneFishInfo { uint32 fish_id = 1; uint32 fish_pool_entity_id = 2; Vector fish_pool_pos = 3; uint32 fish_pool_gadget_id = 4; - uint32 LPNFLHKPHEC = 5; + uint32 Unk2700_HIPFHKFMBBE = 5; } diff --git a/proto/SceneForceUnlockNotify.proto b/proto/SceneForceUnlockNotify.proto index 8acaf733..022071c6 100644 --- a/proto/SceneForceUnlockNotify.proto +++ b/proto/SceneForceUnlockNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 201 +// CmdId: 206 // EnetChannelId: 0 // EnetIsReliable: true message SceneForceUnlockNotify { - repeated uint32 force_id_list = 1; - bool is_add = 5; + bool is_add = 10; + repeated uint32 force_id_list = 2; } diff --git a/proto/SceneGadgetInfo.proto b/proto/SceneGadgetInfo.proto index ac847eab..9a8613bd 100644 --- a/proto/SceneGadgetInfo.proto +++ b/proto/SceneGadgetInfo.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityGadgetInfo.proto"; import "BlossomChestInfo.proto"; @@ -21,10 +35,13 @@ import "PlatformInfo.proto"; import "RoguelikeGadgetInfo.proto"; import "ScreenInfo.proto"; import "StatueGadgetInfo.proto"; +import "Unk2800_FHMOLALLEEN.proto"; import "VehicleInfo.proto"; import "WeatherInfo.proto"; import "WorktopInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneGadgetInfo { uint32 gadget_id = 1; uint32 group_id = 2; @@ -64,5 +81,6 @@ message SceneGadgetInfo { FishPoolInfo fish_pool_info = 59; CustomGadgetTreeInfo custom_gadget_tree_info = 60; RoguelikeGadgetInfo roguelike_gadget_info = 61; + Unk2800_FHMOLALLEEN night_crow_gadget_info = 62; } } diff --git a/proto/SceneInitFinishRsp.proto b/proto/SceneInitFinishRsp.proto index cec0970e..93464cd4 100644 --- a/proto/SceneInitFinishRsp.proto +++ b/proto/SceneInitFinishRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 232 +// CmdId: 207 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SceneInitFinishRsp { - int32 retcode = 10; - uint32 enter_scene_token = 15; + int32 retcode = 13; + uint32 enter_scene_token = 8; } diff --git a/proto/SceneKickPlayerNotify.proto b/proto/SceneKickPlayerNotify.proto index f4a6bcb9..4fd222c9 100644 --- a/proto/SceneKickPlayerNotify.proto +++ b/proto/SceneKickPlayerNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 292 +// CmdId: 211 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SceneKickPlayerNotify { + uint32 target_uid = 8; uint32 kicker_uid = 9; - uint32 target_uid = 13; } diff --git a/proto/SceneKickPlayerReq.proto b/proto/SceneKickPlayerReq.proto index 61b83f5b..50183623 100644 --- a/proto/SceneKickPlayerReq.proto +++ b/proto/SceneKickPlayerReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 295 +// CmdId: 264 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SceneKickPlayerReq { - uint32 target_uid = 12; + uint32 target_uid = 6; } diff --git a/proto/SceneKickPlayerRsp.proto b/proto/SceneKickPlayerRsp.proto index 4e61298b..0a1759a6 100644 --- a/proto/SceneKickPlayerRsp.proto +++ b/proto/SceneKickPlayerRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 215 +// CmdId: 238 // EnetChannelId: 0 // EnetIsReliable: true message SceneKickPlayerRsp { - int32 retcode = 9; - uint32 target_uid = 12; + int32 retcode = 13; + uint32 target_uid = 10; } diff --git a/proto/SceneMonsterInfo.proto b/proto/SceneMonsterInfo.proto index 291ce0ac..1b0d0970 100644 --- a/proto/SceneMonsterInfo.proto +++ b/proto/SceneMonsterInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "MonsterBornType.proto"; import "MonsterRoute.proto"; import "SceneFishInfo.proto"; import "SceneWeaponInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneMonsterInfo { uint32 monster_id = 1; uint32 group_id = 2; @@ -29,6 +45,7 @@ message SceneMonsterInfo { uint32 ai_config_id = 19; uint32 level_route_id = 20; uint32 init_pose_id = 21; + bool Unk2800_JEGLENPDPNI = 22; oneof content { SceneFishInfo fish_info = 50; } diff --git a/proto/SceneNpcInfo.proto b/proto/SceneNpcInfo.proto index 76d878af..78dd5816 100644 --- a/proto/SceneNpcInfo.proto +++ b/proto/SceneNpcInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ScenePlayerInfo.proto b/proto/ScenePlayerInfo.proto index bcfb4f0f..7db1e8a5 100644 --- a/proto/ScenePlayerInfo.proto +++ b/proto/ScenePlayerInfo.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ScenePlayerInfo { - uint32 uid = 1; - uint32 peer_id = 2; - string name = 3; - bool is_connected = 4; - uint32 scene_id = 5; - OnlinePlayerInfo online_player_info = 6; + uint32 scene_id = 10; + uint32 peer_id = 6; + OnlinePlayerInfo online_player_info = 13; + bool is_connected = 2; + string name = 15; + uint32 uid = 8; } diff --git a/proto/ScenePlayerInfoNotify.proto b/proto/ScenePlayerInfoNotify.proto index bb515149..cac41a62 100644 --- a/proto/ScenePlayerInfoNotify.proto +++ b/proto/ScenePlayerInfoNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ScenePlayerInfo.proto"; -// CmdId: 225 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 267 // EnetChannelId: 0 // EnetIsReliable: true message ScenePlayerInfoNotify { - repeated ScenePlayerInfo player_info_list = 11; + repeated ScenePlayerInfo player_info_list = 5; } diff --git a/proto/ScenePlayerLocationNotify.proto b/proto/ScenePlayerLocationNotify.proto index 60fd1fc3..7264dcb8 100644 --- a/proto/ScenePlayerLocationNotify.proto +++ b/proto/ScenePlayerLocationNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerLocationInfo.proto"; import "VehicleLocationInfo.proto"; -// CmdId: 207 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 248 // EnetChannelId: 1 // EnetIsReliable: true message ScenePlayerLocationNotify { - uint32 scene_id = 1; - repeated PlayerLocationInfo player_loc_list = 8; - repeated VehicleLocationInfo vehicle_loc_list = 5; + repeated VehicleLocationInfo vehicle_loc_list = 3; + uint32 scene_id = 9; + repeated PlayerLocationInfo player_loc_list = 14; } diff --git a/proto/ScenePointUnlockNotify.proto b/proto/ScenePointUnlockNotify.proto new file mode 100644 index 00000000..5e9dad6a --- /dev/null +++ b/proto/ScenePointUnlockNotify.proto @@ -0,0 +1,30 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 247 +// EnetChannelId: 0 +// EnetIsReliable: true +message ScenePointUnlockNotify { + repeated uint32 point_list = 13; + uint32 scene_id = 6; + repeated uint32 unhide_point_list = 12; + repeated uint32 hide_point_list = 1; + repeated uint32 locked_point_list = 8; +} diff --git a/proto/SceneReliquaryInfo.proto b/proto/SceneReliquaryInfo.proto index 782d41de..d05fad97 100644 --- a/proto/SceneReliquaryInfo.proto +++ b/proto/SceneReliquaryInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/SceneTeamAvatar.proto b/proto/SceneTeamAvatar.proto index 8ad79b45..a9ba9200 100644 --- a/proto/SceneTeamAvatar.proto +++ b/proto/SceneTeamAvatar.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityControlBlock.proto"; import "AbilitySyncStateInfo.proto"; @@ -9,21 +23,23 @@ import "SceneAvatarInfo.proto"; import "SceneEntityInfo.proto"; import "ServerBuff.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneTeamAvatar { - uint32 player_uid = 1; - uint64 avatar_guid = 2; - uint32 scene_id = 3; - uint32 entity_id = 4; - AvatarInfo avatar_info = 5; - SceneAvatarInfo scene_avatar_info = 6; - AbilitySyncStateInfo avatar_ability_info = 7; - repeated ServerBuff server_buff_list = 8; - SceneEntityInfo scene_entity_info = 9; - uint64 weapon_guid = 10; - uint32 weapon_entity_id = 11; - AbilitySyncStateInfo weapon_ability_info = 12; - AbilityControlBlock ability_control_block = 13; - bool is_reconnect = 14; - bool is_player_cur_avatar = 15; - bool is_on_scene = 16; + AbilitySyncStateInfo avatar_ability_info = 5; + AvatarInfo avatar_info = 8; + bool is_on_scene = 152; + uint32 entity_id = 9; + uint64 avatar_guid = 15; + uint32 scene_id = 1; + uint32 weapon_entity_id = 7; + SceneAvatarInfo scene_avatar_info = 3; + uint64 weapon_guid = 4; + AbilitySyncStateInfo weapon_ability_info = 11; + SceneEntityInfo scene_entity_info = 12; + uint32 player_uid = 14; + bool is_reconnect = 6; + AbilityControlBlock ability_control_block = 2; + bool is_player_cur_avatar = 13; + repeated ServerBuff server_buff_list = 10; } diff --git a/proto/SceneTeamUpdateNotify.proto b/proto/SceneTeamUpdateNotify.proto index 44800556..674ea329 100644 --- a/proto/SceneTeamUpdateNotify.proto +++ b/proto/SceneTeamUpdateNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "SceneTeamAvatar.proto"; -// CmdId: 1699 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1775 // EnetChannelId: 0 // EnetIsReliable: true message SceneTeamUpdateNotify { repeated SceneTeamAvatar scene_team_avatar_list = 11; - bool is_in_mp = 1; + bool is_in_mp = 15; } diff --git a/proto/SceneTimeNotify.proto b/proto/SceneTimeNotify.proto index 6130e053..900f679f 100644 --- a/proto/SceneTimeNotify.proto +++ b/proto/SceneTimeNotify.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 262 +// CmdId: 245 // EnetChannelId: 0 // EnetIsReliable: true message SceneTimeNotify { - uint32 scene_id = 3; - bool is_paused = 5; uint64 scene_time = 14; + bool is_paused = 1; + uint32 scene_id = 7; } diff --git a/proto/SceneTransToPointReq.proto b/proto/SceneTransToPointReq.proto index 7b366cbe..df98caf3 100644 --- a/proto/SceneTransToPointReq.proto +++ b/proto/SceneTransToPointReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 286 +// CmdId: 239 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SceneTransToPointReq { - uint32 scene_id = 12; - uint32 point_id = 4; + uint32 scene_id = 13; + uint32 point_id = 1; } diff --git a/proto/SceneTransToPointRsp.proto b/proto/SceneTransToPointRsp.proto index a880f56a..5b9e84c8 100644 --- a/proto/SceneTransToPointRsp.proto +++ b/proto/SceneTransToPointRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 263 +// CmdId: 253 // EnetChannelId: 0 // EnetIsReliable: true message SceneTransToPointRsp { - int32 retcode = 4; - uint32 scene_id = 11; - uint32 point_id = 13; + uint32 point_id = 14; + uint32 scene_id = 3; + int32 retcode = 8; } diff --git a/proto/SceneWeaponInfo.proto b/proto/SceneWeaponInfo.proto index 8ef4dae9..69428b12 100644 --- a/proto/SceneWeaponInfo.proto +++ b/proto/SceneWeaponInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilitySyncStateInfo.proto"; import "EntityRendererChangedInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SceneWeaponInfo { uint32 entity_id = 1; uint32 gadget_id = 2; diff --git a/proto/ScreenInfo.proto b/proto/ScreenInfo.proto index 2fa38427..e1aa2ac0 100644 --- a/proto/ScreenInfo.proto +++ b/proto/ScreenInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/SelectWorktopOptionReq.proto b/proto/SelectWorktopOptionReq.proto index 449cfe51..a531e8fb 100644 --- a/proto/SelectWorktopOptionReq.proto +++ b/proto/SelectWorktopOptionReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 832 +// CmdId: 807 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SelectWorktopOptionReq { - uint32 gadget_entity_id = 2; - uint32 option_id = 5; + uint32 gadget_entity_id = 12; + uint32 option_id = 11; } diff --git a/proto/SelectWorktopOptionRsp.proto b/proto/SelectWorktopOptionRsp.proto index 13beed8e..f99e27b7 100644 --- a/proto/SelectWorktopOptionRsp.proto +++ b/proto/SelectWorktopOptionRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 817 +// CmdId: 821 // EnetChannelId: 0 // EnetIsReliable: true message SelectWorktopOptionRsp { - int32 retcode = 7; - uint32 gadget_entity_id = 12; - uint32 option_id = 10; + uint32 gadget_entity_id = 13; + uint32 option_id = 7; + int32 retcode = 4; } diff --git a/proto/ServantInfo.proto b/proto/ServantInfo.proto index 28b5bff0..d8f2b48d 100644 --- a/proto/ServantInfo.proto +++ b/proto/ServantInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ServerAnnounceNotify.proto b/proto/ServerAnnounceNotify.proto index 271cafa2..3b19f5c9 100644 --- a/proto/ServerAnnounceNotify.proto +++ b/proto/ServerAnnounceNotify.proto @@ -4,9 +4,9 @@ option java_package = "emu.grasscutter.net.proto"; import "AnnounceData.proto"; -// CmdId: 2029 +// CmdId: 2197 // EnetChannelId: 0 // EnetIsReliable: true message ServerAnnounceNotify { - repeated AnnounceData announce_data_list = 8; + repeated AnnounceData announce_data_list = 11; } diff --git a/proto/ServerAnnounceRevokeNotify.proto b/proto/ServerAnnounceRevokeNotify.proto index c1d6062e..a02a8a0f 100644 --- a/proto/ServerAnnounceRevokeNotify.proto +++ b/proto/ServerAnnounceRevokeNotify.proto @@ -2,7 +2,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2141 +// CmdId: 2092 // EnetChannelId: 0 // EnetIsReliable: true message ServerAnnounceRevokeNotify { diff --git a/proto/ServerBuff.proto b/proto/ServerBuff.proto index 92f0829d..5a384afc 100644 --- a/proto/ServerBuff.proto +++ b/proto/ServerBuff.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ServerBuffChangeNotify.proto b/proto/ServerBuffChangeNotify.proto new file mode 100644 index 00000000..7bc1660f --- /dev/null +++ b/proto/ServerBuffChangeNotify.proto @@ -0,0 +1,37 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "ServerBuff.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 361 +// EnetChannelId: 0 +// EnetIsReliable: true +message ServerBuffChangeNotify { + ServerBuffChangeType server_buff_change_type = 7; + bool is_creature_buff = 10; + repeated uint32 entity_id_list = 1; + repeated uint64 avatar_guid_list = 12; + repeated ServerBuff server_buff_list = 11; + + enum ServerBuffChangeType { + SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0; + SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1; + } +} diff --git a/proto/ServerCondMeetQuestListUpdateNotify.proto b/proto/ServerCondMeetQuestListUpdateNotify.proto index 615c704d..3ec769d4 100644 --- a/proto/ServerCondMeetQuestListUpdateNotify.proto +++ b/proto/ServerCondMeetQuestListUpdateNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 401 +// CmdId: 406 // EnetChannelId: 0 // EnetIsReliable: true message ServerCondMeetQuestListUpdateNotify { - repeated uint32 add_quest_id_list = 9; - repeated uint32 del_quest_id_list = 6; + repeated uint32 del_quest_id_list = 1; + repeated uint32 add_quest_id_list = 12; } diff --git a/proto/ServerTimeNotify.proto b/proto/ServerTimeNotify.proto index efc231af..506861a2 100644 --- a/proto/ServerTimeNotify.proto +++ b/proto/ServerTimeNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 82 +// CmdId: 99 // EnetChannelId: 1 // EnetIsReliable: true message ServerTimeNotify { - uint64 server_time = 15; + uint64 server_time = 5; } diff --git a/proto/SetBattlePassViewedReq.proto b/proto/SetBattlePassViewedReq.proto index 42e52ad5..9959cc38 100644 --- a/proto/SetBattlePassViewedReq.proto +++ b/proto/SetBattlePassViewedReq.proto @@ -2,7 +2,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2637 +// CmdId: 2641 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/SetBattlePassViewedRsp.proto b/proto/SetBattlePassViewedRsp.proto index 3fb81d2f..befddc67 100644 --- a/proto/SetBattlePassViewedRsp.proto +++ b/proto/SetBattlePassViewedRsp.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2632 +// CmdId: 2642 // EnetChannelId: 0 // EnetIsReliable: true message SetBattlePassViewedRsp { - int32 retcode = 15; - uint32 schedule_id = 10; + int32 retcode = 3; + uint32 schedule_id = 2; } diff --git a/proto/SetEntityClientDataNotify.proto b/proto/SetEntityClientDataNotify.proto index b61e44d4..c9038076 100644 --- a/proto/SetEntityClientDataNotify.proto +++ b/proto/SetEntityClientDataNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "EntityClientData.proto"; -// CmdId: 3375 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3146 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetEntityClientDataNotify { - uint32 entity_id = 13; - EntityClientData entity_client_data = 1; + uint32 entity_id = 14; + EntityClientData entity_client_data = 9; } diff --git a/proto/SetEquipLockStateReq.proto b/proto/SetEquipLockStateReq.proto index 9280ee17..cfaf781e 100644 --- a/proto/SetEquipLockStateReq.proto +++ b/proto/SetEquipLockStateReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 604 +// CmdId: 666 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetEquipLockStateReq { - uint64 target_equip_guid = 10; - bool is_locked = 11; + bool is_locked = 15; + uint64 target_equip_guid = 9; } diff --git a/proto/SetEquipLockStateRsp.proto b/proto/SetEquipLockStateRsp.proto index 11808184..3c98b514 100644 --- a/proto/SetEquipLockStateRsp.proto +++ b/proto/SetEquipLockStateRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 605 +// CmdId: 668 // EnetChannelId: 0 // EnetIsReliable: true message SetEquipLockStateRsp { - int32 retcode = 7; - uint64 target_equip_guid = 13; - bool is_locked = 5; + uint64 target_equip_guid = 14; + int32 retcode = 13; + bool is_locked = 10; } diff --git a/proto/SetNameCardReq.proto b/proto/SetNameCardReq.proto index a0edfb69..40df72e7 100644 --- a/proto/SetNameCardReq.proto +++ b/proto/SetNameCardReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4006 +// CmdId: 4004 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetNameCardReq { - uint32 name_card_id = 4; + uint32 name_card_id = 10; } diff --git a/proto/SetNameCardRsp.proto b/proto/SetNameCardRsp.proto index d7c5a557..1b76f1b3 100644 --- a/proto/SetNameCardRsp.proto +++ b/proto/SetNameCardRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4019 +// CmdId: 4093 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetNameCardRsp { - int32 retcode = 11; - uint32 name_card_id = 2; + uint32 name_card_id = 11; + int32 retcode = 12; } diff --git a/proto/SetOpenStateReq.proto b/proto/SetOpenStateReq.proto new file mode 100644 index 00000000..7b554f05 --- /dev/null +++ b/proto/SetOpenStateReq.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 165 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message SetOpenStateReq { + uint32 key = 12; + uint32 value = 5; +} diff --git a/proto/SetOpenStateRsp.proto b/proto/SetOpenStateRsp.proto new file mode 100644 index 00000000..6536a89b --- /dev/null +++ b/proto/SetOpenStateRsp.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 104 +// EnetChannelId: 0 +// EnetIsReliable: true +message SetOpenStateRsp { + uint32 key = 9; + int32 retcode = 14; + uint32 value = 15; +} diff --git a/proto/SetPlayerBirthdayReq.proto b/proto/SetPlayerBirthdayReq.proto index ceeeb0b7..b4138ee3 100644 --- a/proto/SetPlayerBirthdayReq.proto +++ b/proto/SetPlayerBirthdayReq.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Birthday.proto"; -// CmdId: 4007 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4048 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerBirthdayReq { - Birthday birthday = 10; + Birthday birthday = 9; } diff --git a/proto/SetPlayerBirthdayRsp.proto b/proto/SetPlayerBirthdayRsp.proto index 1f2b92f8..90d697a6 100644 --- a/proto/SetPlayerBirthdayRsp.proto +++ b/proto/SetPlayerBirthdayRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Birthday.proto"; -// CmdId: 4030 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4097 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerBirthdayRsp { - int32 retcode = 12; - Birthday birthday = 14; + Birthday birthday = 2; + int32 retcode = 5; } diff --git a/proto/SetPlayerBornDataReq.proto b/proto/SetPlayerBornDataReq.proto index cd5cbf4b..f7575a3e 100644 --- a/proto/SetPlayerBornDataReq.proto +++ b/proto/SetPlayerBornDataReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 198 +// CmdId: 105 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerBornDataReq { - uint32 avatar_id = 3; - string nick_name = 12; + uint32 avatar_id = 2; + string nick_name = 13; } diff --git a/proto/SetPlayerBornDataRsp.proto b/proto/SetPlayerBornDataRsp.proto index fd505107..19f542d3 100644 --- a/proto/SetPlayerBornDataRsp.proto +++ b/proto/SetPlayerBornDataRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 145 +// CmdId: 182 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerBornDataRsp { - int32 retcode = 4; + int32 retcode = 10; } diff --git a/proto/SetPlayerHeadImageReq.proto b/proto/SetPlayerHeadImageReq.proto index 53e6ce18..515e35e4 100644 --- a/proto/SetPlayerHeadImageReq.proto +++ b/proto/SetPlayerHeadImageReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4045 +// CmdId: 4082 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerHeadImageReq { - uint32 avatar_id = 4; + uint32 avatar_id = 7; } diff --git a/proto/SetPlayerHeadImageRsp.proto b/proto/SetPlayerHeadImageRsp.proto index 5cbef4f1..57a7c4d1 100644 --- a/proto/SetPlayerHeadImageRsp.proto +++ b/proto/SetPlayerHeadImageRsp.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ProfilePicture.proto"; -// CmdId: 4090 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4047 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerHeadImageRsp { - int32 retcode = 13; - uint32 avatar_id = 3; - ProfilePicture profile_picture = 5; + ProfilePicture profile_picture = 6; + uint32 avatar_id = 5; + int32 retcode = 1; } diff --git a/proto/SetPlayerNameReq.proto b/proto/SetPlayerNameReq.proto index 962b188a..4ea11821 100644 --- a/proto/SetPlayerNameReq.proto +++ b/proto/SetPlayerNameReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 163 +// CmdId: 153 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerNameReq { - string nick_name = 8; + string nick_name = 1; } diff --git a/proto/SetPlayerNameRsp.proto b/proto/SetPlayerNameRsp.proto index c59cc222..54c2a03a 100644 --- a/proto/SetPlayerNameRsp.proto +++ b/proto/SetPlayerNameRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 124 +// CmdId: 122 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerNameRsp { - int32 retcode = 12; - string nick_name = 6; + int32 retcode = 9; + string nick_name = 14; } diff --git a/proto/SetPlayerPropReq.proto b/proto/SetPlayerPropReq.proto index 1f8e286d..61c17988 100644 --- a/proto/SetPlayerPropReq.proto +++ b/proto/SetPlayerPropReq.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PropValue.proto"; -// CmdId: 130 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 197 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerPropReq { - repeated PropValue prop_list = 14; + repeated PropValue prop_list = 7; } diff --git a/proto/SetPlayerPropRsp.proto b/proto/SetPlayerPropRsp.proto index 9c486533..4fce4c8b 100644 --- a/proto/SetPlayerPropRsp.proto +++ b/proto/SetPlayerPropRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 197 +// CmdId: 181 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerPropRsp { - int32 retcode = 5; + int32 retcode = 11; } diff --git a/proto/SetPlayerSignatureReq.proto b/proto/SetPlayerSignatureReq.proto index 5e006a60..d0b5f18a 100644 --- a/proto/SetPlayerSignatureReq.proto +++ b/proto/SetPlayerSignatureReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4097 +// CmdId: 4081 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetPlayerSignatureReq { - string signature = 15; + string signature = 3; } diff --git a/proto/SetPlayerSignatureRsp.proto b/proto/SetPlayerSignatureRsp.proto index 268760e7..010c4229 100644 --- a/proto/SetPlayerSignatureRsp.proto +++ b/proto/SetPlayerSignatureRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4098 +// CmdId: 4005 // EnetChannelId: 0 // EnetIsReliable: true message SetPlayerSignatureRsp { - int32 retcode = 14; - string signature = 6; + string signature = 1; + int32 retcode = 4; } diff --git a/proto/SetUpAvatarTeamReq.proto b/proto/SetUpAvatarTeamReq.proto index 418c3a2e..6005ca2c 100644 --- a/proto/SetUpAvatarTeamReq.proto +++ b/proto/SetUpAvatarTeamReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1753 +// CmdId: 1690 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetUpAvatarTeamReq { - uint32 team_id = 10; - repeated uint64 avatar_team_guid_list = 1; - uint64 cur_avatar_guid = 2; + uint32 team_id = 3; + repeated uint64 avatar_team_guid_list = 7; + uint64 cur_avatar_guid = 5; } diff --git a/proto/SetUpAvatarTeamRsp.proto b/proto/SetUpAvatarTeamRsp.proto index bdba9900..8567f689 100644 --- a/proto/SetUpAvatarTeamRsp.proto +++ b/proto/SetUpAvatarTeamRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1664 +// CmdId: 1646 // EnetChannelId: 0 // EnetIsReliable: true message SetUpAvatarTeamRsp { - int32 retcode = 2; - uint32 team_id = 5; - repeated uint64 avatar_team_guid_list = 12; - uint64 cur_avatar_guid = 3; + repeated uint64 avatar_team_guid_list = 1; + uint32 team_id = 6; + int32 retcode = 8; + uint64 cur_avatar_guid = 13; } diff --git a/proto/SetUpLunchBoxWidgetReq.proto b/proto/SetUpLunchBoxWidgetReq.proto index e6f4b4f8..6970b3bf 100644 --- a/proto/SetUpLunchBoxWidgetReq.proto +++ b/proto/SetUpLunchBoxWidgetReq.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "LunchBoxData.proto"; -// CmdId: 4297 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4272 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetUpLunchBoxWidgetReq { - LunchBoxData lunch_box_data = 12; + LunchBoxData lunch_box_data = 6; } diff --git a/proto/SetUpLunchBoxWidgetRsp.proto b/proto/SetUpLunchBoxWidgetRsp.proto index d58ecb56..dccd519f 100644 --- a/proto/SetUpLunchBoxWidgetRsp.proto +++ b/proto/SetUpLunchBoxWidgetRsp.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "LunchBoxData.proto"; -// CmdId: 4266 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4294 // EnetChannelId: 0 // EnetIsReliable: true message SetUpLunchBoxWidgetRsp { - int32 retcode = 9; LunchBoxData lunch_box_data = 3; + int32 retcode = 13; } diff --git a/proto/SetWidgetSlotReq.proto b/proto/SetWidgetSlotReq.proto index 72ce5a0d..2f9d581e 100644 --- a/proto/SetWidgetSlotReq.proto +++ b/proto/SetWidgetSlotReq.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotOp.proto"; import "WidgetSlotTag.proto"; -// CmdId: 4269 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4259 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message SetWidgetSlotReq { - WidgetSlotOp op = 4; - repeated WidgetSlotTag tag_list = 11; - uint32 material_id = 9; + repeated WidgetSlotTag tag_list = 15; + uint32 material_id = 6; + WidgetSlotOp op = 2; } diff --git a/proto/SetWidgetSlotRsp.proto b/proto/SetWidgetSlotRsp.proto index 821729c1..4b9a523b 100644 --- a/proto/SetWidgetSlotRsp.proto +++ b/proto/SetWidgetSlotRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotOp.proto"; import "WidgetSlotTag.proto"; -// CmdId: 4260 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4277 // EnetChannelId: 0 // EnetIsReliable: true message SetWidgetSlotRsp { - int32 retcode = 7; - WidgetSlotOp op = 14; - repeated WidgetSlotTag tag_list = 4; - uint32 material_id = 9; + repeated WidgetSlotTag tag_list = 15; + int32 retcode = 6; + uint32 material_id = 1; + WidgetSlotOp op = 4; } diff --git a/proto/Shop.proto b/proto/Shop.proto index 1b9cc4b5..a4161de3 100644 --- a/proto/Shop.proto +++ b/proto/Shop.proto @@ -1,19 +1,35 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ShopCardProduct.proto"; import "ShopConcertProduct.proto"; import "ShopGoods.proto"; import "ShopMcoinProduct.proto"; +option java_package = "emu.grasscutter.net.proto"; + message Shop { - uint32 shop_type = 1; - repeated ShopGoods goods_list = 2; - repeated ShopMcoinProduct mcoin_product_list = 3; - repeated ShopCardProduct card_product_list = 4; - uint32 next_refresh_time = 6; - uint32 city_id = 7; - uint32 city_reputation_level = 8; - repeated ShopConcertProduct concert_product_list = 9; + repeated ShopConcertProduct concert_product_list = 3; + repeated ShopGoods goods_list = 15; + uint32 city_reputation_level = 2; + repeated ShopCardProduct card_product_list = 14; + repeated ShopMcoinProduct mcoin_product_list = 7; + uint32 next_refresh_time = 11; + uint32 city_id = 10; + uint32 shop_type = 13; } diff --git a/proto/ShopCardProduct.proto b/proto/ShopCardProduct.proto index c583fbc9..cb5321f6 100644 --- a/proto/ShopCardProduct.proto +++ b/proto/ShopCardProduct.proto @@ -1,9 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - +import "ResinCard.proto"; import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ShopCardProduct { string product_id = 1; string price_tier = 2; diff --git a/proto/ShopConcertProduct.proto b/proto/ShopConcertProduct.proto index e91f4b1f..ef7d4776 100644 --- a/proto/ShopConcertProduct.proto +++ b/proto/ShopConcertProduct.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ShopGoods.proto b/proto/ShopGoods.proto index ea4a3717..bf87249e 100644 --- a/proto/ShopGoods.proto +++ b/proto/ShopGoods.proto @@ -1,28 +1,44 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ShopGoods { - uint32 goods_id = 1; - ItemParam goods_item = 2; - uint32 scoin = 3; - uint32 hcoin = 4; - repeated ItemParam cost_item_list = 5; - uint32 bought_num = 6; - uint32 buy_limit = 7; - uint32 begin_time = 8; - uint32 end_time = 9; - uint32 next_refresh_time = 10; - uint32 min_level = 11; - uint32 max_level = 12; - repeated uint32 pre_goods_id_list = 13; + uint32 discount_end_time = 258; + uint32 min_level = 8; + uint32 end_time = 11; + repeated ItemParam cost_item_list = 3; + uint32 secondary_sheet_id = 318; + uint32 hcoin = 1; uint32 mcoin = 14; - uint32 disable_type = 15; - uint32 secondary_sheet_id = 16; - uint32 discount_id = 17; - uint32 discount_begin_time = 18; - uint32 discount_end_time = 19; - uint32 single_limit = 20; + uint32 discount_id = 1998; + uint32 single_limit = 247; + uint32 goods_id = 13; + uint32 next_refresh_time = 7; + uint32 max_level = 4; + uint32 disable_type = 6; + uint32 discount_begin_time = 574; + repeated uint32 pre_goods_id_list = 2; + uint32 begin_time = 5; + uint32 scoin = 15; + uint32 bought_num = 10; + uint32 buy_limit = 12; + ItemParam goods_item = 9; } diff --git a/proto/ShopMcoinProduct.proto b/proto/ShopMcoinProduct.proto index e4ab5086..1a5bb0a0 100644 --- a/proto/ShopMcoinProduct.proto +++ b/proto/ShopMcoinProduct.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/ShortAbilityHashPair.proto b/proto/ShortAbilityHashPair.proto index 5272cc29..0f37fe5b 100644 --- a/proto/ShortAbilityHashPair.proto +++ b/proto/ShortAbilityHashPair.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message ShortAbilityHashPair { - int32 ability_name_hash = 1; - int32 ability_config_hash = 2; + sfixed32 ability_config_hash = 15; + sfixed32 ability_name_hash = 1; } diff --git a/proto/ShowAvatarInfo.proto b/proto/ShowAvatarInfo.proto index b6188c41..9e11f9f2 100644 --- a/proto/ShowAvatarInfo.proto +++ b/proto/ShowAvatarInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarExcelInfo.proto"; import "AvatarFetterInfo.proto"; import "PropValue.proto"; import "ShowEquip.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ShowAvatarInfo { uint32 avatar_id = 1; map prop_map = 2; diff --git a/proto/ShowEquip.proto b/proto/ShowEquip.proto index 29807b7a..d8ca32e5 100644 --- a/proto/ShowEquip.proto +++ b/proto/ShowEquip.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Reliquary.proto"; import "Weapon.proto"; +option java_package = "emu.grasscutter.net.proto"; + message ShowEquip { uint32 item_id = 1; oneof detail { diff --git a/proto/SkyCrystalDetectorQuickUseResult.proto b/proto/SkyCrystalDetectorQuickUseResult.proto new file mode 100644 index 00000000..86969f79 --- /dev/null +++ b/proto/SkyCrystalDetectorQuickUseResult.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2700_CCEOEOHLAPK.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message SkyCrystalDetectorQuickUseResult { + Unk2700_CCEOEOHLAPK Unk2700_COIELIGEACL = 9; + int32 retcode = 8; +} diff --git a/proto/SocialDetail.proto b/proto/SocialDetail.proto index 875ac7ed..5240a6c2 100644 --- a/proto/SocialDetail.proto +++ b/proto/SocialDetail.proto @@ -1,6 +1,20 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Birthday.proto"; import "FriendEnterHomeOption.proto"; @@ -8,6 +22,8 @@ import "FriendOnlineState.proto"; import "ProfilePicture.proto"; import "SocialShowAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message SocialDetail { uint32 uid = 1; string nickname = 2; diff --git a/proto/SocialShowAvatarInfo.proto b/proto/SocialShowAvatarInfo.proto index 6e69bb8e..e26e64bb 100644 --- a/proto/SocialShowAvatarInfo.proto +++ b/proto/SocialShowAvatarInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/StatueGadgetInfo.proto b/proto/StatueGadgetInfo.proto index 6bf5de64..b983b25f 100644 --- a/proto/StatueGadgetInfo.proto +++ b/proto/StatueGadgetInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/StopServerInfo.proto b/proto/StopServerInfo.proto index 3dc24ece..51cd9c89 100644 --- a/proto/StopServerInfo.proto +++ b/proto/StopServerInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/StoreItemChangeNotify.proto b/proto/StoreItemChangeNotify.proto index 5644b71f..d84610ca 100644 --- a/proto/StoreItemChangeNotify.proto +++ b/proto/StoreItemChangeNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Item.proto"; import "StoreType.proto"; -// CmdId: 641 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 612 // EnetChannelId: 0 // EnetIsReliable: true message StoreItemChangeNotify { - StoreType store_type = 9; - repeated Item item_list = 3; + StoreType store_type = 12; + repeated Item item_list = 10; } diff --git a/proto/StoreItemDelNotify.proto b/proto/StoreItemDelNotify.proto index 40af0508..727fcb02 100644 --- a/proto/StoreItemDelNotify.proto +++ b/proto/StoreItemDelNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "StoreType.proto"; -// CmdId: 637 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 635 // EnetChannelId: 0 // EnetIsReliable: true message StoreItemDelNotify { - StoreType store_type = 14; - repeated uint64 guid_list = 10; + repeated uint64 guid_list = 12; + StoreType store_type = 15; } diff --git a/proto/StoreType.proto b/proto/StoreType.proto index 29108515..797e3006 100644 --- a/proto/StoreType.proto +++ b/proto/StoreType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/StoreWeightLimitNotify.proto b/proto/StoreWeightLimitNotify.proto index 097f6ee0..8acedfb2 100644 --- a/proto/StoreWeightLimitNotify.proto +++ b/proto/StoreWeightLimitNotify.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "StoreType.proto"; -// CmdId: 631 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 698 // EnetChannelId: 0 // EnetIsReliable: true message StoreWeightLimitNotify { - StoreType store_type = 4; - uint32 weight_limit = 2; - uint32 material_count_limit = 1; - uint32 weapon_count_limit = 5; + uint32 weapon_count_limit = 2; + StoreType store_type = 7; + uint32 material_count_limit = 4; uint32 reliquary_count_limit = 6; - uint32 furniture_count_limit = 8; + uint32 furniture_count_limit = 9; + uint32 weight_limit = 15; } diff --git a/proto/StrengthenPointData.proto b/proto/StrengthenPointData.proto index 51d42316..a975db44 100644 --- a/proto/StrengthenPointData.proto +++ b/proto/StrengthenPointData.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message StrengthenPointData { - uint32 base_point = 1; - uint32 cur_point = 2; + uint32 base_point = 10; + uint32 cur_point = 11; } diff --git a/proto/SummerTimeV2DungeonSettleInfo.proto b/proto/SummerTimeV2DungeonSettleInfo.proto new file mode 100644 index 00000000..8a67d8b5 --- /dev/null +++ b/proto/SummerTimeV2DungeonSettleInfo.proto @@ -0,0 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2DungeonSettleInfo { + bool is_success = 5; + uint32 Unk2800_ELHBCNPKOJG = 2; + uint32 Unk2800_HDEFJKGDNEH = 11; +} diff --git a/proto/SyncScenePlayTeamEntityNotify.proto b/proto/SyncScenePlayTeamEntityNotify.proto index 5e48cb64..535a0f39 100644 --- a/proto/SyncScenePlayTeamEntityNotify.proto +++ b/proto/SyncScenePlayTeamEntityNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayTeamEntityInfo.proto"; -// CmdId: 3096 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3333 // EnetChannelId: 0 // EnetIsReliable: true message SyncScenePlayTeamEntityNotify { - uint32 scene_id = 13; - repeated PlayTeamEntityInfo entity_info_list = 2; + uint32 scene_id = 2; + repeated PlayTeamEntityInfo entity_info_list = 3; } diff --git a/proto/SyncTeamEntityNotify.proto b/proto/SyncTeamEntityNotify.proto index ca32092b..57072686 100644 --- a/proto/SyncTeamEntityNotify.proto +++ b/proto/SyncTeamEntityNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TeamEntityInfo.proto"; -// CmdId: 334 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 317 // EnetChannelId: 0 // EnetIsReliable: true message SyncTeamEntityNotify { uint32 scene_id = 13; - repeated TeamEntityInfo team_entity_info_list = 2; + repeated TeamEntityInfo team_entity_info_list = 15; } diff --git a/proto/TakeAchievementRewardReq.proto b/proto/TakeAchievementRewardReq.proto index 1534895b..3d9a027d 100644 --- a/proto/TakeAchievementRewardReq.proto +++ b/proto/TakeAchievementRewardReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2693 +// CmdId: 2675 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakeAchievementRewardReq { - repeated uint32 id_list = 2; + repeated uint32 id_list = 13; } diff --git a/proto/TakeBattlePassMissionPointReq.proto b/proto/TakeBattlePassMissionPointReq.proto index b0bba957..cec92cab 100644 --- a/proto/TakeBattlePassMissionPointReq.proto +++ b/proto/TakeBattlePassMissionPointReq.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2626 +// CmdId: 2629 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakeBattlePassMissionPointReq { - repeated uint32 mission_id_list = 7; + repeated uint32 mission_id_list = 5; } diff --git a/proto/TakeBattlePassMissionPointRsp.proto b/proto/TakeBattlePassMissionPointRsp.proto index bd6fa87e..3cd1d5b4 100644 --- a/proto/TakeBattlePassMissionPointRsp.proto +++ b/proto/TakeBattlePassMissionPointRsp.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2647 +// CmdId: 2622 // EnetChannelId: 0 // EnetIsReliable: true message TakeBattlePassMissionPointRsp { - int32 retcode = 12; - repeated uint32 mission_id_list = 2; + int32 retcode = 4; + repeated uint32 mission_id_list = 11; } diff --git a/proto/TakeBattlePassRewardReq.proto b/proto/TakeBattlePassRewardReq.proto index 3da3c006..73423b11 100644 --- a/proto/TakeBattlePassRewardReq.proto +++ b/proto/TakeBattlePassRewardReq.proto @@ -4,10 +4,10 @@ option java_package = "emu.grasscutter.net.proto"; import "BattlePassRewardTakeOption.proto"; -// CmdId: 2628 +// CmdId: 2602 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakeBattlePassRewardReq { - repeated BattlePassRewardTakeOption take_option_list = 4; + repeated BattlePassRewardTakeOption take_option_list = 12; } diff --git a/proto/TakeBattlePassRewardRsp.proto b/proto/TakeBattlePassRewardRsp.proto index e4eb03db..4e8b62ea 100644 --- a/proto/TakeBattlePassRewardRsp.proto +++ b/proto/TakeBattlePassRewardRsp.proto @@ -5,11 +5,11 @@ option java_package = "emu.grasscutter.net.proto"; import "BattlePassRewardTakeOption.proto"; import "ItemParam.proto"; -// CmdId: 2603 +// CmdId: 2631 // EnetChannelId: 0 // EnetIsReliable: true message TakeBattlePassRewardRsp { - int32 retcode = 2; - repeated BattlePassRewardTakeOption take_option_list = 1; - repeated ItemParam item_list = 5; + int32 retcode = 13; + repeated BattlePassRewardTakeOption take_option_list = 9; + repeated ItemParam item_list = 7; } diff --git a/proto/TakeFurnitureMakeReq.proto b/proto/TakeFurnitureMakeReq.proto index d2f8b05f..dab0c612 100644 --- a/proto/TakeFurnitureMakeReq.proto +++ b/proto/TakeFurnitureMakeReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4768 +// CmdId: 4772 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakeFurnitureMakeReq { - uint32 index = 9; - uint32 make_id = 4; - bool is_fast_finish = 2; + uint32 index = 8; + bool is_fast_finish = 12; + uint32 make_id = 7; } diff --git a/proto/TakeFurnitureMakeRsp.proto b/proto/TakeFurnitureMakeRsp.proto index 4c33aeb3..5ffb640f 100644 --- a/proto/TakeFurnitureMakeRsp.proto +++ b/proto/TakeFurnitureMakeRsp.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "FurnitureMakeSlot.proto"; import "ItemParam.proto"; -// CmdId: 4599 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4769 // EnetChannelId: 0 // EnetIsReliable: true message TakeFurnitureMakeRsp { + FurnitureMakeSlot furniture_make_slot = 8; + repeated ItemParam return_item_list = 2; + uint32 make_id = 6; int32 retcode = 9; - uint32 make_id = 2; - FurnitureMakeSlot furniture_make_slot = 15; - repeated ItemParam output_item_list = 10; - repeated ItemParam return_item_list = 5; + repeated ItemParam output_item_list = 14; } diff --git a/proto/TakePlayerLevelRewardReq.proto b/proto/TakePlayerLevelRewardReq.proto index e5483d66..a1fb1c23 100644 --- a/proto/TakePlayerLevelRewardReq.proto +++ b/proto/TakePlayerLevelRewardReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 160 +// CmdId: 129 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakePlayerLevelRewardReq { - uint32 level = 5; + uint32 level = 3; } diff --git a/proto/TakePlayerLevelRewardRsp.proto b/proto/TakePlayerLevelRewardRsp.proto index d6afc7f5..09485f10 100644 --- a/proto/TakePlayerLevelRewardRsp.proto +++ b/proto/TakePlayerLevelRewardRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 177 +// CmdId: 157 // EnetChannelId: 0 // EnetIsReliable: true message TakePlayerLevelRewardRsp { - int32 retcode = 14; - uint32 level = 13; - uint32 reward_id = 12; + uint32 reward_id = 9; + int32 retcode = 13; + uint32 level = 6; } diff --git a/proto/TakeoffEquipReq.proto b/proto/TakeoffEquipReq.proto index 3275c5fe..e0aa4a3b 100644 --- a/proto/TakeoffEquipReq.proto +++ b/proto/TakeoffEquipReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 698 +// CmdId: 605 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TakeoffEquipReq { - uint64 avatar_guid = 15; - uint32 slot = 9; + uint64 avatar_guid = 8; + uint32 slot = 15; } diff --git a/proto/TakeoffEquipRsp.proto b/proto/TakeoffEquipRsp.proto index 834a6fe3..9817c41e 100644 --- a/proto/TakeoffEquipRsp.proto +++ b/proto/TakeoffEquipRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 645 +// CmdId: 682 // EnetChannelId: 0 // EnetIsReliable: true message TakeoffEquipRsp { - int32 retcode = 8; - uint64 avatar_guid = 3; - uint32 slot = 4; + uint64 avatar_guid = 9; + int32 retcode = 6; + uint32 slot = 10; } diff --git a/proto/TeamEnterSceneInfo.proto b/proto/TeamEnterSceneInfo.proto index 3d26987b..aa18e9b3 100644 --- a/proto/TeamEnterSceneInfo.proto +++ b/proto/TeamEnterSceneInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilityControlBlock.proto"; import "AbilitySyncStateInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message TeamEnterSceneInfo { - uint32 team_entity_id = 1; - AbilitySyncStateInfo team_ability_info = 2; - AbilityControlBlock ability_control_block = 3; + AbilityControlBlock ability_control_block = 7; + AbilitySyncStateInfo team_ability_info = 10; + uint32 team_entity_id = 15; } diff --git a/proto/TeamEntityInfo.proto b/proto/TeamEntityInfo.proto index 9b09ff01..b83f64ac 100644 --- a/proto/TeamEntityInfo.proto +++ b/proto/TeamEntityInfo.proto @@ -1,11 +1,27 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AbilitySyncStateInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + message TeamEntityInfo { - uint32 team_entity_id = 1; - uint32 authority_peer_id = 2; - AbilitySyncStateInfo team_ability_info = 3; + uint32 authority_peer_id = 10; + AbilitySyncStateInfo team_ability_info = 9; + uint32 team_entity_id = 8; } diff --git a/proto/TeamResonanceChangeNotify.proto b/proto/TeamResonanceChangeNotify.proto index fbebbed8..353779ed 100644 --- a/proto/TeamResonanceChangeNotify.proto +++ b/proto/TeamResonanceChangeNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "AvatarTeamResonanceInfo.proto"; -// CmdId: 1045 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 1082 // EnetChannelId: 0 // EnetIsReliable: true message TeamResonanceChangeNotify { - repeated AvatarTeamResonanceInfo info_list = 15; + repeated AvatarTeamResonanceInfo info_list = 1; } diff --git a/proto/TowerAllDataRsp.proto b/proto/TowerAllDataRsp.proto index 414084f6..35210333 100644 --- a/proto/TowerAllDataRsp.proto +++ b/proto/TowerAllDataRsp.proto @@ -1,30 +1,46 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerCurLevelRecord.proto"; import "TowerFloorRecord.proto"; import "TowerMonthlyBrief.proto"; -// CmdId: 2449 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2473 // EnetChannelId: 0 // EnetIsReliable: true message TowerAllDataRsp { - uint32 tower_schedule_id = 13; - repeated TowerFloorRecord tower_floor_record_list = 12; - uint32 daily_floor_id = 9; - uint32 daily_level_index = 6; - TowerCurLevelRecord cur_level_record = 2; - uint32 next_schedule_change_time = 8; - map floor_open_time_map = 11; - bool is_first_interact = 14; - TowerMonthlyBrief monthly_brief = 1; - uint32 skip_to_floor_index = 3; - uint32 commemorative_reward_id = 15; - map skip_floor_granted_reward_item_map = 5; - uint32 valid_tower_record_num = 10; - int32 retcode = 4; - bool is_finished_entrance_floor = 7; - uint32 schedule_start_time = 490; - TowerMonthlyBrief last_schedule_monthly_brief = 395; + uint32 tower_schedule_id = 10; + uint32 daily_level_index = 9; + map skip_floor_granted_reward_item_map = 12; + bool is_first_interact = 3; + bool is_finished_entrance_floor = 1; + repeated TowerFloorRecord tower_floor_record_list = 5; + uint32 daily_floor_id = 11; + uint32 commemorative_reward_id = 13; + TowerMonthlyBrief last_schedule_monthly_brief = 1222; + uint32 next_schedule_change_time = 6; + uint32 valid_tower_record_num = 7; + uint32 skip_to_floor_index = 2; + map floor_open_time_map = 4; + TowerCurLevelRecord cur_level_record = 15; + int32 retcode = 8; + uint32 schedule_start_time = 914; + TowerMonthlyBrief monthly_brief = 14; } diff --git a/proto/TowerBuffSelectReq.proto b/proto/TowerBuffSelectReq.proto index 3ecd6984..bb0511d8 100644 --- a/proto/TowerBuffSelectReq.proto +++ b/proto/TowerBuffSelectReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2407 +// CmdId: 2448 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TowerBuffSelectReq { - uint32 tower_buff_id = 2; + uint32 tower_buff_id = 5; } diff --git a/proto/TowerBuffSelectRsp.proto b/proto/TowerBuffSelectRsp.proto index a2f6e4b7..c2cc01ee 100644 --- a/proto/TowerBuffSelectRsp.proto +++ b/proto/TowerBuffSelectRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2430 +// CmdId: 2497 // EnetChannelId: 0 // EnetIsReliable: true message TowerBuffSelectRsp { - int32 retcode = 15; - uint32 tower_buff_id = 6; + int32 retcode = 11; + uint32 tower_buff_id = 13; } diff --git a/proto/TowerCurLevelRecord.proto b/proto/TowerCurLevelRecord.proto index 42b3701b..6ed1b220 100644 --- a/proto/TowerCurLevelRecord.proto +++ b/proto/TowerCurLevelRecord.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerTeam.proto"; +option java_package = "emu.grasscutter.net.proto"; + message TowerCurLevelRecord { - uint32 cur_floor_id = 1; - uint32 cur_level_index = 2; - repeated TowerTeam tower_team_list = 3; + repeated TowerTeam tower_team_list = 8; + bool is_empty = 6; repeated uint32 buff_id_list = 4; - bool is_empty = 5; - bool MPLIGMAKFAM = 6; + bool Unk2700_CBPNPEBMPOH = 2; + uint32 cur_level_index = 1; + uint32 cur_floor_id = 15; } diff --git a/proto/TowerCurLevelRecordChangeNotify.proto b/proto/TowerCurLevelRecordChangeNotify.proto index 997ec674..66d57f25 100644 --- a/proto/TowerCurLevelRecordChangeNotify.proto +++ b/proto/TowerCurLevelRecordChangeNotify.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerCurLevelRecord.proto"; -// CmdId: 2441 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2412 // EnetChannelId: 0 // EnetIsReliable: true message TowerCurLevelRecordChangeNotify { diff --git a/proto/TowerEnterLevelReq.proto b/proto/TowerEnterLevelReq.proto index 8334a01e..0fadef4a 100644 --- a/proto/TowerEnterLevelReq.proto +++ b/proto/TowerEnterLevelReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2455 +// CmdId: 2431 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TowerEnterLevelReq { - uint32 enter_point_id = 4; + uint32 enter_point_id = 3; } diff --git a/proto/TowerEnterLevelRsp.proto b/proto/TowerEnterLevelRsp.proto index 255e2efe..8f5708a1 100644 --- a/proto/TowerEnterLevelRsp.proto +++ b/proto/TowerEnterLevelRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2427 +// CmdId: 2475 // EnetChannelId: 0 // EnetIsReliable: true message TowerEnterLevelRsp { - int32 retcode = 14; - uint32 floor_id = 6; - uint32 level_index = 8; - repeated uint32 tower_buff_id_list = 7; + repeated uint32 tower_buff_id_list = 10; + int32 retcode = 1; + uint32 level_index = 14; + uint32 floor_id = 5; } diff --git a/proto/TowerFloorRecord.proto b/proto/TowerFloorRecord.proto index d5a44c8b..47ba1444 100644 --- a/proto/TowerFloorRecord.proto +++ b/proto/TowerFloorRecord.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerLevelRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + message TowerFloorRecord { - uint32 floor_id = 1; - map passed_level_map = 2; - uint32 floor_star_reward_progress = 3; - repeated TowerLevelRecord passed_level_record_list = 4; + uint32 floor_star_reward_progress = 15; + map passed_level_map = 8; + uint32 floor_id = 12; + repeated TowerLevelRecord passed_level_record_list = 2; } diff --git a/proto/TowerFloorRecordChangeNotify.proto b/proto/TowerFloorRecordChangeNotify.proto index 9d8d600d..337a3924 100644 --- a/proto/TowerFloorRecordChangeNotify.proto +++ b/proto/TowerFloorRecordChangeNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerFloorRecord.proto"; -// CmdId: 2431 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2498 // EnetChannelId: 0 // EnetIsReliable: true message TowerFloorRecordChangeNotify { - repeated TowerFloorRecord tower_floor_record_list = 9; - bool is_finished_entrance_floor = 1; + bool is_finished_entrance_floor = 11; + repeated TowerFloorRecord tower_floor_record_list = 8; } diff --git a/proto/TowerLevelEndNotify.proto b/proto/TowerLevelEndNotify.proto index 36db9969..6ac17e5c 100644 --- a/proto/TowerLevelEndNotify.proto +++ b/proto/TowerLevelEndNotify.proto @@ -1,18 +1,34 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 2442 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2495 // EnetChannelId: 0 // EnetIsReliable: true message TowerLevelEndNotify { - bool is_success = 14; - repeated uint32 finished_star_cond_list = 1; - repeated ItemParam reward_item_list = 9; - uint32 continue_state = 2; - uint32 next_floor_id = 8; + uint32 next_floor_id = 4; + repeated ItemParam reward_item_list = 12; + uint32 continue_state = 15; + bool is_success = 5; + repeated uint32 finished_star_cond_list = 6; enum ContinueStateType { CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0; diff --git a/proto/TowerLevelRecord.proto b/proto/TowerLevelRecord.proto index 9546f072..43c45d23 100644 --- a/proto/TowerLevelRecord.proto +++ b/proto/TowerLevelRecord.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message TowerLevelRecord { - uint32 level_id = 1; - repeated uint32 satisfied_cond_list = 2; + repeated uint32 satisfied_cond_list = 13; + uint32 level_id = 10; } diff --git a/proto/TowerLevelStarCondData.proto b/proto/TowerLevelStarCondData.proto index d2fb51a8..e1b0a17c 100644 --- a/proto/TowerLevelStarCondData.proto +++ b/proto/TowerLevelStarCondData.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message TowerLevelStarCondData { - uint32 star_cond_index = 3; - uint32 cond_value = 4; - bool is_pause = 5; - bool OAFMGGMJPIL = 6; + bool Unk2700_HIFMJMAHEMB = 15; + uint32 cond_value = 9; + bool is_pause = 13; + uint32 star_cond_index = 6; } diff --git a/proto/TowerLevelStarCondNotify.proto b/proto/TowerLevelStarCondNotify.proto index a0b9b14c..dcffd87f 100644 --- a/proto/TowerLevelStarCondNotify.proto +++ b/proto/TowerLevelStarCondNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerLevelStarCondData.proto"; -// CmdId: 2401 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2406 // EnetChannelId: 0 // EnetIsReliable: true message TowerLevelStarCondNotify { - uint32 floor_id = 3; - uint32 level_index = 6; - repeated TowerLevelStarCondData cond_data_list = 12; + uint32 level_index = 14; + uint32 floor_id = 11; + repeated TowerLevelStarCondData cond_data_list = 9; } diff --git a/proto/TowerMiddleLevelChangeTeamNotify.proto b/proto/TowerMiddleLevelChangeTeamNotify.proto index 21ff9f38..5e425d33 100644 --- a/proto/TowerMiddleLevelChangeTeamNotify.proto +++ b/proto/TowerMiddleLevelChangeTeamNotify.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2411 +// CmdId: 2434 // EnetChannelId: 0 // EnetIsReliable: true message TowerMiddleLevelChangeTeamNotify { diff --git a/proto/TowerMonthlyBrief.proto b/proto/TowerMonthlyBrief.proto index bc3b48cc..b527f70d 100644 --- a/proto/TowerMonthlyBrief.proto +++ b/proto/TowerMonthlyBrief.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message TowerMonthlyBrief { - uint32 tower_schedule_id = 1; - uint32 best_floor_index = 2; + uint32 tower_schedule_id = 15; + uint32 best_floor_index = 6; uint32 best_level_index = 3; - uint32 total_star_count = 4; + uint32 total_star_count = 12; } diff --git a/proto/TowerTeam.proto b/proto/TowerTeam.proto index 295b403b..97c05754 100644 --- a/proto/TowerTeam.proto +++ b/proto/TowerTeam.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message TowerTeam { - uint32 tower_team_id = 1; - repeated uint64 avatar_guid_list = 2; + uint32 tower_team_id = 3; + repeated uint64 avatar_guid_list = 14; } diff --git a/proto/TowerTeamSelectReq.proto b/proto/TowerTeamSelectReq.proto index 1f9fd18e..b3f6b3fc 100644 --- a/proto/TowerTeamSelectReq.proto +++ b/proto/TowerTeamSelectReq.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "TowerTeam.proto"; -// CmdId: 2417 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 2421 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TowerTeamSelectReq { - uint32 floor_id = 15; - repeated TowerTeam tower_team_list = 2; + repeated TowerTeam tower_team_list = 11; + uint32 floor_id = 10; } diff --git a/proto/TowerTeamSelectRsp.proto b/proto/TowerTeamSelectRsp.proto index 3bfab9df..d5325b77 100644 --- a/proto/TowerTeamSelectRsp.proto +++ b/proto/TowerTeamSelectRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2485 +// CmdId: 2403 // EnetChannelId: 0 // EnetIsReliable: true message TowerTeamSelectRsp { - int32 retcode = 1; + int32 retcode = 8; } diff --git a/proto/TrackingIOInfo.proto b/proto/TrackingIOInfo.proto index b5ddcd55..48af00a4 100644 --- a/proto/TrackingIOInfo.proto +++ b/proto/TrackingIOInfo.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message TrackingIOInfo { - string appid = 1; - string deviceid = 2; - string mac = 3; - string rydevicetype = 4; + string rydevicetype = 11; + string mac = 6; + string deviceid = 9; string client_tz = 5; - string current_caid = 6; - string cached_caid = 7; + string current_caid = 7; + string cached_caid = 15; + string appid = 1; } diff --git a/proto/TrialAvatarFirstPassDungeonNotify.proto b/proto/TrialAvatarFirstPassDungeonNotify.proto index ba873752..47d28c36 100644 --- a/proto/TrialAvatarFirstPassDungeonNotify.proto +++ b/proto/TrialAvatarFirstPassDungeonNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 2137 +// CmdId: 2013 // EnetChannelId: 0 // EnetIsReliable: true message TrialAvatarFirstPassDungeonNotify { - uint32 trial_avatar_index_id = 2; + uint32 trial_avatar_index_id = 10; } diff --git a/proto/TrialAvatarGrantRecord.proto b/proto/TrialAvatarGrantRecord.proto index dad252e1..d1cc3cdd 100644 --- a/proto/TrialAvatarGrantRecord.proto +++ b/proto/TrialAvatarGrantRecord.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -13,8 +29,9 @@ message TrialAvatarGrantRecord { GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE = 3; GRANT_REASON_BY_MIST_TRIAL_ACTIVITY = 4; GRANT_REASON_BY_SUMO_ACTIVITY = 5; - GRANT_REASON_ELPMDIEIOHP = 6; - GRANT_REASON_FALPDBLGHJB = 7; - GRANT_REASON_GAMADMGGMBC = 8; + GRANT_REASON_Unk2700_ELPMDIEIOHP = 6; + GRANT_REASON_Unk2700_FALPDBLGHJB = 7; + GRANT_REASON_Unk2700_GAMADMGGMBC = 8; + GRANT_REASON_Unk2800_FIIDJHAKMOI = 9; } } diff --git a/proto/TrialAvatarInfo.proto b/proto/TrialAvatarInfo.proto index 1c17e904..00f7a444 100644 --- a/proto/TrialAvatarInfo.proto +++ b/proto/TrialAvatarInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Item.proto"; import "TrialAvatarGrantRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + message TrialAvatarInfo { uint32 trial_avatar_id = 1; repeated Item trial_equip_list = 2; diff --git a/proto/TryEnterHomeReq.proto b/proto/TryEnterHomeReq.proto index d1563a13..928ee700 100644 --- a/proto/TryEnterHomeReq.proto +++ b/proto/TryEnterHomeReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4553 +// CmdId: 4482 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message TryEnterHomeReq { - uint32 target_uid = 10; - uint32 target_point = 13; + uint32 target_uid = 3; + uint32 target_point = 9; } diff --git a/proto/TryEnterHomeRsp.proto b/proto/TryEnterHomeRsp.proto index 74da867c..a8fa970d 100644 --- a/proto/TryEnterHomeRsp.proto +++ b/proto/TryEnterHomeRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4610 +// CmdId: 4653 // EnetChannelId: 0 // EnetIsReliable: true message TryEnterHomeRsp { - int32 retcode = 12; - uint32 target_uid = 2; - repeated uint32 param_list = 11; + uint32 target_uid = 15; + int32 retcode = 4; + repeated uint32 param_list = 10; } diff --git a/proto/Uint32Pair.proto b/proto/Uint32Pair.proto index 690943c2..8d1223cc 100644 --- a/proto/Uint32Pair.proto +++ b/proto/Uint32Pair.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/UnionCmd.proto b/proto/UnionCmd.proto index 7d7adea1..72a349e6 100644 --- a/proto/UnionCmd.proto +++ b/proto/UnionCmd.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message UnionCmd { - uint32 message_id = 1; - bytes body = 2; + bytes body = 14; + uint32 message_id = 8; } diff --git a/proto/UnionCmdNotify.proto b/proto/UnionCmdNotify.proto index 0f10f1fc..2bba482b 100644 --- a/proto/UnionCmdNotify.proto +++ b/proto/UnionCmdNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "UnionCmd.proto"; -// CmdId: 98 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 5 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UnionCmdNotify { - repeated UnionCmd cmd_list = 13; + repeated UnionCmd cmd_list = 1; } diff --git a/proto/Unk2700_BIEMCDLIFOD.proto b/proto/Unk2700_BIEMCDLIFOD.proto new file mode 100644 index 00000000..64d11bc1 --- /dev/null +++ b/proto/Unk2700_BIEMCDLIFOD.proto @@ -0,0 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2700_BIEMCDLIFOD { + uint32 guid = 11; + Vector spawn_pos = 14; + repeated int32 included_furniture_index_list = 12; +} diff --git a/proto/Unk2700_CBJEDMGOBPL.proto b/proto/Unk2700_CBJEDMGOBPL.proto new file mode 100644 index 00000000..b24a2427 --- /dev/null +++ b/proto/Unk2700_CBJEDMGOBPL.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum Unk2700_CBJEDMGOBPL { + Unk2700_CBJEDMGOBPL_Unk2700_MBLDLJOKLBL = 0; + Unk2700_CBJEDMGOBPL_Unk2700_ILOMIKADKGD = 1; + Unk2700_CBJEDMGOBPL_Unk2700_HGHOEJGHMDH = 2; + Unk2700_CBJEDMGOBPL_Unk2700_PJCONIDJGOD = 3; +} diff --git a/proto/Unk2700_CCEOEOHLAPK.proto b/proto/Unk2700_CCEOEOHLAPK.proto new file mode 100644 index 00000000..744be3f9 --- /dev/null +++ b/proto/Unk2700_CCEOEOHLAPK.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2700_CCEOEOHLAPK { + bool is_hint_valid = 3; + Vector hint_center_pos = 8; + uint32 group_id = 6; + uint32 config_id = 9; +} diff --git a/proto/Unk2700_FDEGJOCDDGH.proto b/proto/Unk2700_FDEGJOCDDGH.proto new file mode 100644 index 00000000..09b5107c --- /dev/null +++ b/proto/Unk2700_FDEGJOCDDGH.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2700_FDEGJOCDDGH { + uint32 cur_progress = 9; + uint32 challenge_index = 10; + bool is_success = 4; + uint32 challenge_id = 8; +} diff --git a/proto/Unk2700_FHOKHHBGPEG.proto b/proto/Unk2700_FHOKHHBGPEG.proto new file mode 100644 index 00000000..c04de3c9 --- /dev/null +++ b/proto/Unk2700_FHOKHHBGPEG.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum Unk2700_FHOKHHBGPEG { + Unk2700_FHOKHHBGPEG_NONE = 0; + Unk2700_FHOKHHBGPEG_FAIL = 1; + Unk2700_FHOKHHBGPEG_SUCC = 2; + Unk2700_FHOKHHBGPEG_Unk2700_GGDJFCKGBGE = 3; +} diff --git a/proto/Unk2700_GOHMLAFNBGF.proto b/proto/Unk2700_GOHMLAFNBGF.proto new file mode 100644 index 00000000..59753c11 --- /dev/null +++ b/proto/Unk2700_GOHMLAFNBGF.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "HomeFurnitureData.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2700_GOHMLAFNBGF { + uint32 Unk2700_OALCFEGIBOL = 8; + repeated HomeFurnitureData Unk2700_CKPNCKDIJMB = 3; +} diff --git a/proto/Unk2700_HFMDKDHCJCM.proto b/proto/Unk2700_HFMDKDHCJCM.proto new file mode 100644 index 00000000..08b549bf --- /dev/null +++ b/proto/Unk2700_HFMDKDHCJCM.proto @@ -0,0 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2700_HFMDKDHCJCM { + Vector Unk2700_CMOMNFNGCGB = 1; +} diff --git a/proto/Unk2700_OCOKILBJIPJ.proto b/proto/Unk2700_OCOKILBJIPJ.proto new file mode 100644 index 00000000..595dbf1d --- /dev/null +++ b/proto/Unk2700_OCOKILBJIPJ.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum Unk2700_OCOKILBJIPJ { + Unk2700_OCOKILBJIPJ_Unk2700_MPGOEMPNCEH = 0; + Unk2700_OCOKILBJIPJ_Unk2700_PDKBOLMIHMA = 1; + Unk2700_OCOKILBJIPJ_Unk2700_MCEBEJONJGH = 2; + Unk2700_OCOKILBJIPJ_Unk2700_MCNDLHHBBGJ = 3; +} diff --git a/proto/Unk2800_FDLKPKFOIIK.proto b/proto/Unk2800_FDLKPKFOIIK.proto new file mode 100644 index 00000000..c9239396 --- /dev/null +++ b/proto/Unk2800_FDLKPKFOIIK.proto @@ -0,0 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum Unk2800_FDLKPKFOIIK { + Unk2800_FDLKPKFOIIK_NONE = 0; + Unk2800_FDLKPKFOIIK_START = 1; + Unk2800_FDLKPKFOIIK_Unk2800_FDPBDHDHAKO = 2; +} diff --git a/proto/Unk2800_FHMOLALLEEN.proto b/proto/Unk2800_FHMOLALLEEN.proto new file mode 100644 index 00000000..b3afcc30 --- /dev/null +++ b/proto/Unk2800_FHMOLALLEEN.proto @@ -0,0 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2800_FHMOLALLEEN { + repeated uint32 argument_list = 1; +} diff --git a/proto/Unk2800_JKLFAJKDLDG.proto b/proto/Unk2800_JKLFAJKDLDG.proto new file mode 100644 index 00000000..05522c78 --- /dev/null +++ b/proto/Unk2800_JKLFAJKDLDG.proto @@ -0,0 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2800_JKLFAJKDLDG { + uint32 quest_id = 13; + uint32 point_id = 6; +} diff --git a/proto/Unk2800_MHCFAGCKGIB.proto b/proto/Unk2800_MHCFAGCKGIB.proto new file mode 100644 index 00000000..832c5b6c --- /dev/null +++ b/proto/Unk2800_MHCFAGCKGIB.proto @@ -0,0 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "DungeonEntryInfo.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2800_MHCFAGCKGIB { + uint32 scene_id = 12; + uint32 point_id = 6; + repeated DungeonEntryInfo dungeon_entry_list = 1; + uint32 recommend_dungeon_id = 8; +} diff --git a/proto/Unk2800_PHPHMILPOLC.proto b/proto/Unk2800_PHPHMILPOLC.proto new file mode 100644 index 00000000..c8e7320f --- /dev/null +++ b/proto/Unk2800_PHPHMILPOLC.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Unk2800_FDLKPKFOIIK.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message Unk2800_PHPHMILPOLC { + Unk2800_FDLKPKFOIIK state = 10; + uint32 Unk2800_CLOCMPFBGMD = 4; +} diff --git a/proto/UnlockAvatarTalentReq.proto b/proto/UnlockAvatarTalentReq.proto index 8eb49c97..25428237 100644 --- a/proto/UnlockAvatarTalentReq.proto +++ b/proto/UnlockAvatarTalentReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1009 +// CmdId: 1072 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UnlockAvatarTalentReq { - uint64 avatar_guid = 13; - uint32 talent_id = 9; + uint32 talent_id = 13; + uint64 avatar_guid = 3; } diff --git a/proto/UnlockAvatarTalentRsp.proto b/proto/UnlockAvatarTalentRsp.proto index 81cd6f02..d7b0949d 100644 --- a/proto/UnlockAvatarTalentRsp.proto +++ b/proto/UnlockAvatarTalentRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 1031 +// CmdId: 1098 // EnetChannelId: 0 // EnetIsReliable: true message UnlockAvatarTalentRsp { - int32 retcode = 2; - uint64 avatar_guid = 14; - uint32 talent_id = 12; + uint32 talent_id = 2; + int32 retcode = 3; + uint64 avatar_guid = 10; } diff --git a/proto/UnlockNameCardNotify.proto b/proto/UnlockNameCardNotify.proto index e8475c0d..41fac999 100644 --- a/proto/UnlockNameCardNotify.proto +++ b/proto/UnlockNameCardNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4001 +// CmdId: 4006 // EnetChannelId: 0 // EnetIsReliable: true message UnlockNameCardNotify { - uint32 name_card_id = 14; + uint32 name_card_id = 8; } diff --git a/proto/UnlockPersonalLineReq.proto b/proto/UnlockPersonalLineReq.proto index 582d5dc9..c93fe627 100644 --- a/proto/UnlockPersonalLineReq.proto +++ b/proto/UnlockPersonalLineReq.proto @@ -2,10 +2,10 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 476 +// CmdId: 449 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UnlockPersonalLineReq { - uint32 personal_line_id = 8; + uint32 personal_line_id = 4; } diff --git a/proto/UnlockPersonalLineRsp.proto b/proto/UnlockPersonalLineRsp.proto index bddeb520..213b0023 100644 --- a/proto/UnlockPersonalLineRsp.proto +++ b/proto/UnlockPersonalLineRsp.proto @@ -2,14 +2,14 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 472 +// CmdId: 491 // EnetChannelId: 0 // EnetIsReliable: true message UnlockPersonalLineRsp { - int32 retcode = 7; - uint32 personal_line_id = 8; + int32 retcode = 4; + uint32 personal_line_id = 10; oneof param { - uint32 level = 1; - uint32 chapter_id = 15; + uint32 level = 11; + uint32 chapter_id = 6; } } diff --git a/proto/UnlockTransPointReq.proto b/proto/UnlockTransPointReq.proto new file mode 100644 index 00000000..9e7b55e1 --- /dev/null +++ b/proto/UnlockTransPointReq.proto @@ -0,0 +1,28 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3035 +// EnetChannelId: 1 +// EnetIsReliable: true +// IsAllowClient: true +message UnlockTransPointReq { + uint32 point_id = 12; + uint32 scene_id = 10; +} diff --git a/proto/UnlockTransPointRsp.proto b/proto/UnlockTransPointRsp.proto new file mode 100644 index 00000000..a024997d --- /dev/null +++ b/proto/UnlockTransPointRsp.proto @@ -0,0 +1,26 @@ +// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. +// Copyright (C) 2022 Sorapointa Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3426 +// EnetChannelId: 1 +// EnetIsReliable: true +message UnlockTransPointRsp { + int32 retcode = 12; +} diff --git a/proto/UnlockedFurnitureFormulaDataNotify.proto b/proto/UnlockedFurnitureFormulaDataNotify.proto index 08236793..9bb814f8 100644 --- a/proto/UnlockedFurnitureFormulaDataNotify.proto +++ b/proto/UnlockedFurnitureFormulaDataNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4680 +// CmdId: 4846 // EnetChannelId: 0 // EnetIsReliable: true message UnlockedFurnitureFormulaDataNotify { - bool is_all = 14; - repeated uint32 furniture_id_list = 7; + repeated uint32 furniture_id_list = 15; + bool is_all = 11; } diff --git a/proto/UnlockedFurnitureSuiteDataNotify.proto b/proto/UnlockedFurnitureSuiteDataNotify.proto index dc0667c0..9b8aafa9 100644 --- a/proto/UnlockedFurnitureSuiteDataNotify.proto +++ b/proto/UnlockedFurnitureSuiteDataNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4717 +// CmdId: 4454 // EnetChannelId: 0 // EnetIsReliable: true message UnlockedFurnitureSuiteDataNotify { bool is_all = 10; - repeated uint32 furniture_suite_id_list = 15; + repeated uint32 furniture_suite_id_list = 5; } diff --git a/proto/UpdatePlayerShowAvatarListReq.proto b/proto/UpdatePlayerShowAvatarListReq.proto index 0f82b78e..16305cb9 100644 --- a/proto/UpdatePlayerShowAvatarListReq.proto +++ b/proto/UpdatePlayerShowAvatarListReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4025 +// CmdId: 4067 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UpdatePlayerShowAvatarListReq { + bool is_show_avatar = 15; repeated uint32 show_avatar_id_list = 13; - bool is_show_avatar = 2; } diff --git a/proto/UpdatePlayerShowAvatarListRsp.proto b/proto/UpdatePlayerShowAvatarListRsp.proto index 20d9f0f1..252e4847 100644 --- a/proto/UpdatePlayerShowAvatarListRsp.proto +++ b/proto/UpdatePlayerShowAvatarListRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4083 +// CmdId: 4058 // EnetChannelId: 0 // EnetIsReliable: true message UpdatePlayerShowAvatarListRsp { - int32 retcode = 2; repeated uint32 show_avatar_id_list = 1; - bool is_show_avatar = 8; + bool is_show_avatar = 3; + int32 retcode = 10; } diff --git a/proto/UseItemReq.proto b/proto/UseItemReq.proto index 52754385..5954626e 100644 --- a/proto/UseItemReq.proto +++ b/proto/UseItemReq.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 635 +// CmdId: 690 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UseItemReq { - uint64 guid = 1; - uint32 count = 12; + uint32 count = 13; uint64 target_guid = 14; - uint32 option_idx = 10; - bool is_enter_mp_dungeon_team = 3; + uint64 guid = 10; + bool is_enter_mp_dungeon_team = 15; + uint32 option_idx = 7; } diff --git a/proto/UseItemRsp.proto b/proto/UseItemRsp.proto index 9a9b34b6..1ac76a98 100644 --- a/proto/UseItemRsp.proto +++ b/proto/UseItemRsp.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 649 +// CmdId: 673 // EnetChannelId: 0 // EnetIsReliable: true message UseItemRsp { - int32 retcode = 15; - uint64 guid = 8; - uint32 item_id = 11; - uint64 target_guid = 12; - uint32 option_idx = 13; + uint64 guid = 5; + uint64 target_guid = 1; + uint32 item_id = 4; + uint32 option_idx = 8; + int32 retcode = 14; } diff --git a/proto/UseWidgetCreateGadgetReq.proto b/proto/UseWidgetCreateGadgetReq.proto index a8a7732c..aabc9da3 100644 --- a/proto/UseWidgetCreateGadgetReq.proto +++ b/proto/UseWidgetCreateGadgetReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; -// CmdId: 4283 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4293 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UseWidgetCreateGadgetReq { - uint32 material_id = 1; - Vector pos = 10; - Vector rot = 4; + Vector pos = 15; + Vector rot = 12; + uint32 material_id = 4; } diff --git a/proto/UseWidgetCreateGadgetRsp.proto b/proto/UseWidgetCreateGadgetRsp.proto index 50c66b51..cf9b3e00 100644 --- a/proto/UseWidgetCreateGadgetRsp.proto +++ b/proto/UseWidgetCreateGadgetRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4279 +// CmdId: 4290 // EnetChannelId: 0 // EnetIsReliable: true message UseWidgetCreateGadgetRsp { - int32 retcode = 13; - uint32 material_id = 2; + int32 retcode = 15; + uint32 material_id = 12; } diff --git a/proto/UseWidgetRetractGadgetReq.proto b/proto/UseWidgetRetractGadgetReq.proto index 3bcc7cec..024f828b 100644 --- a/proto/UseWidgetRetractGadgetReq.proto +++ b/proto/UseWidgetRetractGadgetReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4290 +// CmdId: 4286 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UseWidgetRetractGadgetReq { - uint32 entity_id = 7; + uint32 entity_id = 3; } diff --git a/proto/UseWidgetRetractGadgetRsp.proto b/proto/UseWidgetRetractGadgetRsp.proto index a64cf767..fac42f61 100644 --- a/proto/UseWidgetRetractGadgetRsp.proto +++ b/proto/UseWidgetRetractGadgetRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4271 +// CmdId: 4261 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message UseWidgetRetractGadgetRsp { - int32 retcode = 9; - uint32 entity_id = 15; + int32 retcode = 6; + uint32 entity_id = 14; } diff --git a/proto/Vector.proto b/proto/Vector.proto index 96766012..2d3ef1d4 100644 --- a/proto/Vector.proto +++ b/proto/Vector.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message Vector { - float X = 1; - float Y = 2; - float Z = 3; + float x = 1; + float y = 2; + float z = 3; } diff --git a/proto/VehicleInfo.proto b/proto/VehicleInfo.proto index 06e6d014..a27f7b8b 100644 --- a/proto/VehicleInfo.proto +++ b/proto/VehicleInfo.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - import "VehicleMember.proto"; +option java_package = "emu.grasscutter.net.proto"; + message VehicleInfo { repeated VehicleMember member_list = 1; uint32 owner_uid = 2; diff --git a/proto/VehicleInteractReq.proto b/proto/VehicleInteractReq.proto index fdbb5b85..51cf5921 100644 --- a/proto/VehicleInteractReq.proto +++ b/proto/VehicleInteractReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "VehicleInteractType.proto"; -// CmdId: 838 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 865 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message VehicleInteractReq { - uint32 entity_id = 8; - VehicleInteractType interact_type = 3; - uint32 pos = 10; + VehicleInteractType interact_type = 8; + uint32 pos = 12; + uint32 entity_id = 15; } diff --git a/proto/VehicleInteractRsp.proto b/proto/VehicleInteractRsp.proto index a8107fbd..8934b886 100644 --- a/proto/VehicleInteractRsp.proto +++ b/proto/VehicleInteractRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "VehicleInteractType.proto"; import "VehicleMember.proto"; -// CmdId: 806 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 804 // EnetChannelId: 0 // EnetIsReliable: true message VehicleInteractRsp { - int32 retcode = 15; - uint32 entity_id = 14; - VehicleInteractType interact_type = 3; - VehicleMember member = 1; + VehicleInteractType interact_type = 15; + VehicleMember member = 3; + uint32 entity_id = 2; + int32 retcode = 1; } diff --git a/proto/VehicleInteractType.proto b/proto/VehicleInteractType.proto index d2e1b310..b171b634 100644 --- a/proto/VehicleInteractType.proto +++ b/proto/VehicleInteractType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/VehicleLocationInfo.proto b/proto/VehicleLocationInfo.proto index ea0b3607..c0bdd444 100644 --- a/proto/VehicleLocationInfo.proto +++ b/proto/VehicleLocationInfo.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message VehicleLocationInfo { - uint32 entity_id = 1; - uint32 gadget_id = 2; - uint32 owner_uid = 3; - Vector pos = 4; - Vector rot = 5; - float cur_hp = 6; - float max_hp = 7; - repeated uint32 uid_list = 8; + Vector rot = 14; + uint32 entity_id = 15; + float cur_hp = 11; + uint32 owner_uid = 5; + Vector pos = 1; + repeated uint32 uid_list = 3; + uint32 gadget_id = 13; + float max_hp = 6; } diff --git a/proto/VehicleMember.proto b/proto/VehicleMember.proto index 31580d0e..a456c4ca 100644 --- a/proto/VehicleMember.proto +++ b/proto/VehicleMember.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/VehicleStaminaNotify.proto b/proto/VehicleStaminaNotify.proto index 140efb80..6646ba52 100644 --- a/proto/VehicleStaminaNotify.proto +++ b/proto/VehicleStaminaNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 811 +// CmdId: 834 // EnetChannelId: 0 // EnetIsReliable: true message VehicleStaminaNotify { - uint32 entity_id = 8; - float cur_stamina = 4; + uint32 entity_id = 6; + float cur_stamina = 14; } diff --git a/proto/VisionType.proto b/proto/VisionType.proto index fc2a6a39..8eed13ae 100644 --- a/proto/VisionType.proto +++ b/proto/VisionType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; @@ -22,5 +38,5 @@ enum VisionType { VISION_TYPE_FISH_REFRESH = 16; VISION_TYPE_FISH_BIG_SHOCK = 17; VISION_TYPE_FISH_QTE_SUCC = 18; - VISION_TYPE_EPFKMOIPADB = 19; + VISION_TYPE_Unk2700_EPFKMOIPADB = 19; } diff --git a/proto/Weapon.proto b/proto/Weapon.proto index a1bb2fe5..6463441f 100644 --- a/proto/Weapon.proto +++ b/proto/Weapon.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WeaponAwakenReq.proto b/proto/WeaponAwakenReq.proto index 86e55c0b..a223a2ee 100644 --- a/proto/WeaponAwakenReq.proto +++ b/proto/WeaponAwakenReq.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 642 +// CmdId: 695 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WeaponAwakenReq { + uint64 item_guid = 10; + map affix_level_map = 7; uint64 target_weapon_guid = 9; - uint64 item_guid = 3; - map affix_level_map = 2; } diff --git a/proto/WeaponAwakenRsp.proto b/proto/WeaponAwakenRsp.proto index 4184bd49..0ea64031 100644 --- a/proto/WeaponAwakenRsp.proto +++ b/proto/WeaponAwakenRsp.proto @@ -1,15 +1,31 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 601 +// CmdId: 606 // EnetChannelId: 0 // EnetIsReliable: true message WeaponAwakenRsp { - int32 retcode = 3; - uint64 target_weapon_guid = 1; - uint32 target_weapon_awaken_level = 13; - map old_affix_level_map = 7; - map cur_affix_level_map = 14; + int32 retcode = 9; uint64 avatar_guid = 10; + map old_affix_level_map = 4; + uint32 target_weapon_awaken_level = 2; + uint64 target_weapon_guid = 15; + map cur_affix_level_map = 11; } diff --git a/proto/WeaponPromoteReq.proto b/proto/WeaponPromoteReq.proto index dfdcad6e..57dfd766 100644 --- a/proto/WeaponPromoteReq.proto +++ b/proto/WeaponPromoteReq.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 624 +// CmdId: 622 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WeaponPromoteReq { - uint64 target_weapon_guid = 6; + uint64 target_weapon_guid = 5; } diff --git a/proto/WeaponPromoteRsp.proto b/proto/WeaponPromoteRsp.proto index b2f98339..9303d5cc 100644 --- a/proto/WeaponPromoteRsp.proto +++ b/proto/WeaponPromoteRsp.proto @@ -1,13 +1,29 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 638 +// CmdId: 665 // EnetChannelId: 0 // EnetIsReliable: true message WeaponPromoteRsp { - int32 retcode = 11; - uint64 target_weapon_guid = 15; - uint32 old_promote_level = 5; - uint32 cur_promote_level = 2; + uint64 target_weapon_guid = 3; + uint32 old_promote_level = 7; + uint32 cur_promote_level = 12; + int32 retcode = 4; } diff --git a/proto/WeaponUpgradeReq.proto b/proto/WeaponUpgradeReq.proto index c7f6a8a6..1606989e 100644 --- a/proto/WeaponUpgradeReq.proto +++ b/proto/WeaponUpgradeReq.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 686 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 639 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WeaponUpgradeReq { - uint64 target_weapon_guid = 3; - repeated uint64 food_weapon_guid_list = 8; - repeated ItemParam item_param_list = 14; + repeated uint64 food_weapon_guid_list = 1; + repeated ItemParam item_param_list = 15; + uint64 target_weapon_guid = 4; } diff --git a/proto/WeaponUpgradeRsp.proto b/proto/WeaponUpgradeRsp.proto index c8564178..e18a0c93 100644 --- a/proto/WeaponUpgradeRsp.proto +++ b/proto/WeaponUpgradeRsp.proto @@ -1,16 +1,32 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "ItemParam.proto"; -// CmdId: 663 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 653 // EnetChannelId: 0 // EnetIsReliable: true message WeaponUpgradeRsp { - int32 retcode = 11; - uint64 target_weapon_guid = 8; - uint32 old_level = 4; uint32 cur_level = 7; + int32 retcode = 11; + uint32 old_level = 8; repeated ItemParam item_param_list = 2; + uint64 target_weapon_guid = 6; } diff --git a/proto/WearEquipReq.proto b/proto/WearEquipReq.proto index 0f595487..f6a13ea2 100644 --- a/proto/WearEquipReq.proto +++ b/proto/WearEquipReq.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 630 +// CmdId: 697 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WearEquipReq { - uint64 avatar_guid = 14; - uint64 equip_guid = 2; + uint64 equip_guid = 7; + uint64 avatar_guid = 5; } diff --git a/proto/WearEquipRsp.proto b/proto/WearEquipRsp.proto index 3f3c925c..90b9e170 100644 --- a/proto/WearEquipRsp.proto +++ b/proto/WearEquipRsp.proto @@ -1,12 +1,28 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 697 +// CmdId: 681 // EnetChannelId: 0 // EnetIsReliable: true message WearEquipRsp { - int32 retcode = 6; - uint64 avatar_guid = 10; - uint64 equip_guid = 5; + int32 retcode = 5; + uint64 equip_guid = 1; + uint64 avatar_guid = 7; } diff --git a/proto/WeatherInfo.proto b/proto/WeatherInfo.proto index 2d9c84fa..f73c0f7e 100644 --- a/proto/WeatherInfo.proto +++ b/proto/WeatherInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WeekendDjinnInfo.proto b/proto/WeekendDjinnInfo.proto new file mode 100644 index 00000000..a2a14c65 --- /dev/null +++ b/proto/WeekendDjinnInfo.proto @@ -0,0 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; + +import "Vector.proto"; + +option java_package = "emu.grasscutter.net.proto"; + +message WeekendDjinnInfo { + Vector rot = 14; + Vector pos = 10; +} diff --git a/proto/WeeklyBossResinDiscountInfo.proto b/proto/WeeklyBossResinDiscountInfo.proto index 97425694..c995b81a 100644 --- a/proto/WeeklyBossResinDiscountInfo.proto +++ b/proto/WeeklyBossResinDiscountInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WidgetActiveChangeNotify.proto b/proto/WidgetActiveChangeNotify.proto index e91e1f58..83fae50e 100644 --- a/proto/WidgetActiveChangeNotify.proto +++ b/proto/WidgetActiveChangeNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotData.proto"; -// CmdId: 4295 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4280 // EnetChannelId: 0 // EnetIsReliable: true message WidgetActiveChangeNotify { - repeated WidgetSlotData widget_data_list = 4; + repeated WidgetSlotData widget_data_list = 5; } diff --git a/proto/WidgetCameraInfo.proto b/proto/WidgetCameraInfo.proto index 0f8d4742..a0dcc9fb 100644 --- a/proto/WidgetCameraInfo.proto +++ b/proto/WidgetCameraInfo.proto @@ -1,7 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message WidgetCameraInfo { - uint32 target_entity_id = 1; + uint32 target_entity_id = 4; } diff --git a/proto/WidgetCoolDownData.proto b/proto/WidgetCoolDownData.proto index 30b9f08a..24838098 100644 --- a/proto/WidgetCoolDownData.proto +++ b/proto/WidgetCoolDownData.proto @@ -1,9 +1,25 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message WidgetCoolDownData { - uint32 id = 1; - uint64 cool_down_time = 2; - bool is_success = 3; + bool is_success = 5; + uint64 cool_down_time = 4; + uint32 id = 15; } diff --git a/proto/WidgetCoolDownNotify.proto b/proto/WidgetCoolDownNotify.proto index bba876fb..8d20bc75 100644 --- a/proto/WidgetCoolDownNotify.proto +++ b/proto/WidgetCoolDownNotify.proto @@ -1,13 +1,29 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetCoolDownData.proto"; -// CmdId: 4263 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4295 // EnetChannelId: 0 // EnetIsReliable: true message WidgetCoolDownNotify { - repeated WidgetCoolDownData group_cool_down_data_list = 4; - repeated WidgetCoolDownData normal_cool_down_data_list = 8; + repeated WidgetCoolDownData normal_cool_down_data_list = 1; + repeated WidgetCoolDownData group_cool_down_data_list = 12; } diff --git a/proto/WidgetCreateLocationInfo.proto b/proto/WidgetCreateLocationInfo.proto index 0f4c7178..1e93a091 100644 --- a/proto/WidgetCreateLocationInfo.proto +++ b/proto/WidgetCreateLocationInfo.proto @@ -1,10 +1,26 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; + message WidgetCreateLocationInfo { - Vector pos = 1; - Vector rot = 2; + Vector rot = 3; + Vector pos = 10; } diff --git a/proto/WidgetCreatorInfo.proto b/proto/WidgetCreatorInfo.proto index cbc5a90a..1e3bf3ef 100644 --- a/proto/WidgetCreatorInfo.proto +++ b/proto/WidgetCreatorInfo.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetCreateLocationInfo.proto"; import "WidgetCreatorOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; + message WidgetCreatorInfo { - WidgetCreatorOpType op_type = 1; - uint32 entity_id = 2; - WidgetCreateLocationInfo location_info = 3; + WidgetCreatorOpType op_type = 10; + uint32 entity_id = 1; + WidgetCreateLocationInfo location_info = 12; } diff --git a/proto/WidgetCreatorOpType.proto b/proto/WidgetCreatorOpType.proto index 3ea428de..6779f7b4 100644 --- a/proto/WidgetCreatorOpType.proto +++ b/proto/WidgetCreatorOpType.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WidgetDoBagReq.proto b/proto/WidgetDoBagReq.proto index 188a12e1..a71b97c9 100644 --- a/proto/WidgetDoBagReq.proto +++ b/proto/WidgetDoBagReq.proto @@ -1,18 +1,34 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetCreateLocationInfo.proto"; import "WidgetCreatorInfo.proto"; -// CmdId: 4284 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4255 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WidgetDoBagReq { - uint32 material_id = 15; + uint32 material_id = 9; oneof op_info { - WidgetCreateLocationInfo location_info = 351; - WidgetCreatorInfo widget_creator_info = 46; + WidgetCreateLocationInfo location_info = 832; + WidgetCreatorInfo widget_creator_info = 1497; } } diff --git a/proto/WidgetDoBagRsp.proto b/proto/WidgetDoBagRsp.proto index 07d4ea3a..5d3cca51 100644 --- a/proto/WidgetDoBagRsp.proto +++ b/proto/WidgetDoBagRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4286 +// CmdId: 4296 // EnetChannelId: 0 // EnetIsReliable: true message WidgetDoBagRsp { - int32 retcode = 12; - uint32 material_id = 9; + int32 retcode = 10; + uint32 material_id = 3; } diff --git a/proto/WidgetGadgetAllDataNotify.proto b/proto/WidgetGadgetAllDataNotify.proto index 5662c6b2..9298411a 100644 --- a/proto/WidgetGadgetAllDataNotify.proto +++ b/proto/WidgetGadgetAllDataNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetGadgetData.proto"; -// CmdId: 4285 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4284 // EnetChannelId: 0 // EnetIsReliable: true message WidgetGadgetAllDataNotify { - repeated WidgetGadgetData widget_gadget_data = 8; + repeated WidgetGadgetData widget_gadget_data = 13; } diff --git a/proto/WidgetGadgetData.proto b/proto/WidgetGadgetData.proto index 8bd1cf36..d3251072 100644 --- a/proto/WidgetGadgetData.proto +++ b/proto/WidgetGadgetData.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message WidgetGadgetData { - uint32 gadget_id = 1; - repeated uint32 gadget_entity_id_list = 3; + repeated uint32 gadget_entity_id_list = 1; + uint32 gadget_id = 8; } diff --git a/proto/WidgetGadgetDataNotify.proto b/proto/WidgetGadgetDataNotify.proto index c80b1bc8..b9e89c2b 100644 --- a/proto/WidgetGadgetDataNotify.proto +++ b/proto/WidgetGadgetDataNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetGadgetData.proto"; -// CmdId: 4292 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4266 // EnetChannelId: 0 // EnetIsReliable: true message WidgetGadgetDataNotify { - WidgetGadgetData widget_gadget_data = 13; + WidgetGadgetData widget_gadget_data = 12; } diff --git a/proto/WidgetGadgetDestroyNotify.proto b/proto/WidgetGadgetDestroyNotify.proto index 2b0a8cd2..7aecc4ba 100644 --- a/proto/WidgetGadgetDestroyNotify.proto +++ b/proto/WidgetGadgetDestroyNotify.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4275 +// CmdId: 4274 // EnetChannelId: 0 // EnetIsReliable: true message WidgetGadgetDestroyNotify { - uint32 entity_id = 7; + uint32 entity_id = 15; } diff --git a/proto/WidgetReportReq.proto b/proto/WidgetReportReq.proto index 6a70c80c..86e56746 100644 --- a/proto/WidgetReportReq.proto +++ b/proto/WidgetReportReq.proto @@ -1,14 +1,30 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4287 +// CmdId: 4291 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WidgetReportReq { - uint32 material_id = 7; + bool Unk2700_MFEHMLBNNAG = 5; + bool is_client_collect = 14; bool is_clear_hint = 13; - bool is_client_collect = 9; - bool BHCBOJNGOIK = 1; + uint32 material_id = 15; } diff --git a/proto/WidgetReportRsp.proto b/proto/WidgetReportRsp.proto index 11770115..92aba351 100644 --- a/proto/WidgetReportRsp.proto +++ b/proto/WidgetReportRsp.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4282 +// CmdId: 4292 // EnetChannelId: 0 // EnetIsReliable: true message WidgetReportRsp { - int32 retcode = 12; - uint32 material_id = 7; + int32 retcode = 14; + uint32 material_id = 4; } diff --git a/proto/WidgetSlotChangeNotify.proto b/proto/WidgetSlotChangeNotify.proto index 8a1f7401..ea69c771 100644 --- a/proto/WidgetSlotChangeNotify.proto +++ b/proto/WidgetSlotChangeNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotData.proto"; import "WidgetSlotOp.proto"; -// CmdId: 4274 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 4267 // EnetChannelId: 0 // EnetIsReliable: true message WidgetSlotChangeNotify { - WidgetSlotOp op = 6; + WidgetSlotOp op = 11; WidgetSlotData slot = 8; } diff --git a/proto/WidgetSlotData.proto b/proto/WidgetSlotData.proto index 095915d1..83e9c8a8 100644 --- a/proto/WidgetSlotData.proto +++ b/proto/WidgetSlotData.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "WidgetSlotTag.proto"; +option java_package = "emu.grasscutter.net.proto"; + message WidgetSlotData { - WidgetSlotTag tag = 1; - uint32 material_id = 2; - uint32 cd_over_time = 3; - bool is_active = 4; + uint32 cd_over_time = 9; + WidgetSlotTag tag = 14; + uint32 material_id = 11; + bool is_active = 12; } diff --git a/proto/WidgetSlotOp.proto b/proto/WidgetSlotOp.proto index 4f809f84..ab831870 100644 --- a/proto/WidgetSlotOp.proto +++ b/proto/WidgetSlotOp.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WidgetSlotTag.proto b/proto/WidgetSlotTag.proto index 53029663..f8c49827 100644 --- a/proto/WidgetSlotTag.proto +++ b/proto/WidgetSlotTag.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WidgetThunderBirdFeatherInfo.proto b/proto/WidgetThunderBirdFeatherInfo.proto index 5533c83b..4bd9d924 100644 --- a/proto/WidgetThunderBirdFeatherInfo.proto +++ b/proto/WidgetThunderBirdFeatherInfo.proto @@ -1,7 +1,23 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; message WidgetThunderBirdFeatherInfo { - repeated uint32 entity_id_list = 1; + repeated uint32 entity_id_list = 4; } diff --git a/proto/WidgetUseAttachAbilityGroupChangeNotify.proto b/proto/WidgetUseAttachAbilityGroupChangeNotify.proto index 3af9d79b..5fd165b9 100644 --- a/proto/WidgetUseAttachAbilityGroupChangeNotify.proto +++ b/proto/WidgetUseAttachAbilityGroupChangeNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 4299 +// CmdId: 4258 // EnetChannelId: 0 // EnetIsReliable: true message WidgetUseAttachAbilityGroupChangeNotify { - uint32 material_id = 4; - bool is_attach = 11; + bool is_attach = 6; + uint32 material_id = 11; } diff --git a/proto/WindSeedClientNotify.proto b/proto/WindSeedClientNotify.proto deleted file mode 100644 index 8e01675e..00000000 --- a/proto/WindSeedClientNotify.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; - -option java_package = "emu.grasscutter.net.proto"; - -import "Vector.proto"; - -message WindSeedClientNotify { - enum CmdId { - option allow_alias = true; - NONE = 0; - ENET_CHANNEL_ID = 0; - ENET_IS_RELIABLE = 1; - CMD_ID = 1182; - } - - message RefreshNotify { - uint32 refresh_num = 14; - } - message AddWindBulletNotify { - uint32 seed_entity_id = 15; - Vector seed_pos = 13; - uint32 catch_player_uid = 14; - } - message AreaNotify { - uint32 area_id = 1; - bytes area_code = 4; - uint32 area_type = 8; - } - - oneof Notify { - AddWindBulletNotify add_wind_bullet_notify = 1; - } - RefreshNotify refresh_notify = 9; - AreaNotify area_notify = 15; -} \ No newline at end of file diff --git a/proto/WorktopInfo.proto b/proto/WorktopInfo.proto index 4efc17b5..6aa5c9a5 100644 --- a/proto/WorktopInfo.proto +++ b/proto/WorktopInfo.proto @@ -1,3 +1,19 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; diff --git a/proto/WorktopOptionNotify.proto b/proto/WorktopOptionNotify.proto index e9dfeb20..754c0f92 100644 --- a/proto/WorktopOptionNotify.proto +++ b/proto/WorktopOptionNotify.proto @@ -1,11 +1,27 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 837 +// CmdId: 835 // EnetChannelId: 0 // EnetIsReliable: true message WorktopOptionNotify { - uint32 gadget_entity_id = 12; - repeated uint32 option_list = 5; + uint32 gadget_entity_id = 11; + repeated uint32 option_list = 8; } diff --git a/proto/WorldDataNotify.proto b/proto/WorldDataNotify.proto index 7885be8f..0662b260 100644 --- a/proto/WorldDataNotify.proto +++ b/proto/WorldDataNotify.proto @@ -1,15 +1,31 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PropValue.proto"; -// CmdId: 3131 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3308 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WorldDataNotify { - map world_prop_map = 3; + map world_prop_map = 9; enum DataType { DATA_TYPE_NONE = 0; diff --git a/proto/WorldPlayerDieNotify.proto b/proto/WorldPlayerDieNotify.proto index 5af48297..bfabbaaa 100644 --- a/proto/WorldPlayerDieNotify.proto +++ b/proto/WorldPlayerDieNotify.proto @@ -1,17 +1,33 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerDieType.proto"; -// CmdId: 296 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 285 // EnetChannelId: 0 // EnetIsReliable: true message WorldPlayerDieNotify { - PlayerDieType die_type = 9; - uint32 murderer_entity_id = 14; + PlayerDieType die_type = 12; + uint32 murderer_entity_id = 15; oneof entity { - uint32 monster_id = 10; - uint32 gadget_id = 11; + uint32 monster_id = 8; + uint32 gadget_id = 4; } } diff --git a/proto/WorldPlayerInfoNotify.proto b/proto/WorldPlayerInfoNotify.proto index e6bd93c4..6f9705eb 100644 --- a/proto/WorldPlayerInfoNotify.proto +++ b/proto/WorldPlayerInfoNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "OnlinePlayerInfo.proto"; -// CmdId: 3304 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 3116 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true message WorldPlayerInfoNotify { - repeated OnlinePlayerInfo player_info_list = 6; - repeated uint32 player_uid_list = 5; + repeated uint32 player_uid_list = 11; + repeated OnlinePlayerInfo player_info_list = 14; } diff --git a/proto/WorldPlayerLocationNotify.proto b/proto/WorldPlayerLocationNotify.proto index 6c8f5b2a..bc357cd2 100644 --- a/proto/WorldPlayerLocationNotify.proto +++ b/proto/WorldPlayerLocationNotify.proto @@ -1,14 +1,30 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerLocationInfo.proto"; import "PlayerWorldLocationInfo.proto"; -// CmdId: 283 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 258 // EnetChannelId: 0 // EnetIsReliable: true message WorldPlayerLocationNotify { - repeated PlayerLocationInfo player_loc_list = 6; - repeated PlayerWorldLocationInfo player_world_loc_list = 15; + repeated PlayerWorldLocationInfo player_world_loc_list = 8; + repeated PlayerLocationInfo player_loc_list = 15; } diff --git a/proto/WorldPlayerRTTNotify.proto b/proto/WorldPlayerRTTNotify.proto index 46c02f1c..82007f9a 100644 --- a/proto/WorldPlayerRTTNotify.proto +++ b/proto/WorldPlayerRTTNotify.proto @@ -1,12 +1,28 @@ -syntax = "proto3"; +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . -option java_package = "emu.grasscutter.net.proto"; +syntax = "proto3"; import "PlayerRTTInfo.proto"; -// CmdId: 24 +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 22 // EnetChannelId: 0 // EnetIsReliable: true message WorldPlayerRTTNotify { - repeated PlayerRTTInfo player_rtt_list = 14; + repeated PlayerRTTInfo player_rtt_list = 1; } diff --git a/proto/WorldPlayerReviveReq.proto b/proto/WorldPlayerReviveReq.proto index e4315701..9ca77fcd 100644 --- a/proto/WorldPlayerReviveReq.proto +++ b/proto/WorldPlayerReviveReq.proto @@ -1,8 +1,24 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 247 +// CmdId: 225 // EnetChannelId: 0 // EnetIsReliable: true // IsAllowClient: true diff --git a/proto/WorldPlayerReviveRsp.proto b/proto/WorldPlayerReviveRsp.proto index bbac891f..4a17840f 100644 --- a/proto/WorldPlayerReviveRsp.proto +++ b/proto/WorldPlayerReviveRsp.proto @@ -1,10 +1,26 @@ +// Grasscutter - A server software reimplementation for a certain anime game. +// Copyright (C) 2022 Grasscutter Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; -// CmdId: 280 +// CmdId: 278 // EnetChannelId: 0 // EnetIsReliable: true message WorldPlayerReviveRsp { - int32 retcode = 8; + int32 retcode = 3; }