mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 17:33:12 +08:00
110e4fbb30
As proposed in https://github.com/ppy/osu-server-beatmap-submission/pull/5#discussion_r1861680837.
20 lines
710 B
C#
20 lines
710 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
namespace osu.Game.Utils
|
|
{
|
|
public static class SupportedExtensions
|
|
{
|
|
public static readonly string[] VIDEO_EXTENSIONS = [@".mp4", @".mov", @".avi", @".flv", @".mpg", @".wmv", @".m4v"];
|
|
public static readonly string[] AUDIO_EXTENSIONS = [@".mp3", @".ogg", @".wav"];
|
|
public static readonly string[] IMAGE_EXTENSIONS = [@".jpg", @".jpeg", @".png"];
|
|
|
|
public static readonly string[] ALL_EXTENSIONS =
|
|
[
|
|
..VIDEO_EXTENSIONS,
|
|
..AUDIO_EXTENSIONS,
|
|
..IMAGE_EXTENSIONS
|
|
];
|
|
}
|
|
}
|