/* Some shorthand helper methods that are useful for Callout development. */ #region Helper methods /// <summary> /// Get a random <see cref="PedHash"/>. /// By default, this method will already exclude all skins that are incompatible with FivePD. /// </summary> public static PedHash GetRandomPed() => PedHashes.SelectRandom();
/// <summary> /// Get a random <see cref="PedHash"/>. Entries in the exclusion list will be ignored. /// By default, this method will already exclude all skins that are incompatible with FivePD. /// </summary> /// <param name="exclusions">The list of <see cref="PedHash"/> to ignore.</param> public static PedHash GetRandomPed(IEnumerable <PedHash> exclusions) => PedHashes.SelectRandom(exclusions);