Skip to content

Commit

Permalink
add missing fields for edit song trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Folleach committed Dec 26, 2023
1 parent 09ebe81 commit 66bed70
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions GeometryDashAPI/Levels/GameObjects/Triggers/EditSongTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ public class EditSongTrigger : Trigger
[GameProperty("10", 0.5f)]
public float Duration { get; set; } = 0.5f;

[GameProperty("51", 0)]
public int GroupId1 { get; set; }

[GameProperty("71", 0)]
public int GroupId2 { get; set; }

[GameProperty("138", false)]
public bool P1 { get; set; }

[GameProperty("200", false)]
public bool P2 { get; set; }

[GameProperty("404", 0)]
public int Speed { get; set; }

Expand All @@ -27,9 +39,33 @@ public class EditSongTrigger : Trigger
[GameProperty("419", false)]
public bool ChangeSpeed { get; set; }

[GameProperty("421", 1f)]
public float VolNear { get; set; } = 1f;

[GameProperty("422", 0.5f)]
public float VolMed { get; set; } = 0.5f;

[GameProperty("423", 0f)]
public float VolFar { get; set; }

[GameProperty("424", 0f)]
public int MinDist { get; set; }

[GameProperty("425", 0f)]
public int Dist2 { get; set; }

[GameProperty("426", 0f)]
public int Dist3 { get; set; }

[GameProperty("428", false)]
public bool Cam { get; set; }

[GameProperty("432", 0)]
public int Channel { get; set; }

[GameProperty("458", SoundPropagationDirection.All)]
public SoundPropagationDirection Propagation { get; set; }

public EditSongTrigger() : base(3605)
{
}
Expand Down

0 comments on commit 66bed70

Please sign in to comment.