MCPcopy Create free account
hub / github.com/ValveSoftware/halflife / AddClientToArena

Function AddClientToArena

ricochet/dlls/disc_arena.cpp:881–935  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Add a client to an Arena. Find the first arena that doesn't have two players in it, and add this player to that. If we find a third player Spectating another arena, grab them and add them to this player's arena.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ClientPutInServerFunction · 0.85

Calls 4

IsFullMethod · 0.80
AddClientMethod · 0.80
GetFirstSparePlayerMethod · 0.80
RemoveClientMethod · 0.80

Tested by

no test coverage detected