1
0
mirror of https://github.com/SineVector241/VoiceCraft-MCBE_Proximity_Chat.git synced 2024-11-20 10:27:45 +00:00
VoiceCraft-MCBE_Proximity_Chat/ATL/Playlist/IO/DummyIO.cs
2024-07-13 11:16:08 +10:00

59 lines
1.3 KiB
C#

using System.Collections.Generic;
namespace ATL.Playlist.IO
{
/// <summary>
/// Dummy playlist management class
/// </summary>
public class DummyIO : IPlaylistIO
{
/// <inheritdoc/>
public string Path => "";
/// <inheritdoc/>
public IList<string> FilePaths
{
get => new List<string>();
set
{
// Nothing here, it's a dummy method
}
}
/// <inheritdoc/>
public IList<Track> Tracks
{
get => new List<Track>();
set
{
// Nothing here, it's a dummy method
}
}
/// <inheritdoc/>
public bool Save()
{
return true;
}
/// <inheritdoc/>
public PlaylistFormat.LocationFormatting LocationFormatting
{
get => PlaylistFormat.LocationFormatting.Undefined;
set
{
// Nothing here, it's a dummy method
}
}
/// <inheritdoc/>
public PlaylistFormat.FileEncoding Encoding
{
get => PlaylistFormat.FileEncoding.Undefined;
set
{
// Nothing here, it's a dummy method
}
}
}
}