Table of Contents

Struct GameTick

Namespace
GuildWars2.Mumble
Assembly
GW2SDK.dll

Represents the game state at a specific point in time.

public readonly record struct GameTick : IEquatable<GameTick>
Implements
Inherited Members

Fields

AvatarFront

Unit vector pointing out of the avatar's eyes aka "At"-vector.

AvatarPosition

Avatar position is the position of the player in the map coordinate system. X is measured along the east-west axis, Y measures elevation, Z is measured along the north-south axis.

AvatarTop

Unit vector pointing out of the top of the avatar's head aka "Up"-vector (here Top points straight up

CameraFront

Same as AvatarFront but for the camera.

CameraPosition

Same as AvatarPosition but for the camera.

CameraTop

Same as AvatarTop but for the camera.

Context

Context which is used to uniquely identify people on the same server shards. It also contains miscellaneous UI states.

Description

The description of the game.

Identity

A free-text field which uniquely identifies the player. The Guild Wars 2 client stores JSON in this field. Use GetIdentity(MissingMemberBehavior) to get the object representation.

Name

The name of the game.

UiTick

The current tick number. This is incremented every frame, and is used internally to detect if the data has changed since the last tick.

UiVersion

The version of the MumbleLink plugin. This is used to determine the layout of the data structure. You may also check that it is not 0 to verify whether the Link is initialized.

Methods

GetIdentity(MissingMemberBehavior)

Gets the identity object from the JSON string.