GetTeam function

Learn technical details about the GetTeam function.