-
Notifications
You must be signed in to change notification settings - Fork 8
/
SfxTrigger.cs
72 lines (58 loc) · 1.37 KB
/
SfxTrigger.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using GeometryDashAPI.Attributes;
using GeometryDashAPI.Levels.GameObjects.Default;
namespace GeometryDashAPI.Levels.GameObjects.Triggers;
public enum ReverbTypes
{
Generic,
PaddedCell,
Room,
BathRoom,
LivingRoom,
StoneRoom,
Auditorium,
ConcertHall,
Cave,
Arena,
Hangar,
CarpetedHallway,
Hallway,
StoneCorridor,
Alley,
Forest,
City,
Mountains,
Quarry,
Plain,
ParkingLot,
SewerPipe,
Underwater
}
[GameBlock(3602)]
public class SfxTrigger : Trigger
{
[GameProperty("404", 0)]
public int Speed { get; set; }
[GameProperty("405", 0)]
public int Pitch { get; set; }
[GameProperty("406", 1f, alwaysSet: true)]
public float Volume { get; set; } = 1f;
[GameProperty("407", false)]
public bool Reverb { get; set; }
[GameProperty("412", false)]
public bool Fft { get; set; }
[GameProperty("413", false)]
public bool Loop { get; set; }
[GameProperty("433", false)]
public bool PreLoad { get; set; }
[GameProperty("392", false)]
public int SongId { get; set; }
[GameProperty("490", false)]
public float Duration { get; set; }
[GameProperty("502", false)]
public ReverbTypes ReverbType { get; set; }
[GameProperty("503", false)]
public bool EnableReverb { get; set; }
public SfxTrigger() : base(3602)
{
}
}