Documentation ¶
Index ¶
- Constants
- type CmdProtoMap
- func (c *CmdProtoMap) GetCmdIdByCmdName(cmdName string) uint16
- func (c *CmdProtoMap) GetCmdIdByProtoObj(protoObj pb.Message) uint16
- func (c *CmdProtoMap) GetCmdNameByCmdId(cmdId uint16) string
- func (c *CmdProtoMap) GetProtoObjByCmdId(cmdId uint16) pb.Message
- func (c *CmdProtoMap) GetProtoObjCacheByCmdId(cmdId uint16) pb.Message
- func (c *CmdProtoMap) GetProtoObjFastNewByCmdId(cmdId uint16) pb.Message
- func (c *CmdProtoMap) PutProtoObjCache(cmdId uint16, protoObj pb.Message)
Constants ¶
View Source
const ( GetShopReq = 701 GetShopRsp = 702 BuyGoodsReq = 703 BuyGoodsRsp = 704 GetShopmallDataReq = 705 GetShopmallDataRsp = 706 OpActivityStateNotify = 2501 SignInInfoReq = 2503 SignInInfoRsp = 2504 GetSignInRewardReq = 2505 GetSignInRewardRsp = 2506 BonusActivityUpdateNotify = 2512 BonusActivityInfoReq = 2513 BonusActivityInfoRsp = 2514 GetBonusActivityRewardReq = 2515 GetBonusActivityRewardRsp = 2516 UnlockAvatarTalentReq = 1001 UnlockAvatarTalentRsp = 1002 AvatarUnlockTalentNotify = 1003 AvatarSkillDepotChangeNotify = 1004 BigTalentPointConvertReq = 1005 BigTalentPointConvertRsp = 1006 AvatarSkillMaxChargeCountNotify = 1007 AvatarSkillInfoNotify = 1008 ProudSkillUpgradeReq = 1009 ProudSkillUpgradeRsp = 1010 ProudSkillChangeNotify = 1011 AvatarSkillUpgradeReq = 1012 AvatarSkillUpgradeRsp = 1013 AvatarSkillChangeNotify = 1014 ProudSkillExtraLevelNotify = 1015 CanUseSkillNotify = 1016 TeamResonanceChangeNotify = 1017 GetPlayerFriendListReq = 4001 GetPlayerFriendListRsp = 4002 AskAddFriendReq = 4005 AskAddFriendRsp = 4006 DealAddFriendReq = 4007 DealAddFriendRsp = 4008 GetPlayerSocialDetailReq = 4009 GetPlayerSocialDetailRsp = 4010 DeleteFriendReq = 4011 DeleteFriendRsp = 4012 SetPlayerBirthdayReq = 4013 SetPlayerBirthdayRsp = 4014 SetPlayerSignatureReq = 4015 SetPlayerSignatureRsp = 4016 SetPlayerHeadImageReq = 4017 SetPlayerHeadImageRsp = 4018 UpdatePS4FriendListNotify = 4019 DeleteFriendNotify = 4020 AddFriendNotify = 4021 AskAddFriendNotify = 4022 SetNameCardReq = 4023 SetNameCardRsp = 4024 GetAllUnlockNameCardReq = 4025 GetAllUnlockNameCardRsp = 4026 AddBlacklistReq = 4027 AddBlacklistRsp = 4028 RemoveBlacklistReq = 4029 RemoveBlacklistRsp = 4030 UnlockNameCardNotify = 4031 GetRecentMpPlayerListReq = 4032 GetRecentMpPlayerListRsp = 4033 SocialDataNotify = 4034 UpdatePS4BlockListReq = 4037 UpdatePS4BlockListRsp = 4038 GetPlayerBlacklistReq = 4039 GetPlayerBlacklistRsp = 4040 AbilityInvocationFixedNotify = 1101 AbilityInvocationsNotify = 1102 ClientAbilityInitBeginNotify = 1103 ClientAbilityInitFinishNotify = 1104 AbilityInvocationFailNotify = 1105 ClientAbilitiesInitFinishCombineNotify = 1107 WindSeedClientNotify = 1110 AbilityChangeNotify = 1111 ClientAbilityChangeNotify = 1112 AchievementAllDataNotify = 2651 AchievementUpdateNotify = 2652 TakeAchievementRewardReq = 2653 TakeAchievementRewardRsp = 2654 TakeAchievementGoalRewardReq = 2655 TakeAchievementGoalRewardRsp = 2656 GetActivityScheduleReq = 2001 GetActivityScheduleRsp = 2002 GetActivityInfoReq = 2003 GetActivityInfoRsp = 2004 ActivityPlayOpenAnimNotify = 2005 ActivityInfoNotify = 2006 ActivityScheduleInfoNotify = 2007 ActivityTakeWatcherRewardReq = 2008 ActivityTakeWatcherRewardRsp = 2009 ActivityUpdateWatcherNotify = 2010 SeaLampFlyLampReq = 2014 SeaLampFlyLampRsp = 2015 SeaLampTakeContributionRewardReq = 2016 SeaLampTakeContributionRewardRsp = 2017 SeaLampTakePhaseRewardReq = 2018 SeaLampTakePhaseRewardRsp = 2019 SeaLampContributeItemReq = 2020 SeaLampContributeItemRsp = 2021 LoadActivityTerrainNotify = 2024 ServerAnnounceNotify = 2022 ServerAnnounceRevokeNotify = 2023 SalesmanDeliverItemReq = 2031 SalesmanDeliverItemRsp = 2032 SalesmanTakeRewardReq = 2033 SalesmanTakeRewardRsp = 2034 ActivityCondStateChangeNotify = 2035 EnterTrialAvatarActivityDungeonReq = 2041 EnterTrialAvatarActivityDungeonRsp = 2042 ReceivedTrialAvatarActivityRewardReq = 2043 ReceivedTrialAvatarActivityRewardRsp = 2044 TrialAvatarFirstPassDungeonNotify = 2047 TrialAvatarInDungeonIndexNotify = 2048 AvatarAddNotify = 1701 AvatarDelNotify = 1702 SetUpAvatarTeamReq = 1703 SetUpAvatarTeamRsp = 1704 ChooseCurAvatarTeamReq = 1705 ChooseCurAvatarTeamRsp = 1706 ChangeAvatarReq = 1707 ChangeAvatarRsp = 1708 AvatarPromoteReq = 1709 AvatarPromoteRsp = 1710 SpringUseReq = 1711 SpringUseRsp = 1712 RefreshBackgroundAvatarReq = 1713 RefreshBackgroundAvatarRsp = 1714 AvatarTeamUpdateNotify = 1715 AvatarDataNotify = 1716 AvatarUpgradeReq = 1717 AvatarUpgradeRsp = 1718 AvatarDieAnimationEndReq = 1719 AvatarDieAnimationEndRsp = 1720 AvatarChangeElementTypeReq = 1721 AvatarChangeElementTypeRsp = 1722 AvatarFetterDataNotify = 1723 AvatarExpeditionDataNotify = 1724 AvatarExpeditionAllDataReq = 1725 AvatarExpeditionAllDataRsp = 1726 AvatarExpeditionStartReq = 1727 AvatarExpeditionStartRsp = 1728 AvatarExpeditionCallBackReq = 1729 AvatarExpeditionCallBackRsp = 1730 AvatarExpeditionGetRewardReq = 1731 AvatarExpeditionGetRewardRsp = 1732 ChangeMpTeamAvatarReq = 1734 ChangeMpTeamAvatarRsp = 1735 ChangeTeamNameReq = 1736 ChangeTeamNameRsp = 1737 SceneTeamUpdateNotify = 1738 FocusAvatarReq = 1740 FocusAvatarRsp = 1741 AvatarSatiationDataNotify = 1742 AvatarWearFlycloakReq = 1743 AvatarWearFlycloakRsp = 1744 AvatarFlycloakChangeNotify = 1745 AvatarGainFlycloakNotify = 1746 AvatarEquipAffixStartNotify = 1747 AvatarFetterLevelRewardReq = 1748 AvatarFetterLevelRewardRsp = 1749 BattlePassAllDataNotify = 2601 BattlePassMissionUpdateNotify = 2602 BattlePassMissionDelNotify = 2603 BattlePassCurScheduleUpdateNotify = 2604 TakeBattlePassRewardReq = 2605 TakeBattlePassRewardRsp = 2606 TakeBattlePassMissionPointReq = 2607 TakeBattlePassMissionPointRsp = 2608 GetBattlePassProductReq = 2609 GetBattlePassProductRsp = 2610 SetBattlePassViewedReq = 2613 SetBattlePassViewedRsp = 2614 BattlePassBuySuccNotify = 2615 BuyBattlePassLevelReq = 2616 BuyBattlePassLevelRsp = 2617 TowerBriefDataNotify = 2401 TowerFloorRecordChangeNotify = 2402 TowerCurLevelRecordChangeNotify = 2403 TowerDailyRewardProgressChangeNotify = 2404 TowerTeamSelectReq = 2406 TowerTeamSelectRsp = 2407 TowerAllDataReq = 2408 TowerAllDataRsp = 2409 TowerEnterLevelReq = 2411 TowerEnterLevelRsp = 2412 TowerBuffSelectReq = 2413 TowerBuffSelectRsp = 2414 TowerSurrenderReq = 2421 TowerSurrenderRsp = 2422 TowerGetFloorStarRewardReq = 2423 TowerGetFloorStarRewardRsp = 2424 TowerLevelEndNotify = 2430 TowerLevelStarCondNotify = 2431 TowerMiddleLevelChangeTeamNotify = 2432 TowerRecordHandbookReq = 2433 TowerRecordHandbookRsp = 2434 WatcherAllDataNotify = 2201 WatcherChangeNotify = 2202 WatcherEventNotify = 2203 WatcherEventTypeNotify = 2204 PushTipsAllDataNotify = 2221 PushTipsChangeNotify = 2222 PushTipsReadFinishReq = 2223 PushTipsReadFinishRsp = 2224 GetPushTipsRewardReq = 2225 GetPushTipsRewardRsp = 2226 GetBlossomBriefInfoListReq = 2701 GetBlossomBriefInfoListRsp = 2702 BlossomBriefInfoNotify = 2703 WorldOwnerBlossomBriefInfoNotify = 2704 WorldOwnerBlossomScheduleInfoNotify = 2705 BlossomChestCreateNotify = 2706 OpenBlossomCircleCampGuideNotify = 2707 CodexDataFullNotify = 4201 CodexDataUpdataNotify = 4202 QueryCodexMonsterBeKilledNumReq = 4203 QueryCodexMonsterBeKilledNumRsp = 4204 DungeonEntryInfoReq = 901 DungeonEntryInfoRsp = 902 PlayerEnterDungeonReq = 903 PlayerEnterDungeonRsp = 904 PlayerQuitDungeonReq = 905 PlayerQuitDungeonRsp = 906 DungeonWayPointNotify = 907 DungeonWayPointActivateReq = 908 DungeonWayPointActivateRsp = 909 DungeonSettleNotify = 910 DungeonPlayerDieNotify = 911 DungeonDieOptionReq = 912 DungeonDieOptionRsp = 913 DungeonShowReminderNotify = 914 DungeonPlayerDieReq = 915 DungeonPlayerDieRsp = 916 DungeonDataNotify = 917 DungeonChallengeBeginNotify = 918 DungeonChallengeFinishNotify = 919 ChallengeDataNotify = 920 DungeonFollowNotify = 921 DungeonGetStatueDropReq = 922 DungeonGetStatueDropRsp = 923 ChallengeRecordNotify = 924 DungeonCandidateTeamInfoNotify = 925 DungeonCandidateTeamInviteNotify = 926 DungeonCandidateTeamRefuseNotify = 927 DungeonCandidateTeamPlayerLeaveNotify = 928 DungeonCandidateTeamDismissNotify = 929 DungeonCandidateTeamCreateReq = 930 DungeonCandidateTeamCreateRsp = 931 DungeonCandidateTeamInviteReq = 932 DungeonCandidateTeamInviteRsp = 933 DungeonCandidateTeamKickReq = 934 DungeonCandidateTeamKickRsp = 935 DungeonCandidateTeamLeaveReq = 936 DungeonCandidateTeamLeaveRsp = 937 DungeonCandidateTeamReplyInviteReq = 938 DungeonCandidateTeamReplyInviteRsp = 939 DungeonCandidateTeamSetReadyReq = 940 DungeonCandidateTeamSetReadyRsp = 941 DungeonCandidateTeamChangeAvatarReq = 942 DungeonCandidateTeamChangeAvatarRsp = 943 GetDailyDungeonEntryInfoReq = 944 GetDailyDungeonEntryInfoRsp = 945 DungeonSlipRevivePointActivateReq = 946 DungeonSlipRevivePointActivateRsp = 947 DungeonInterruptChallengeReq = 948 DungeonInterruptChallengeRsp = 949 InteractDailyDungeonInfoNotify = 950 EvtBeingHitNotify = 301 EvtAnimatorParameterNotify = 302 HostPlayerNotify = 303 EvtDoSkillSuccNotify = 304 EvtCreateGadgetNotify = 305 EvtDestroyGadgetNotify = 306 EvtFaceToEntityNotify = 307 EvtFaceToDirNotify = 308 EvtCostStaminaNotify = 309 EvtSetAttackTargetNotify = 310 EvtAnimatorStateChangedNotify = 311 EvtRushMoveNotify = 312 EvtBulletHitNotify = 313 EvtBulletDeactiveNotify = 314 EvtEntityStartDieEndNotify = 315 EvtBulletMoveNotify = 322 EvtAvatarEnterFocusNotify = 323 EvtAvatarExitFocusNotify = 324 EvtAvatarUpdateFocusNotify = 325 EntityAuthorityChangeNotify = 326 AvatarBuffAddNotify = 327 AvatarBuffDelNotify = 328 MonsterAlertChangeNotify = 329 MonsterForceAlertNotify = 330 AvatarEnterElementViewNotify = 332 TriggerCreateGadgetToEquipPartNotify = 333 EvtEntityRenderersChangedNotify = 334 AnimatorForceSetAirMoveNotify = 335 EvtAiSyncSkillCdNotify = 336 EvtBeingHitsCombineNotify = 337 EvtAvatarSitDownNotify = 341 EvtAvatarStandUpNotify = 342 CreateMassiveEntityReq = 343 CreateMassiveEntityRsp = 344 CreateMassiveEntityNotify = 345 DestroyMassiveEntityNotify = 346 MassiveEntityStateChangedNotify = 347 SyncTeamEntityNotify = 348 DelTeamEntityNotify = 349 CombatInvocationsNotify = 350 ServerBuffChangeNotify = 351 EvtAiSyncCombatThreatInfoNotify = 352 MassiveEntityElementOpBatchNotify = 353 EntityAiSyncNotify = 354 GetGachaInfoReq = 1501 GetGachaInfoRsp = 1502 DoGachaReq = 1503 DoGachaRsp = 1504 GadgetInteractReq = 801 GadgetInteractRsp = 802 GadgetStateNotify = 803 WorktopOptionNotify = 804 SelectWorktopOptionReq = 805 SelectWorktopOptionRsp = 806 BossChestActivateNotify = 807 BlossomChestInfoNotify = 808 GadgetPlayStartNotify = 809 GadgetPlayStopNotify = 810 GadgetPlayDataNotify = 811 GadgetPlayUidOpNotify = 812 PlayerInvestigationAllInfoNotify = 1901 TakeInvestigationRewardReq = 1902 TakeInvestigationRewardRsp = 1903 TakeInvestigationTargetRewardReq = 1904 TakeInvestigationTargetRewardRsp = 1905 GetInvestigationMonsterReq = 1906 GetInvestigationMonsterRsp = 1907 PlayerInvestigationNotify = 1908 PlayerInvestigationTargetNotify = 1909 PlayerStoreNotify = 601 StoreWeightLimitNotify = 602 StoreItemChangeNotify = 603 StoreItemDelNotify = 604 ItemAddHintNotify = 605 UseItemReq = 608 UseItemRsp = 609 DropItemReq = 610 DropItemRsp = 611 WearEquipReq = 614 WearEquipRsp = 615 TakeoffEquipReq = 616 TakeoffEquipRsp = 617 AvatarEquipChangeNotify = 618 WeaponUpgradeReq = 619 WeaponUpgradeRsp = 620 WeaponPromoteReq = 621 WeaponPromoteRsp = 622 ReliquaryUpgradeReq = 623 ReliquaryUpgradeRsp = 624 ReliquaryPromoteReq = 625 ReliquaryPromoteRsp = 626 AvatarCardChangeReq = 627 AvatarCardChangeRsp = 628 GrantRewardNotify = 629 WeaponAwakenReq = 630 WeaponAwakenRsp = 631 ItemCdGroupTimeNotify = 632 DropHintNotify = 633 CombineReq = 634 CombineRsp = 635 ForgeQueueDataNotify = 636 ForgeGetQueueDataReq = 637 ForgeGetQueueDataRsp = 638 ForgeStartReq = 639 ForgeStartRsp = 640 ForgeQueueManipulateReq = 641 ForgeQueueManipulateRsp = 642 ResinChangeNotify = 643 BuyResinReq = 649 BuyResinRsp = 650 MaterialDeleteReturnNotify = 651 TakeMaterialDeleteReturnReq = 652 TakeMaterialDeleteReturnRsp = 653 MaterialDeleteUpdateNotify = 654 McoinExchangeHcoinReq = 655 McoinExchangeHcoinRsp = 656 DestroyMaterialReq = 657 DestroyMaterialRsp = 658 MailChangeNotify = 1402 ReadMailNotify = 1403 GetMailItemReq = 1404 GetMailItemRsp = 1405 DelMailReq = 1406 DelMailRsp = 1407 GetAuthkeyReq = 1408 GetAuthkeyRsp = 1409 ClientNewMailNotify = 1410 GetAllMailReq = 1411 GetAllMailRsp = 1412 PlayerStartMatchReq = 4151 PlayerStartMatchRsp = 4152 PlayerMatchInfoNotify = 4153 PlayerCancelMatchReq = 4154 PlayerCancelMatchRsp = 4155 PlayerMatchStopNotify = 4156 PlayerMatchSuccNotify = 4157 PlayerConfirmMatchReq = 4158 PlayerConfirmMatchRsp = 4159 PlayerAllowEnterMpAfterAgreeMatchNotify = 4160 PlayerMatchAgreedResultNotify = 4161 PlayerApplyEnterMpAfterMatchAgreedNotify = 4162 KeepAliveNotify = 1 GmTalkReq = 2 GmTalkRsp = 3 ShowMessageNotify = 4 PingReq = 5 PingRsp = 6 GetOnlinePlayerListReq = 8 GetOnlinePlayerListRsp = 9 ServerTimeNotify = 10 ServerLogNotify = 11 ClientReconnectNotify = 12 RobotPushPlayerDataNotify = 14 ClientReportNotify = 15 UnionCmdNotify = 16 GetOnlinePlayerInfoReq = 17 GetOnlinePlayerInfoRsp = 18 CheckSegmentCRCNotify = 19 CheckSegmentCRCReq = 20 WorldPlayerRTTNotify = 21 EchoNotify = 22 MonsterSummonTagNotify = 1301 PlayerApplyEnterMpNotify = 1801 PlayerApplyEnterMpReq = 1802 PlayerApplyEnterMpRsp = 1803 PlayerApplyEnterMpResultNotify = 1804 PlayerApplyEnterMpResultReq = 1805 PlayerApplyEnterMpResultRsp = 1806 PlayerQuitFromMpNotify = 1807 PlayerPreEnterMpNotify = 1808 GetPlayerMpModeAvailabilityReq = 1809 GetPlayerMpModeAvailabilityRsp = 1810 PlayerSetOnlyMPWithPSPlayerReq = 1811 PlayerSetOnlyMPWithPSPlayerRsp = 1812 PSPlayerApplyEnterMpReq = 1813 PSPlayerApplyEnterMpRsp = 1814 MpPlayOwnerCheckReq = 1815 MpPlayOwnerCheckRsp = 1816 MpPlayOwnerStartInviteReq = 1817 MpPlayOwnerStartInviteRsp = 1818 MpPlayOwnerInviteNotify = 1819 MpPlayGuestReplyInviteReq = 1820 MpPlayGuestReplyInviteRsp = 1821 MpPlayGuestReplyNotify = 1822 MpPlayPrepareNotify = 1823 MpPlayInviteResultNotify = 1824 MpPlayPrepareInterruptNotify = 1825 NpcTalkReq = 501 NpcTalkRsp = 502 GetSceneNpcPositionReq = 504 GetSceneNpcPositionRsp = 505 QueryPathReq = 2301 QueryPathRsp = 2302 ObstacleModifyNotify = 2303 PathfindingPingNotify = 2304 PathfindingEnterSceneReq = 2305 PathfindingEnterSceneRsp = 2306 GMShowObstacleReq = 2351 GMShowObstacleRsp = 2352 GetPlayerTokenReq = 101 GetPlayerTokenRsp = 102 PlayerLoginReq = 103 PlayerLoginRsp = 104 PlayerLogoutReq = 105 PlayerLogoutRsp = 106 PlayerLogoutNotify = 107 PlayerDataNotify = 108 ChangeGameTimeReq = 109 ChangeGameTimeRsp = 110 PlayerGameTimeNotify = 111 PlayerPropNotify = 112 ClientTriggerEventNotify = 113 SetPlayerPropReq = 114 SetPlayerPropRsp = 115 SetPlayerBornDataReq = 116 SetPlayerBornDataRsp = 117 DoSetPlayerBornDataNotify = 118 PlayerPropChangeNotify = 119 SetPlayerNameReq = 120 SetPlayerNameRsp = 121 SetOpenStateReq = 122 SetOpenStateRsp = 123 OpenStateUpdateNotify = 124 OpenStateChangeNotify = 125 PlayerCookReq = 126 PlayerCookRsp = 127 PlayerRandomCookReq = 128 PlayerRandomCookRsp = 129 CookDataNotify = 130 CookRecipeDataNotify = 131 CookGradeDataNotify = 132 PlayerCompoundMaterialReq = 133 PlayerCompoundMaterialRsp = 134 TakeCompoundOutputReq = 135 TakeCompoundOutputRsp = 136 CompoundDataNotify = 137 GetCompoundDataReq = 138 GetCompoundDataRsp = 139 PlayerTimeNotify = 140 PlayerSetPauseReq = 141 PlayerSetPauseRsp = 142 PlayerSetLanguageReq = 143 PlayerSetLanguageRsp = 144 DataResVersionNotify = 145 DailyTaskDataNotify = 146 DailyTaskProgressNotify = 147 DailyTaskScoreRewardNotify = 148 WorldOwnerDailyTaskNotify = 149 AddRandTaskInfoNotify = 150 RemoveRandTaskInfoNotify = 151 TakePlayerLevelRewardReq = 152 TakePlayerLevelRewardRsp = 153 PlayerLevelRewardUpdateNotify = 154 GivingRecordNotify = 155 GivingRecordChangeNotify = 156 ItemGivingReq = 157 ItemGivingRsp = 158 PlayerCookArgsReq = 159 PlayerCookArgsRsp = 160 PlayerLuaShellNotify = 161 ServerDisconnectClientNotify = 162 AntiAddictNotify = 163 PlayerForceExitReq = 164 PlayerForceExitRsp = 165 PlayerInjectFixNotify = 166 TaskVarNotify = 167 ClientLockGameTimeNotify = 168 EntityPropNotify = 1201 LifeStateChangeNotify = 1202 EntityFightPropNotify = 1203 EntityFightPropUpdateNotify = 1204 AvatarFightPropNotify = 1205 AvatarFightPropUpdateNotify = 1206 EntityFightPropChangeReasonNotify = 1207 AvatarLifeStateChangeNotify = 1208 AvatarPropChangeReasonNotify = 1209 PlayerPropChangeReasonNotify = 1210 AvatarPropNotify = 1211 MarkNewNotify = 1212 QuestListNotify = 401 QuestListUpdateNotify = 402 QuestDelNotify = 403 FinishedParentQuestNotify = 404 FinishedParentQuestUpdateNotify = 405 AddQuestContentProgressReq = 406 AddQuestContentProgressRsp = 407 GetQuestTalkHistoryReq = 408 GetQuestTalkHistoryRsp = 409 QuestCreateEntityReq = 410 QuestCreateEntityRsp = 411 QuestDestroyEntityReq = 412 QuestDestroyEntityRsp = 413 ChapterStateNotify = 416 QuestProgressUpdateNotify = 417 QuestUpdateQuestVarReq = 418 QuestUpdateQuestVarRsp = 419 QuestUpdateQuestVarNotify = 420 QuestDestroyNpcReq = 421 QuestDestroyNpcRsp = 422 BargainStartNotify = 423 BargainOfferPriceReq = 424 BargainOfferPriceRsp = 425 BargainTerminateNotify = 426 GetBargainDataReq = 427 GetBargainDataRsp = 428 GetAllActivatedBargainDataReq = 429 GetAllActivatedBargainDataRsp = 430 ServerCondMeetQuestListUpdateNotify = 431 QuestGlobalVarNotify = 432 QuestTransmitReq = 433 QuestTransmitRsp = 434 PersonalLineAllDataReq = 435 PersonalLineAllDataRsp = 436 RedeemLegendaryKeyReq = 437 RedeemLegendaryKeyRsp = 438 UnlockPersonalLineReq = 439 UnlockPersonalLineRsp = 440 RechargeReq = 4101 RechargeRsp = 4102 OrderFinishNotify = 4103 CardProductRewardNotify = 4104 PlayerRechargeDataNotify = 4105 OrderDisplayNotify = 4106 PlayerEnterSceneNotify = 201 LeaveSceneReq = 202 LeaveSceneRsp = 203 SceneInitFinishReq = 204 SceneInitFinishRsp = 205 SceneEntityAppearNotify = 206 SceneEntityDisappearNotify = 207 SceneEntityMoveReq = 208 SceneEntityMoveRsp = 209 SceneAvatarStaminaStepReq = 210 SceneAvatarStaminaStepRsp = 211 SceneEntityMoveNotify = 212 ScenePlayerLocationNotify = 213 GetScenePointReq = 214 GetScenePointRsp = 215 EnterTransPointRegionNotify = 216 ExitTransPointRegionNotify = 217 ScenePointUnlockNotify = 218 SceneTransToPointReq = 219 SceneTransToPointRsp = 220 EntityJumpNotify = 221 GetSceneAreaReq = 222 GetSceneAreaRsp = 223 SceneAreaUnlockNotify = 224 SceneEntityDrownReq = 225 SceneEntityDrownRsp = 226 SceneCreateEntityReq = 227 SceneCreateEntityRsp = 228 SceneDestroyEntityReq = 229 SceneDestroyEntityRsp = 230 SceneForceUnlockNotify = 231 SceneForceLockNotify = 232 EnterWorldAreaReq = 233 EnterWorldAreaRsp = 234 EntityForceSyncReq = 235 EntityForceSyncRsp = 236 SceneAreaExploreNotify = 237 SceneGetAreaExplorePercentReq = 238 SceneGetAreaExplorePercentRsp = 239 ClientTransmitReq = 240 ClientTransmitRsp = 241 EnterSceneWeatherAreaNotify = 242 ExitSceneWeatherAreaNotify = 243 SceneAreaWeatherNotify = 244 ScenePlayerInfoNotify = 245 WorldPlayerLocationNotify = 246 BeginCameraSceneLookNotify = 247 EndCameraSceneLookNotify = 248 MarkEntityInMinMapNotify = 249 UnmarkEntityInMinMapNotify = 250 DropSubfieldReq = 251 DropSubfieldRsp = 252 ExecuteGroupTriggerReq = 253 ExecuteGroupTriggerRsp = 254 LevelupCityReq = 255 LevelupCityRsp = 256 SceneRouteChangeNotify = 257 PlatformStartRouteNotify = 258 PlatformStopRouteNotify = 259 PlatformChangeRouteNotify = 260 ScenePlayerSoundNotify = 261 PersonalSceneJumpReq = 262 PersonalSceneJumpRsp = 263 SealBattleBeginNotify = 264 SealBattleEndNotify = 265 SealBattleProgressNotify = 266 ClientPauseNotify = 267 PlayerEnterSceneInfoNotify = 268 JoinPlayerSceneReq = 269 JoinPlayerSceneRsp = 270 SceneKickPlayerReq = 271 SceneKickPlayerRsp = 272 SceneKickPlayerNotify = 273 HitClientTrivialNotify = 274 BackMyWorldReq = 275 BackMyWorldRsp = 276 SeeMonsterReq = 277 SeeMonsterRsp = 278 AddSeenMonsterNotify = 279 AllSeenMonsterNotify = 280 SceneTimeNotify = 281 EnterSceneReadyReq = 282 EnterSceneReadyRsp = 283 EnterScenePeerNotify = 284 EnterSceneDoneReq = 285 EnterSceneDoneRsp = 286 WorldPlayerDieNotify = 287 WorldPlayerReviveReq = 288 WorldPlayerReviveRsp = 289 JoinPlayerFailNotify = 290 SetSceneWeatherAreaReq = 291 SetSceneWeatherAreaRsp = 292 ExecuteGadgetLuaReq = 293 ExecuteGadgetLuaRsp = 294 CutSceneBeginNotify = 295 CutSceneFinishNotify = 296 CutSceneEndNotify = 297 ClientScriptEventNotify = 298 SceneEntitiesMovesReq = 299 SceneEntitiesMovesRsp = 300 SceneEntitiesMoveCombineNotify = 3001 UnlockTransPointReq = 3002 UnlockTransPointRsp = 3003 PlatformRouteStateNotify = 3004 SceneWeatherForcastReq = 3005 SceneWeatherForcastRsp = 3006 MarkMapReq = 3010 MarkMapRsp = 3011 AllMarkPointNotify = 3012 WorldDataNotify = 3013 EntityMoveRoomNotify = 3014 WorldPlayerInfoNotify = 3015 PostEnterSceneReq = 3016 PostEnterSceneRsp = 3017 PlayerChatReq = 3018 PlayerChatRsp = 3019 PlayerChatNotify = 3020 PlayerChatCDNotify = 3021 ChatHistoryNotify = 3022 SceneDataNotify = 3023 DungeonEntryToBeExploreNotify = 3024 GetDungeonEntryExploreConditionReq = 3035 GetDungeonEntryExploreConditionRsp = 3036 UnfreezeGroupLimitNotify = 3037 SetEntityClientDataNotify = 3041 GroupSuiteNotify = 3042 GroupUnloadNotify = 3043 MonsterAIConfigHashNotify = 3044 EntityAbilityConfigHashNotify = 3045 ShowTemplateReminderNotify = 3046 ShowCommonTipsNotify = 3047 CloseCommonTipsNotify = 3048 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdProtoMap ¶
type CmdProtoMap struct {
// contains filtered or unexported fields
}
func GetSharedCmdProtoMap ¶
func GetSharedCmdProtoMap() *CmdProtoMap
func NewCmdProtoMap ¶
func NewCmdProtoMap() (r *CmdProtoMap)
func (*CmdProtoMap) GetCmdIdByCmdName ¶
func (c *CmdProtoMap) GetCmdIdByCmdName(cmdName string) uint16
func (*CmdProtoMap) GetCmdIdByProtoObj ¶
func (c *CmdProtoMap) GetCmdIdByProtoObj(protoObj pb.Message) uint16
func (*CmdProtoMap) GetCmdNameByCmdId ¶
func (c *CmdProtoMap) GetCmdNameByCmdId(cmdId uint16) string
func (*CmdProtoMap) GetProtoObjByCmdId ¶
func (c *CmdProtoMap) GetProtoObjByCmdId(cmdId uint16) pb.Message
func (*CmdProtoMap) GetProtoObjCacheByCmdId ¶
func (c *CmdProtoMap) GetProtoObjCacheByCmdId(cmdId uint16) pb.Message
GetProtoObjCacheByCmdId 从缓存池获取一个对象 请务必确保能容忍获取到的对象含有使用过的脏数据 否则会产生不可预料的后果
func (*CmdProtoMap) GetProtoObjFastNewByCmdId ¶
func (c *CmdProtoMap) GetProtoObjFastNewByCmdId(cmdId uint16) pb.Message
func (*CmdProtoMap) PutProtoObjCache ¶
func (c *CmdProtoMap) PutProtoObjCache(cmdId uint16, protoObj pb.Message)
PutProtoObjCache 将使用结束的对象放回缓存池 请务必确保对象的生命周期真的已经结束了 否则会产生不可预料的后果
Click to show internal directories.
Click to hide internal directories.