Commit Graph

9 Commits (master)

Author SHA1 Message Date
David Cernat 9817d3a563 [Client] Add method to PlayerList for getting players by their actorId 4 years ago
David Cernat 5a852fe6db [Client] Fix warnings related to declarations 4 years ago
David Cernat 89da1f39fb [Client] Implement stable cell resets 4 years ago
David Cernat a52d32602d [Client] Fix code style in PlayerList 5 years ago
David Cernat 57f84914c3 [Client] Prevent permanent deletion of player markers on cell changes 6 years ago
David Cernat 141eb8b7c2 [Client] Streamline creation of references for DedicatedPlayers
Additionally, delete DedicatedPlayers who disconnect.

Previously, all disconnected DedicatedPlayers were still kept in memory, but never used again. There was code that suggested they were meant to be reused upon reconnecting, but that reuse had never actually been implemented, and would probably not be that useful anyway.
7 years ago
David Cernat 14f90e773d [Client] Split up creation of DedicatedPlayers into multiple methods
Additionally, print player guids using their string representations for consistency.

The creation and updating of DedicatedPlayer references remains very inelegant, but this commit is the first step towards fixing that.
7 years ago
David Cernat 1c6e359fe9 [Client] Set and clear hitAttemptActorId for DedicatedPlayers
This allows a DedicatedPlayer's follower NPCs to target enemies attacking the DedicatedPlayer.
8 years ago
David Cernat 809b4d78ba [Client] Split off DedicatedPlayer and PlayerList into different files 8 years ago