MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetPlayerNum

Method GetPlayerNum

netgames/dmfc/dmfcbase.cpp:1790–1790  ·  view source on GitHub ↗

DMFCBase::GetPlayerNum Returns your playernum, useful when finding out if an event is referring to you (by looking at the playernum passed to the event handler, compared to your playernum

Source from the content-addressed store, hash-verified

1788// Returns your playernum, useful when finding out if an event is referring to you (by looking at
1789// the playernum passed to the event handler, compared to your playernum
1790int DMFCBase::GetPlayerNum(void) { return *Player_num; }
1791
1792// DMFCBase::GetLocalRole
1793//

Callers 15

DisplayHUDScoresFunction · 0.80
DisplayWelcomeMessageFunction · 0.80
OnClientPlayerEntersGameFunction · 0.80
DisplayHUDScoresFunction · 0.80
DisplayWelcomeMessageFunction · 0.80
OnClientPlayerEntersGameFunction · 0.80
DisplayHUDScoresFunction · 0.80
DisplayWelcomeMessageFunction · 0.80
OnClientPlayerEntersGameFunction · 0.80
OnClientCollideFunction · 0.80
DisplayHUDScoresFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected