Skip to content

Commit 4206a1d

Browse files
committed
add missing fields for edit sfx trigger
1 parent c2d66f8 commit 4206a1d

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

GeometryDashAPI/Levels/GameObjects/Triggers/EditSfxTrigger.cs

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ public class EditSfxTrigger : 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

@@ -30,9 +42,33 @@ public class EditSfxTrigger : Trigger
3042
[GameProperty("419", false)]
3143
public bool ChangeSpeed { get; set; }
3244

45+
[GameProperty("421", 1f)]
46+
public float VolNear { get; set; } = 1f;
47+
48+
[GameProperty("422", 0.5f)]
49+
public float VolMed { get; set; } = 0.5f;
50+
51+
[GameProperty("423", 0f)]
52+
public float VolFar { get; set; }
53+
54+
[GameProperty("424", 0f)]
55+
public int MinDist { get; set; }
56+
57+
[GameProperty("425", 0f)]
58+
public int Dist2 { get; set; }
59+
60+
[GameProperty("426", 0f)]
61+
public int Dist3 { get; set; }
62+
63+
[GameProperty("428", false)]
64+
public bool Cam { get; set; }
65+
3366
[GameProperty("455", 0)]
3467
public int SfxGroup { get; set; }
3568

69+
[GameProperty("458", SoundPropagationDirection.All)]
70+
public SoundPropagationDirection Propagation { get; set; }
71+
3672
[GameProperty("457", 0)]
3773
public int GroupId { get; set; }
3874

0 commit comments

Comments
 (0)