-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from MDMods/md-4.8.0
Muse Dash 4.8.0
- Loading branch information
Showing
16 changed files
with
174 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace CustomAlbums.Data | ||
{ | ||
public class Setlist | ||
{ | ||
public string Title { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using CustomAlbums.Data; | ||
|
||
namespace CustomAlbums.ModExtensions | ||
{ | ||
public class AlbumEventArgs : EventArgs | ||
{ | ||
public Album Album; | ||
|
||
public AlbumEventArgs(Album album) | ||
{ | ||
Album = album; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
namespace CustomAlbums.ModExtensions | ||
{ | ||
public class AssetEventArgs : EventArgs | ||
{ | ||
public string AssetName; | ||
public IntPtr AssetPtr; | ||
|
||
public AssetEventArgs(string assetName, IntPtr assetPtr) | ||
{ | ||
AssetName = assetName; | ||
AssetPtr = assetPtr; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using CustomAlbums.Managers; | ||
using CustomAlbums.Patches; | ||
|
||
namespace CustomAlbums.ModExtensions | ||
{ | ||
public static class Events | ||
{ | ||
public delegate void LoadAssetEvent(object s, AssetEventArgs e); | ||
|
||
public static event LoadAssetEvent OnAssetLoaded | ||
{ | ||
add => AssetPatch.OnAssetLoaded += value; | ||
remove => AssetPatch.OnAssetLoaded -= value; | ||
} | ||
|
||
public delegate void LoadAlbumEvent(object s, AlbumEventArgs e); | ||
|
||
public static event LoadAlbumEvent OnAlbumLoaded | ||
{ | ||
add => AlbumManager.OnAlbumLoaded += value; | ||
remove => AlbumManager.OnAlbumLoaded -= value; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.