Skip to content

PCEffectPack<TConnector>.GameValidator ​

Represents a game validator.

Kind: Class

Namespace: CrowdControl.Games

Public Constructors

PCEffectPack<TConnector>.GameValidator(string name, string fileName, Func check)

Creates a new instance of the CrowdControl.Games.PCEffectPack<1.GameValidator class.

Public Member Functions

bool

Validate(string path)

Validates the game by checking for the presence of specific files.

Public Attributes

string

Name

The name of the validator.

string

FileName

The name of the file to check for.

Func

Check

The function to check the file.