MCPcopy Create free account
hub / github.com/assaultcube/AC / updateclientname

Function updateclientname

source/src/rendermodel.cpp:1049–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047}
1048
1049void updateclientname(playerent *d)
1050{
1051 static bool gotlist = false;
1052 if(!gotlist) listfiles(SKINBASE "/custom", "jpg", playerskinlist);
1053 gotlist = true;
1054 if(!d || !playerskinlist.length()) return;
1055 d->skin_noteam = getclientskin(d->name, "_ffa");
1056 d->skin_cla = getclientskin(d->name, "_cla");
1057 d->skin_rvsf = getclientskin(d->name, "_rvsf");
1058}
1059
1060void renderclientp(playerent *d)
1061{

Callers 3

parsemessagesFunction · 0.85
newnameFunction · 0.85
CreateBotMethod · 0.85

Calls 3

listfilesFunction · 0.85
getclientskinFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected