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

Method Query

src/openrct2/actions/network/PlayerSetGroupAction.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 stream << DS_TAG(_playerId) << DS_TAG(_groupId);
38 }
39 Result PlayerSetGroupAction::Query(GameState_t& gameState, Park::ParkData& park) const
40 {
41 return Network::SetPlayerGroup(GetPlayer(), _playerId, _groupId, false);
42 }
43
44 Result PlayerSetGroupAction::Execute(GameState_t& gameState, Park::ParkData& park) const
45 {

Callers

nothing calls this directly

Calls 1

SetPlayerGroupFunction · 0.85

Tested by

no test coverage detected