Table of Contents

Struct PlayerKeyData

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the key data of a player, including pressed keys and directional input.

public readonly struct PlayerKeyData
Inherited Members

Fields

keys

The bitmask representing the keys currently pressed by the player.

public readonly uint keys

Field Value

uint

leftRight

The state of the left and right directional keys.

public readonly ushort leftRight

Field Value

ushort

upDown

The state of the up and down directional keys.

public readonly ushort upDown

Field Value

ushort