Skip to content

Commit 66bed70

Browse files
committed
add missing fields for edit song trigger
1 parent 09ebe81 commit 66bed70

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

GeometryDashAPI/Levels/GameObjects/Triggers/EditSongTrigger.cs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ public class EditSongTrigger : Trigger
99
[GameProperty("10", 0.5f)]
1010
public float Duration { get; set; } = 0.5f;
1111

12+
[GameProperty("51", 0)]
13+
public int GroupId1 { get; set; }
14+
15+
[GameProperty("71", 0)]
16+
public int GroupId2 { get; set; }
17+
18+
[GameProperty("138", false)]
19+
public bool P1 { get; set; }
20+
21+
[GameProperty("200", false)]
22+
public bool P2 { get; set; }
23+
1224
[GameProperty("404", 0)]
1325
public int Speed { get; set; }
1426

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

42+
[GameProperty("421", 1f)]
43+
public float VolNear { get; set; } = 1f;
44+
45+
[GameProperty("422", 0.5f)]
46+
public float VolMed { get; set; } = 0.5f;
47+
48+
[GameProperty("423", 0f)]
49+
public float VolFar { get; set; }
50+
51+
[GameProperty("424", 0f)]
52+
public int MinDist { get; set; }
53+
54+
[GameProperty("425", 0f)]
55+
public int Dist2 { get; set; }
56+
57+
[GameProperty("426", 0f)]
58+
public int Dist3 { get; set; }
59+
60+
[GameProperty("428", false)]
61+
public bool Cam { get; set; }
62+
3063
[GameProperty("432", 0)]
3164
public int Channel { get; set; }
3265

66+
[GameProperty("458", SoundPropagationDirection.All)]
67+
public SoundPropagationDirection Propagation { get; set; }
68+
3369
public EditSongTrigger() : base(3605)
3470
{
3571
}

0 commit comments

Comments
 (0)