-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
GeometryDashAPI/Levels/GameObjects/Triggers/EditSongTrigger.cs
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,36 @@ | ||
using GeometryDashAPI.Attributes; | ||
using GeometryDashAPI.Levels.GameObjects.Default; | ||
|
||
namespace GeometryDashAPI.Levels.GameObjects.Triggers; | ||
|
||
[GameBlock(3605)] | ||
public class EditSongTrigger : Trigger | ||
{ | ||
[GameProperty("10", 0.5f)] | ||
public float Duration { get; set; } = 0.5f; | ||
|
||
[GameProperty("432", 0)] | ||
public int Channel { get; set; } | ||
|
||
[GameProperty("404", 0)] | ||
public int Speed { get; set; } | ||
|
||
[GameProperty("406", 1f)] | ||
public float Volume { get; set; } = 1f; | ||
|
||
[GameProperty("414", false)] | ||
public bool StopLoop { get; set; } | ||
|
||
[GameProperty("417", false)] | ||
public bool Stop { get; set; } | ||
|
||
[GameProperty("418", false)] | ||
public bool ChangeVolume { get; set; } | ||
|
||
[GameProperty("419", false)] | ||
public bool ChangeSpeed { get; set; } | ||
|
||
public EditSongTrigger() : base(3605) | ||
{ | ||
} | ||
} |