File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
GeometryDashAPI/Levels/GameObjects/Triggers Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ using GeometryDashAPI . Attributes ;
2+ using GeometryDashAPI . Levels . GameObjects . Default ;
3+
4+ namespace GeometryDashAPI . Levels . GameObjects . Triggers ;
5+
6+ [ GameBlock ( 1934 ) ]
7+ public class SongTrigger : Trigger
8+ {
9+ [ GameProperty ( "392" , 0 ) ]
10+ public int SongId { get ; set ; }
11+
12+ [ GameProperty ( "399" , false ) ]
13+ public bool Prep { get ; set ; }
14+
15+ [ GameProperty ( "400" , false ) ]
16+ public bool LoadPrep { get ; set ; }
17+
18+ [ GameProperty ( "404" , 0 ) ]
19+ public int Speed { get ; set ; }
20+
21+ [ GameProperty ( "406" , 1f , alwaysSet : true ) ]
22+ public float Volume { get ; set ; } = 1f ;
23+
24+ [ GameProperty ( "413" , false ) ]
25+ public bool Loop { get ; set ; }
26+
27+ [ GameProperty ( "432" , 0 ) ]
28+ public int Channel { get ; set ; }
29+
30+ public SongTrigger ( ) : base ( 1934 )
31+ {
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments