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, string)
public GlobalEvent(uint position, string data)
Parameters
GlobalEvent(uint, string, string?)
public GlobalEvent(uint position, string type, string? argument = null)
Parameters
Properties
IsBassistMovementEvent
public bool IsBassistMovementEvent { get; }
Property Value
IsCrowdEvent
public bool IsCrowdEvent { get; }
Property Value
IsDrummerMovementEvent
public bool IsDrummerMovementEvent { get; }
Property Value
IsGuitaristMovementEvent
public bool IsGuitaristMovementEvent { get; }
Property Value
IsGuitaristSoloEvent
public bool IsGuitaristSoloEvent { get; }
Property Value
IsKeyboardMovementEvent
public bool IsKeyboardMovementEvent { get; }
Property Value
IsLyricEvent
public bool IsLyricEvent { get; }
Property Value
IsPhraseEvent
public bool IsPhraseEvent { get; }
Property Value
IsSectionEvent
public bool IsSectionEvent { get; }
Property Value
IsSyncEvent
public bool IsSyncEvent { get; }
Property Value
IsWailEvent
public bool IsWailEvent { get; }
Property Value
Methods
FromFile(string)
Reads global events from a file.
public static IEnumerable<GlobalEvent> FromFile(string path)
Parameters
path
stringPath of the file
Returns
FromFileAsync(string, CancellationToken)
Reads global events from a file asynchronously using multitasking.
public static Task<List<GlobalEvent>> FromFileAsync(string path, CancellationToken cancellationToken)
Parameters
path
string- Path of the file
cancellationToken
CancellationTokenToken to request cancellation