GZCOM Framework - nsgomez/gzcom-dll GitHub Wiki

The GZCOM Framework acts as a central coordinator for interfacing with services and the application, and for registering and unregistering hooks. The framework is actually an extension of the GZCOM Director, and also shows properties of a service, having its own OnTick and OnIdle methods.

Since the game divides work up among other services (including the application instance), one of the most important roles the framework plays is providing methods for getting, adding, and removing services. Particularly, the framework provides GetSystemService, which takes the service's ID (as defined by the service) and the interface ID and double pointer to pass to QueryInterface.

It also provides methods for adding and removing class instances that implement cIGZSystemService. However, for these services to be useful they must also be enabled using AddToTick and/or AddToOnIdle.

See Also