Class Event
- Namespace
- ChartTools.Events
- Assembly
- ChartTools.dll
Marker that defines an occurrence at a given point in a song.
public abstract class Event : ITrackObject, IReadOnlyTrackObject
- Inheritance
-
Event
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
Event(uint, string)
public Event(uint position, string data)
Parameters
Event(uint, string, string?)
public Event(uint position, string type, string? argument)
Parameters
Properties
Argument
Additional data to modify the outcome of the event
public string? Argument { get; set; }
Property Value
Remarks
A lack of argument is represented as an empty string.
EventData
Combined event type and arguments where the first word is the type.
public string EventData { get; set; }
Property Value
EventType
Type of event as it is written in the file
public string EventType { get; set; }
Property Value
Position
Tick number on the track.
public uint Position { get; set; }
Property Value
Remarks
A tick represents a subdivision of a beat. The number of subdivisions per beat is stored in Resolution.
ToggleState
public bool? ToggleState { get; }
Property Value
- bool?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.