// Token: 0x060053CE RID: 21454 RVA: 0x001CE6D8 File Offset: 0x001CCAD8 public static List <int> GetPlayersWithTag(string tagName, string tagValue, bool inverted) { List <int> list = new List <int>(); foreach (Player player in PlayerManager.GetAllPlayers()) { VRCPlayer component = player.GetComponent <VRCPlayer>(); string playerTag = component.GetPlayerTag(tagName); if (!inverted) { if (playerTag != null && tagValue == playerTag) { list.Add(component.apiPlayer.playerId); } } else if (playerTag == null || tagValue != playerTag) { list.Add(component.apiPlayer.playerId); } } return(list); }