Skip to content

Commit

Permalink
Merge pull request broderickhyman#63 from phendryx/update/20231016
Browse files Browse the repository at this point in the history
20231016 updates
  • Loading branch information
phendryx authored Oct 16, 2023
2 parents 9bf70a0 + ca88a4a commit fe0cbb1
Show file tree
Hide file tree
Showing 5 changed files with 1,235 additions and 773 deletions.
4 changes: 4 additions & 0 deletions client/decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ func decodeRequest(params map[uint8]interface{}) (operation operation, err error
switch OperationType(code) {
case opGetGameServerByCluster:
operation = &operationGetGameServerByCluster{}
case opChangeCluster:
operation = &operationGetGameServerByCluster{}
case opAuctionGetOffers:
operation = &operationAuctionGetOffers{}
case opAuctionGetItemAverageStats:
Expand Down Expand Up @@ -51,6 +53,8 @@ func decodeResponse(params map[uint8]interface{}) (operation operation, err erro
switch OperationType(code) {
case opJoin:
operation = &operationJoinResponse{}
case opChangeCluster:
operation = &operationGetGameServerByCluster{}
case opAuctionGetOffers:
operation = &operationAuctionGetOffersResponse{}
case opAuctionGetRequests:
Expand Down
198 changes: 165 additions & 33 deletions client/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ const (
evCastTimeUpdate
evCastFinished
evCastSpell
evCastSpells
evCastHit
evCastHits
evStoredTargetsUpdate
evChannelingEnded
evAttackBuilding
evInventoryPutItem
Expand All @@ -34,11 +36,16 @@ const (
evNewEquipmentItem
evNewSimpleItem
evNewFurnitureItem
evNewKillTrophyItem
evNewJournalItem
evNewLaborerItem
evNewEquipmentItemLegendarySoul
evNewSimpleHarvestableObject
evNewSimpleHarvestableObjectList
evNewHarvestableObject
evNewTreasureDestinationObject
evTreasureDestinationObjectStatus
evCloseTreasureDestinationObject
evNewSilverObject
evNewBuilding
evHarvestableChangeState
Expand All @@ -61,8 +68,6 @@ const (
evActionOnBuildingStart
evActionOnBuildingCancel
evActionOnBuildingFinished
evItemRerollQualityStart
evItemRerollQualityCancel
evItemRerollQualityFinished
evInstallResourceStart
evInstallResourceCancel
Expand All @@ -83,6 +88,7 @@ const (
evUpdateReSpecPoints
evUpdateCurrency
evUpdateFactionStanding
evUpdateMistCityStanding
evRespawn
evServerDebugLog
evCharacterEquipmentChanged
Expand All @@ -105,7 +111,6 @@ const (
evUpdateMatchDetails
evObjectEvent
evNewMonolithObject
evNewSiegeCampObject
evNewOrbObject
evNewCastleObject
evNewSpellEffectArea
Expand All @@ -114,14 +119,12 @@ const (
evUpdateChainSpell
evNewTreasureChest
evStartMatch
evStartTerritoryMatchInfos
evStartArenaMatchInfos
evEndTerritoryMatch
evEndArenaMatch
evMatchUpdate
evActiveMatchUpdate
evNewMob
evDebugAggroInfo
evDebugMobInfo
evDebugVariablesInfo
evDebugReputationInfo
evDebugDiminishingReturnInfo
Expand All @@ -131,6 +134,7 @@ const (
evClaimOrbCancel
evOrbUpdate
evOrbClaimed
evOrbReset
evNewWarCampObject
evNewMatchLootChestObject
evNewArenaExit
Expand Down Expand Up @@ -160,6 +164,7 @@ const (
evKilledPlayer
evDied
evKnockedDown
evUnconcious
evMatchPlayerJoinedEvent
evMatchPlayerStatsEvent
evMatchPlayerStatsCompleteEvent
Expand All @@ -179,6 +184,7 @@ const (
evDuelStarted
evDuelEnded
evDuelDenied
evDuelRequestCanceled
evDuelLeftArea
evDuelReEnteredArea
evNewRealEstate
Expand All @@ -192,7 +198,7 @@ const (
evFurnitureObjectCheatProviderInfo
evFarmableObjectInfo
evNewUnreadMails
evUnknown187
evMailOperationPossible
evGuildLogoObjectUpdate
evStartLogout
evNewChatChannels
Expand All @@ -219,6 +225,7 @@ const (
evNewTeleportStone
evCloak
evPartyInvitation
evPartyJoinRequest
evPartyJoined
evPartyDisbanded
evPartyPlayerJoined
Expand All @@ -228,19 +235,19 @@ const (
evPartyLootSettingChangedPlayer
evPartySilverGained
evPartyPlayerUpdated
evPartyInvitationPlayerBusy
evPartyInvitationAnswer
evPartyJoinRequestAnswer
evPartyMarkedObjectsUpdated
evPartyOnClusterPartyJoined
evPartySetRoleFlag
evPartyInviteOrJoinPlayerEquipmentInfo
evSpellCooldownUpdate
evNewHellgate
evNewHellgateExit
evNewHellgateExitPortal
evNewExpeditionExit
evNewExpeditionNarrator
evExitEnterStart
evExitEnterCancel
evExitEnterFinished
evHellClusterTimeUpdate
evNewQuestGiverObject
evFullQuestInfo
evQuestProgressInfo
Expand All @@ -258,21 +265,23 @@ const (
evEnteringArenaLockStart
evEnteringArenaLockCancel
evInvitedToArenaMatch
evUsingHellgateShrine
evEnteringHellgateLockStart
evEnteringHellgateLockCancel
evPlayerCounts
evInCombatStateUpdate
evOtherGrabbedLoot
evSiegeCampClaimStart
evSiegeCampClaimCancel
evSiegeCampClaimFinished
evSiegeCampScheduleResult
evTreasureChestUsingStart
evTreasureChestUsingFinished
evTreasureChestUsingCancel
evTreasureChestUsingOpeningComplete
evTreasureChestForceCloseInventory
evLocalTreasuresUpdate
evLootChestSpawnpointsUpdate
evPremiumChanged
evPremiumExtended
evPremiumLifeTimeRewardGained
evGoldPurchased
evLaborerGotUpgraded
evJournalGotFull
evJournalFillError
Expand Down Expand Up @@ -317,10 +326,17 @@ const (
evDebugDrawEvent
evRecordCameraMove
evRecordStart
evClaimPowerCrystalStart
evClaimPowerCrystalCancel
evClaimPowerCrystalReset
evClaimPowerCrystalFinished
evTerritoryClaimStart
evTerritoryClaimCancel
evTerritoryClaimFinished
evTerritoryScheduleResult
evTerritoryUpgradeWithPowerCrystalResult
evReturningPowerCrystalStart
evReturningPowerCrystalFinished
evUpdateAccountState
evStartDeterministicRoam
evGuildFullAccessTagsUpdated
Expand All @@ -342,7 +358,6 @@ const (
evNewOutpostObject
evOutpostUpdate
evOutpostClaimed
evOutpostReward
evOverChargeEnd
evOverChargeStatus
evPartyFinderFullUpdate
Expand All @@ -352,6 +367,7 @@ const (
evPartyFinderJoinRequestDeclined
evNewUnlockedPersonalSeasonRewards
evPersonalSeasonPointsGained
evPersonalSeasonPastSeasonDataEvent
evEasyAntiCheatMessageToClient
evMatchLootChestOpeningStart
evMatchLootChestOpeningFinished
Expand All @@ -363,18 +379,26 @@ const (
evNewTileSwitch
evNewInformationProvider
evNewDynamicGuildLogo
evNewDecoration
evTutorialUpdate
evTriggerHintBox
evRandomDungeonPositionInfo
evNewLootChest
evUpdateLootChest
evLootChestOpened
evUpdateLootProtectedByMobsWithMinimapDisplay
evNewShrine
evUpdateShrine
evUpdateRoom
evNewMistDungeonRoomMobSoul
evNewHellgateShrine
evUpdateHellgateShrine
evActivateHellgateExit
evMutePlayerUpdate
evShopTileUpdate
evShopUpdate
evEasyAntiCheatKick
evAntiCheatKick
evBattlEyeServerMessage
evUnlockVanityUnlock
evAvatarUnlocked
evCustomizationChanged
Expand All @@ -393,13 +417,14 @@ const (
evInitHideoutAttackCancel
evInitHideoutAttackFinished
evHideoutManagementUpdate
evHideoutUpgradeWithPowerCrystalResult
evIpChanged
evSmartClusterQueueUpdateInfo
evSmartClusterQueueActiveInfo
evSmartClusterQueueKickWarning
evSmartClusterQueueInvite
evReceivedGvgSeasonPoints
evTerritoryBonusLevelUpdate
evTowerPowerPointUpdate
evOpenWorldAttackScheduleStart
evOpenWorldAttackScheduleFinished
evOpenWorldAttackScheduleCancel
Expand All @@ -413,19 +438,126 @@ const (
evNewHomeObject
evHideoutObjectUpdate
evUpdateInfamy
evUnknown408
evUnknown409
evUnknown410
evUnknown411
evUnknown412
evUnknown413
evUnknown414
evUnknown415
evUnknown416
evUnknown417
evUnknown418
evUnknown419
evUnknown420
evUnknown421
evUnknown422
evMinimapPositionMarkers
evNewTunnelExit
evCorruptedDungeonUpdate
evCorruptedDungeonStatus
evCorruptedDungeonInfamy
evHellgateRestrictedAreaUpdate
evHellgateInfamy
evHellgateStatus
evHellgateStatusUpdate
evHellgateSuspense
evReplaceSpellSlotWithMultiSpell
evNewCorruptedShrine
evUpdateCorruptedShrine
evCorruptedShrineUsageStart
evCorruptedShrineUsageCancel
evExitUsed
evLinkedToObject
evLinkToObjectBroken
evEstimatedMarketValueUpdate
evStuckCancel
evDungonEscapeReady
evFactionWarfareClusterState
evFactionWarfareHasUnclaimedWeeklyReportsEvent
evSimpleFeedback
evSmartClusterQueueSkipClusterError
evXignCodeEvent
evBatchUseItemStart
evBatchUseItemEnd
evRedZoneEventClusterStatus
evRedZonePlayerNotification
evRedZoneWorldEvent
evFactionWarfareStats
evUpdateFactionBalanceFactors
evFactionEnlistmentChanged
evUpdateFactionRank
evFactionWarfareCampaignRewardsUnlocked
evFeaturedFeatureUpdate
evNewPowerCrystalObject
evMinimapCrystalPositionMarker
evCarryPowerCrystalUpdate
evPickupPowerCrystalStart
evPickupPowerCrystalCancel
evPickupPowerCrystalFinished
evDoSimpleActionStart
evDoSimpleActionCancel
evDoSimpleActionFinished
evNotifyGuestAccountVerified
evMightAndFavorReceivedEvent
evWeeklyPvpChallengeRewardStateUpdate
evNewUnlockedPvpSeasonChallengeRewards
evStaticDungeonEntrancesDungeonEventStatusUpdates
evStaticDungeonDungeonValueUpdate
evStaticDungeonEntranceDungeonEventsAborted
evInAppPurchaseConfirmedGooglePlay
evFeatureSwitchInfo
evPartyJoinRequestAborted
evPartyInviteAborted
evPartyStartHuntRequest
evPartyStartHuntRequested
evPartyStartHuntRequestAnswer
evGuildInviteDeclined
evCancelMultiSpellSlots
evNewVisualEventObject
evCastleClaimProgress
evCastleClaimProgressLogo
evTownPortalUpdateState
evTownPortalFailed
evConsumableVanityChargesAdded
evFestivitiesUpdate
evNewBannerObject
evNewMistsImmediateReturnExit
evMistsPlayerJoinedInfo
evNewMistsStaticEntrance
evNewMistsOpenWorldExit
evNewTunnelExitTemp
evNewMistsWispSpawn
evMistsWispSpawnStateChange
evNewMistsCityEntrance
evNewMistsCityRoadsEntrance
evMistsCityRoadsEntrancePartyStateUpdate
evMistsCityRoadsEntranceClearStateForParty
evMistsEntranceDataChanged
evNewMistsCagedWisp
evMistsWispCageOpened
evMistsEntrancePartyBindingCreated
evMistsEntrancePartyBindingCleared
evMistsEntrancePartyBindingInfos
evNewMistsBorderExit
evNewMistsDungeonExit
evLocalQuestInfos
evLocalQuestStarted
evLocalQuestActive
evLocalQuestInactive
evLocalQuestProgressUpdate
evNewUnrestrictedPvpZone
evTemporaryFlaggingStatusUpdate
evSpellTestPerformanceUpdate
evTransformation
evTransformationEnd
evUpdateTrustlevel
evRevealHiddenTimeStamps
evModifyItemTraitFinished
evRerollItemTraitValueFinished
evHuntQuestProgressInfo
evHuntStarted
evHuntFinished
evHuntAborted
evHuntMissionStepStateUpdate
evNewHuntTrack
evHuntMissionUpdate
evHuntQuestMissionProgressUpdate
evHuntTrackUsed
evHuntTrackUseableAgain
evMinimapHuntTrackMarkers
evNoTracksFound
evHuntQuestAborted
evInteractWithTrackStart
evInteractWithTrackCancel
evInteractWithTrackFinished
evNewDynamicCompound
evLegendaryItemDestroyed
evAttunementInfo
)
Loading

0 comments on commit fe0cbb1

Please sign in to comment.