ActionVerifierVerify Method

Verifies the given GameAction.

Definition

Namespace: ProjectLCore.GameActions.Verification
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public VerificationResult Verify(
	GameAction action
)

Parameters

action  GameAction
The action to verify.

Return Value

VerificationResult
The result of the verification. VerificationSuccess if the action is valid. In case the action is invalid, returns a VerificationFailure describing the first issue encountered.

See Also