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