Table of Contents

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

position uint
data string

GlobalEvent(uint, string, string?)

public GlobalEvent(uint position, string type, string? argument = null)

Parameters

position uint
type string
argument string

Properties

IsBassistMovementEvent

public bool IsBassistMovementEvent { get; }

Property Value

bool

IsCrowdEvent

public bool IsCrowdEvent { get; }

Property Value

bool

IsDrummerMovementEvent

public bool IsDrummerMovementEvent { get; }

Property Value

bool

IsGuitaristMovementEvent

public bool IsGuitaristMovementEvent { get; }

Property Value

bool

IsGuitaristSoloEvent

public bool IsGuitaristSoloEvent { get; }

Property Value

bool

IsKeyboardMovementEvent

public bool IsKeyboardMovementEvent { get; }

Property Value

bool

IsLyricEvent

public bool IsLyricEvent { get; }

Property Value

bool

IsPhraseEvent

public bool IsPhraseEvent { get; }

Property Value

bool

IsSectionEvent

public bool IsSectionEvent { get; }

Property Value

bool

IsSyncEvent

public bool IsSyncEvent { get; }

Property Value

bool

IsWailEvent

public bool IsWailEvent { get; }

Property Value

bool

Methods

FromFile(string)

Reads global events from a file.

public static IEnumerable<GlobalEvent> FromFile(string path)

Parameters

path string

Path of the file

Returns

IEnumerable<GlobalEvent>

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 CancellationToken

Token to request cancellation

Returns

Task<List<GlobalEvent>>