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

Function ScoreAPIPlayerKilled

Descent3/multi_dll_mgr.cpp:1027–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025 return true;
1026}
1027void ScoreAPIPlayerKilled(int killer, int killed) {
1028 if (ScoreAPIShouldBail())
1029 return;
1030 player_killed pk;
1031 strcpy(pk.killed_name, Players[killed].callsign);
1032 strcpy(pk.killer_name, Players[killer].callsign);
1033
1034 CallMultiScoreDLL(CDT_EVT_PLAYERKILLED, &pk);
1035}
1036void ScoreAPIPlayerEntered(int playernum) {
1037 if (ScoreAPIShouldBail())
1038 return;

Callers 1

MultiSendPlayerDeadFunction · 0.85

Calls 2

ScoreAPIShouldBailFunction · 0.85
CallMultiScoreDLLFunction · 0.85

Tested by

no test coverage detected