Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Animation Related Fields #164

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Quaver.API/Maps/Qua.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public class Qua
/// The name of the background file
/// </summary>
public string BackgroundFile { get; set; }

/// <summary>
/// The name of the animation file (.lua)
/// </summary>
public string AnimationFile { get; set; }

/// <summary>
/// The name of the mapset banner
Expand Down Expand Up @@ -1404,6 +1409,8 @@ public Qua WithDenormalizedSVs()
/// <returns></returns>
public string GetBackgroundPath() => GetFullPath(BackgroundFile);

public string GetAnimationScriptPath() => GetFullPath(AnimationFile);

/// <summary>
/// Returns the path of the banner background. If no background exists, it will return null.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Quaver.API/Quaver.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<ItemGroup>
<PackageReference Include="DeepCloner" Version="0.10.4" />
<PackageReference Include="HoLLy.osu.DatabaseReader" Version="2.1.0" />
<PackageReference Include="MonoGame.Extended" Version="1.1.0" />
<PackageReference Include="MonoGame.Extended" Version="3.8.0" />
<PackageReference Include="MoonSharp" Version="2.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8" />
<PackageReference Include="sqlite-net-pcl" Version="1.5.231" />
<PackageReference Include="YamlDotNet" Version="5.1.0" />
Expand Down
Loading