SteamTimeline

Swift
public struct SteamTimeline: Sendable

Steamworks ISteamTimeline

Access via timeline.


Topics

func addGamePhaseTag(tagName: String, tagIcon: String, tagGroup: String, priority: Int)

Steamworks ISteamTimeline::AddGamePhaseTag()

Declaration
Swift
public func addGamePhaseTag(
    tagName: String, tagIcon: String, tagGroup: String, priority: Int)

func addInstantaneousTimelineEvent(title: String, description: String, icon: String, iconPriority: Int, startOffsetSeconds: Float, possibleClip: TimelineEventClipPriority) -> TimelineEventHandle

Steamworks ISteamTimeline::AddInstantaneousTimelineEvent()

Declaration
Swift
public func addInstantaneousTimelineEvent(
    title: String, description: String, icon: String, iconPriority: Int,
    startOffsetSeconds: Float, possibleClip: TimelineEventClipPriority
) -> TimelineEventHandle

func addRangeTimelineEvent(title: String, description: String, icon: String, iconPriority: Int, startOffsetSeconds: Float, duration: Float, possibleClip: TimelineEventClipPriority) -> TimelineEventHandle

Steamworks ISteamTimeline::AddRangeTimelineEvent()

Declaration
Swift
public func addRangeTimelineEvent(
    title: String, description: String, icon: String, iconPriority: Int,
    startOffsetSeconds: Float, duration: Float,
    possibleClip: TimelineEventClipPriority
) -> TimelineEventHandle

func clearTimelineTooltip(timeDelta: Float)

Steamworks ISteamTimeline::ClearTimelineTooltip()

Declaration
Swift
public func clearTimelineTooltip(timeDelta: Float)

func doesEventRecordingExist(event: TimelineEventHandle, completion: (sending SteamTimelineEventRecordingExists?) -> Void)

Steamworks ISteamTimeline::DoesEventRecordingExist(), callback

Declaration
Swift
public func doesEventRecordingExist(
    event: TimelineEventHandle,
    completion: @Sendable @escaping (sending SteamTimelineEventRecordingExists?)
        -> Void)

func doesEventRecordingExist(isolation: isolated (any Actor)?, event: TimelineEventHandle) async -> SteamTimelineEventRecordingExists?

Steamworks ISteamTimeline::DoesEventRecordingExist(), async

Declaration
Swift
public func doesEventRecordingExist(
    isolation: isolated (any Actor)? = #isolation, event: TimelineEventHandle
) async -> SteamTimelineEventRecordingExists?

func doesGamePhaseRecordingExist(phaseID: String, completion: (sending SteamTimelineGamePhaseRecordingExists?) -> Void)

Steamworks ISteamTimeline::DoesGamePhaseRecordingExist(), callback

Declaration
Swift
public func doesGamePhaseRecordingExist(
    phaseID: String,
    completion: @Sendable @escaping (
        sending SteamTimelineGamePhaseRecordingExists?
    ) -> Void)

func doesGamePhaseRecordingExist(isolation: isolated (any Actor)?, phaseID: String) async -> SteamTimelineGamePhaseRecordingExists?

Steamworks ISteamTimeline::DoesGamePhaseRecordingExist(), async

Declaration
Swift
public func doesGamePhaseRecordingExist(
    isolation: isolated (any Actor)? = #isolation, phaseID: String
) async -> SteamTimelineGamePhaseRecordingExists?

func endGamePhase()

Steamworks ISteamTimeline::EndGamePhase()

Declaration
Swift
public func endGamePhase()

func endRangeTimelineEvent(event: TimelineEventHandle, endOffsetSeconds: Float)

Steamworks ISteamTimeline::EndRangeTimelineEvent()

Declaration
Swift
public func endRangeTimelineEvent(
    event: TimelineEventHandle, endOffsetSeconds: Float)

func openOverlayToGamePhase(phaseID: String)

Steamworks ISteamTimeline::OpenOverlayToGamePhase()

Declaration
Swift
public func openOverlayToGamePhase(phaseID: String)

func openOverlayToTimelineEvent(event: TimelineEventHandle)

Steamworks ISteamTimeline::OpenOverlayToTimelineEvent()

Declaration
Swift
public func openOverlayToTimelineEvent(event: TimelineEventHandle)

func removeTimelineEvent(event: TimelineEventHandle)

Steamworks ISteamTimeline::RemoveTimelineEvent()

Declaration
Swift
public func removeTimelineEvent(event: TimelineEventHandle)

func setGamePhaseAttribute(attributeGroup: String, attributeValue: String, priority: Int)

Steamworks ISteamTimeline::SetGamePhaseAttribute()

Declaration
Swift
public func setGamePhaseAttribute(
    attributeGroup: String, attributeValue: String, priority: Int)

func setGamePhaseID(phaseID: String)

Steamworks ISteamTimeline::SetGamePhaseID()

Declaration
Swift
public func setGamePhaseID(phaseID: String)

func setTimelineGameMode(mode: TimelineGameMode)

Steamworks ISteamTimeline::SetTimelineGameMode()

Declaration
Swift
public func setTimelineGameMode(mode: TimelineGameMode)

func setTimelineTooltip(description: String, timeDelta: Float)

Steamworks ISteamTimeline::SetTimelineTooltip()

Declaration
Swift
public func setTimelineTooltip(description: String, timeDelta: Float)

func startGamePhase()

Steamworks ISteamTimeline::StartGamePhase()

Declaration
Swift
public func startGamePhase()

func startRangeTimelineEvent(title: String, description: String, icon: String, priority: Int, startOffsetSeconds: Float, possibleClip: TimelineEventClipPriority) -> TimelineEventHandle

Steamworks ISteamTimeline::StartRangeTimelineEvent()

Declaration
Swift
public func startRangeTimelineEvent(
    title: String, description: String, icon: String, priority: Int,
    startOffsetSeconds: Float, possibleClip: TimelineEventClipPriority
) -> TimelineEventHandle

func updateRangeTimelineEvent(event: TimelineEventHandle, title: String, description: String, icon: String, priority: Int, possibleClip: TimelineEventClipPriority)

Steamworks ISteamTimeline::UpdateRangeTimelineEvent()

Declaration
Swift
public func updateRangeTimelineEvent(
    event: TimelineEventHandle, title: String, description: String,
    icon: String, priority: Int, possibleClip: TimelineEventClipPriority)