/// <summary> /// Get a random <see cref="WeaponHash"/>. Entries in the exclusion list will be ignored. /// </summary> /// <param name="exclusions">The list of <see cref="WeaponHash"/> to ignore.</param> public static WeaponHash GetRandomWeapon(IEnumerable <WeaponHash> exclusions) => WeaponHashes.SelectRandom(exclusions);
/// <summary> /// Get a random <see cref="WeaponHash"/>. /// </summary> public static WeaponHash GetRandomWeapon() => WeaponHashes.SelectRandom();