1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 20:07:24 +08:00

Expose constant publicly rather than reexposing business

This commit is contained in:
Dean Herbert 2023-02-17 13:34:19 +09:00
parent 96b1498932
commit 8c772a723f

View File

@ -28,7 +28,7 @@ namespace osu.Game.Database
///
/// This actual usable length is smaller 256 because <see cref="Storage.CreateFileSafely(string)"/> adds additional "_<see cref="Guid"/>" to the end of the path
/// </remarks>
protected const int MAX_FILENAME_LENGTH = 255 - (32 + 4 + 2); //max path - (Guid + Guid "D" format chars + Storage.CreateFileSafely chars)
public const int MAX_FILENAME_LENGTH = 255 - (32 + 4 + 2); //max path - (Guid + Guid "D" format chars + Storage.CreateFileSafely chars)
/// <summary>
/// The file extension for exports (including the leading '.').