swiftlys2/docs/api/ai/
API Reference › Menu

MenuTextScrollState

Class
Namespace: SwiftlyS2.Shared.Menu · Assembly: SwiftlyS2.CS2.dll
public sealed class MenuTextScrollState
Inherits object

One player's scroll position for one piece of animated text.

Held in IMenuSession state so a single component instance animates independently for every player looking at it.

View source

Properties

LastUpdate

When the offset last advanced.

public DateTime LastUpdate { get; set; }
Property Value

Offset

How many characters the window has moved.

public int Offset { get; set; }
Property Value

PauseUntil

When the pause at the end of a cycle expires.

public DateTime PauseUntil { get; set; }
Property Value