Repository navigation
Send shown player names from the service - #68
Merged
Merged
Conversation
The service now names every player the way the open log's game shows them: "Ravel Ashwood" for WoW Forever, the first part of the logged name everywhere else. Rosters, deaths, killing blows, recap sources, aura holders, meter units and replay units carry that name, so the UI no longer splits names itself. Pet and NPC names are sent as logged, hyphens included. Names that also serve as keys stay as logged: ability row actors, pet names and the ability detail's targets, which gain a map to each player's shown name.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The service now decides how a player's name reads, and the app shows what it gets.
GameFlavor::player_name): "Ravel Ashwood" for WoW Forever, the first part of the logged name everywhere else. Pet and NPC names are sent as logged, hyphens included.PlayerRef.name), deaths, killing blows, recap sources and pet owners, aura holders, meter units and replay units carry the shown name. Unit names in breakdowns and views already did and now use the same helper.playerTargetswithshownNames, a map from each player target's logged name to its shown name.shortNameis gone.currentGame.tsnow only keeps the game data for the spell icons, so its listeners fire only when that changes.Damage-taken sources still show players with their logged name, since set merges match those rows by name.