MCPcopy Create free account
hub / github.com/Segs/Segs / toggleControlId

Function toggleControlId

Projects/CoX/Common/GameData/EntityHelpers.cpp:155–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153void toggleControlsDisabled(Entity &e) { e.m_motion_state.m_controls_disabled = !e.m_motion_state.m_controls_disabled; }
154void toggleFullUpdate(Entity &e) { e.m_full_update = !e.m_full_update; }
155void toggleControlId(Entity &e) { e.m_has_control_id = !e.m_has_control_id; }
156void toggleInterp(Entity &e) { e.m_has_interp = !e.m_has_interp; }
157void toggleMoveInstantly(Entity &e) { e.m_move_instantly = !e.m_move_instantly; }
158void toggleTeamBuffs(PlayerData &c) { c.m_gui.m_team_buffs = !c.m_gui.m_team_buffs; }

Callers 2

toggleMovementAuthorityFunction · 0.85
cmdHandler_HasControlIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected