MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetPlayerFlags

Function GetPlayerFlags

src/openrct2/network/NetworkBase.cpp:3395–3401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3393 }
3394
3395 uint32_t GetPlayerFlags(uint32_t index)
3396 {
3397 auto& network = GetContext()->GetNetwork();
3398 Guard::IndexInRange(index, network.player_list);
3399
3400 return network.player_list[index]->flags;
3401 }
3402
3403 int32_t GetPlayerPing(uint32_t index)
3404 {

Callers 2

playersScrollPaintMethod · 0.85
onPrepareDrawOverviewMethod · 0.85

Calls 2

GetContextFunction · 0.85
IndexInRangeFunction · 0.85

Tested by

no test coverage detected