HumanPlayerGetActionEventArgs Constructor

Initializes a new instance of the HumanPlayerGetActionEventArgs class with the specified parameters.

Definition

Namespace: ProjectLCore.Players
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public GetActionEventArgs(
	GameStateGameInfo gameInfo,
	PlayerStatePlayerInfo playerInfo,
	TurnInfo turnInfo,
	ActionVerifier verifier,
	CancellationToken cancellationToken
)

Parameters

gameInfo  GameStateGameInfo
Information about the shared resources in the game.
playerInfo  PlayerStatePlayerInfo
Information about the resources of the player requesting the action.
turnInfo  TurnInfo
Information about the current turn.
verifier  ActionVerifier
The verifier for validating the validity of actions in the current game context.
cancellationToken  CancellationToken
Cancellation token to observe while waiting for the task to complete.

See Also