-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)] | ||
public float Volume { get; set; } | ||
|
||
[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) | ||
{ | ||
} | ||
} |