Skip to content

VersionProfile ​

Kind: Class

Namespace: ConnectorLib.Inject.VersionProfiles

Public Constructors

VersionProfile(string injectProcessName, Action versionInitializationCallback, Action versionDeinitializationCallback, VersionVerifier versionChecker = null)

Creates a new instance of the ConnectorLib.Inject.VersionProfiles.VersionProfile class.

VersionProfile(string injectProcessName, Func> versionInitializationCallback, Func> versionDeinitializationCallback, VersionVerifier versionChecker = null)

Creates a new instance of the ConnectorLib.Inject.VersionProfiles.VersionProfile class.

VersionProfile(string injectProcessName, Func discriminator, Action versionInitializationCallback, Action versionDeinitializationCallback, VersionVerifier versionChecker = null)

Creates a new instance of the ConnectorLib.Inject.VersionProfiles.VersionProfile class.

Properties

VersionVerifier

VersionChecker

[get, ]

The version verifier used to check the version of the game.

string

InjectProcessName

[get, ]

Name of the process to inject into if verification succeeds.

Func>

InitCallback

[get, ]

Initialization callback for this VersionProfile.

Func>

DeinitCallback

[get, ]

Deinitialization callback for this VersionProfile.

Func

Discriminator

[get, ]

Process discriminator function to determine if this profile should be used.