You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nelson Gomez edited this page May 30, 2016
·
1 revision
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.