MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / changeScore

Method changeScore

src/clientbase/Player.cpp:709–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707
708
709void Player::changeScore(float newRank,
710 short newWins, short newLosses, short newTeamKills) {
711 rank = newRank;
712 wins = newWins;
713 losses = newLosses;
714 tks = newTeamKills;
715
716 eventHandler.PlayerScoreChange(*this);
717}
718
719
720void Player::changeLocalScore(short dWins, short dLosses, short dTeamKills) {

Callers 5

addPlayerFunction · 0.45
handleScoreFunction · 0.45
enteringServerFunction · 0.45
handleScoreFunction · 0.45
enteringServerFunction · 0.45

Calls 1

PlayerScoreChangeMethod · 0.45

Tested by

no test coverage detected