Music/MusicTrack.cs
using Sandbox.Internal;

namespace HC3;

[AssetType( Name = "Music Track", Extension = "mus" )]
public class MusicTrack : GameResource, ITitleProvider
{
	[Property] public string Title { get; set; }
	[Property] public SoundEvent Sound { get; set; }

	string ITitleProvider.Value => Title;

	protected override Bitmap CreateAssetTypeIcon( int width, int height )
	{
		return CreateSimpleAssetTypeIcon( "music_note", width, height );
	}
}