Class GameLink
- Namespace
- GuildWars2
- Assembly
- GW2SDK.dll
Represents a link to the game client that provides realtime game state updates.
public sealed class GameLink : IObservable<GameTick>, IDisposable, IAsyncDisposable
- Inheritance
-
GameLink
- Implements
- Inherited Members
Fields
- MinimumRefreshInterval
The smallest allowed polling interval.
Methods
- DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
- GetSnapshot()
Gets a snapshot of the current game state.
- IsSupported()
Checks if the GameLink is supported on the current platform.
- Open(TimeSpan, string)
Opens a GameLink instance with the specified refresh interval and name.
- Subscribe(IObserver<GameTick>)
Subscribes an observer to receive realtime game state updates.