C-DEngine 5.105

ICDEThing..::..Init Method

This function will be called by TheThingRegistry when "RegisterThing" is called It is possible that TheThingRegistry calls this method multiple times. In fact when ever a new TheThing is registerd with TheThingRegistry, all Things that reply "IsInit()=false" will be called again.

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


bool Init()
Function Init As Boolean
bool^ Init()

Return Value

true if initialization has completed and the Thing is ready to be used. false if initialization is continuing asynchronously, in which case the Thing must fire the eThingEvents.Initialized or eEngineEvents.EngineIntialized for plug-ins) once initialization completes.