IDriver.Init Method

Inits the plugin

Namespace: Gamanet.C4.SimpleInterfaces.Plugins
Assembly: Gamanet.C4.SimpleInterfaces (in Gamanet.C4.SimpleInterfaces.dll) Version: 2026.0.0.242
Syntax
C#
bool Init(
	Guid id,
	ISimpleClient client,
	CancellationToken ct
)

Parameters

id  Guid
The id of entry point, usually BusController
client  ISimpleClient
The client.
ct  CancellationToken
This cancellation token must be used as a parameter for all threads or async task calls created inside the driver. The main driver thread is canceled by hoster calling Terminate method of this interface.

Return Value

Boolean
A bool.
See Also

Reference

IDriver Interface
Gamanet.C4.SimpleInterfaces.Plugins Namespace