Class GlobalEvent
- Namespace
- ChartTools.Events
- Assembly
- ChartTools.dll
Event common to all instruments
public class GlobalEvent : Event, ITrackObject, IReadOnlyTrackObject
- Inheritance
-
GlobalEvent
- Implements
- Inherited Members
- Extension Methods
Constructors
GlobalEvent(uint)
Marker that defines an occurrence at a given point in a song.
public GlobalEvent(uint position)
Parameters
position
uint
GlobalEvent(uint, string)
public GlobalEvent(uint position, string data)
Parameters
GlobalEvent(uint, string, string)
public GlobalEvent(uint position, string type, string argument = "")
Parameters
Properties
IsBassistMovementEvent
The event controls movement of the bassist character on stage
public bool IsBassistMovementEvent { get; }
Property Value
IsCrowdEvent
The event controls movement of the crowd
public bool IsCrowdEvent { get; }
Property Value
IsDrummerMovementEvent
The event controls movement of the drummer character on stage
public bool IsDrummerMovementEvent { get; }
Property Value
IsGuitaristMovementEvent
The event controls movement of the guitarist character on stage
public bool IsGuitaristMovementEvent { get; }
Property Value
IsGuitaristSoloEvent
public bool IsGuitaristSoloEvent { get; }
Property Value
IsKeyboardMovementEvent
The event controls movement of the keyboard player character on stage
public bool IsKeyboardMovementEvent { get; }
Property Value
IsLyricEvent
The event stores text for a syllable of lyrics for karaoke when no vocal track is present
public bool IsLyricEvent { get; }
Property Value
IsPhraseEvent
The event represents the start or end of a lyric phrase when no vocal track is present
public bool IsPhraseEvent { get; }
Property Value
IsSectionEvent
The event represents a section of a song used for post-game summary and practice mode
public bool IsSectionEvent { get; }
Property Value
IsSyncEvent
public bool IsSyncEvent { get; }
Property Value
IsWailEvent
public bool IsWailEvent { get; }
Property Value
Methods
FromFile(string)
Reads the set of GlobalEvent from a file.
public static IEnumerable<GlobalEvent> FromFile(string path)
Parameters
path
stringPath of the file to read from
Returns
FromFileAsync(string, CancellationToken)
Reads the set of GlobalEvent from a file asynchronously.
public static Task<List<GlobalEvent>> FromFileAsync(string path, CancellationToken cancellationToken = default)
Parameters
path
stringPath of the file to read from
cancellationToken
CancellationTokenToken used for cancellation