Class PlayerEventArgs
A class representing a game event for a specific player.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public class PlayerEventArgs : GameEventArgs, IGameEventArgs
Remarks
Initializes a new instance of the PlayerEventArgs class.
Constructors
View SourcePlayerEventArgs(string, int, string?)
A class representing a game event for a specific player.
Declaration
public PlayerEventArgs(string name, int playerIndex, string? value = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The event name. |
| int | playerIndex | The player index. |
| string | value | The event data. |
Remarks
Initializes a new instance of the PlayerEventArgs class.
Properties
View SourcePlayerIndex
Gets the player's index.
Declaration
public int PlayerIndex { get; }
Property Value
| Type | Description |
|---|---|
| int |