UpdateAffectedTeam function

Learn technical details about the UpdateAffectedTeam function.