Class CustomTimeline
A timeline added by SlugBase.
Inherited Members
Namespace: SlugBase
Assembly: SlugBase.dll
Syntax
public class CustomTimeline
Properties
View SourceBase
An array of timelines this timeline inherits from.
Declaration
public SlugcatStats.Timeline[] Base { get; set; }
Property Value
Type | Description |
---|---|
Timeline[] |
Remarks
If a file specific to this timeline isn't found, these are checked in order before using the default.
ID
This timeline's unique ID.
Declaration
public SlugcatStats.Timeline ID { get; }
Property Value
Type | Description |
---|---|
Timeline |
InsertAfter
The timeline that comes before this.
Declaration
public SlugcatStats.Timeline[] InsertAfter { get; set; }
Property Value
Type | Description |
---|---|
Timeline[] |
Remarks
When determining the order of timelines, this one will be inserted immediately after the first registered element in InsertBefore.
See Also
View SourceInsertBefore
The timeline that comes after this.
Declaration
public SlugcatStats.Timeline[] InsertBefore { get; set; }
Property Value
Type | Description |
---|---|
Timeline[] |
Remarks
When determining the order of timelines, this one will be inserted immediately before the first registered element in InsertBefore.
See Also
View SourceRegistry
Stores all registered CustomTimelines.
Declaration
public static JsonRegistry<SlugcatStats.Timeline, CustomTimeline> Registry { get; }
Property Value
Type | Description |
---|---|
JsonRegistry<SlugcatStats.Timeline, CustomTimeline> |
Methods
View SourceInheritsFrom(Timeline)
Check if parent
is in the list of base timelines.
Declaration
public bool InheritsFrom(SlugcatStats.Timeline parent)
Parameters
Type | Name | Description |
---|---|---|
Timeline | parent |
Returns
Type | Description |
---|---|
bool |