REFERENCESUBSYSTEMS AND LIBRARIES
UCFHostRegistry
The world's table of hosts: which object answers for an actor under an interface, and the wheel contacts of a host for each frame. Without the table an actor answers for itself, and the contacts are gathered at every call.
Functions
Makes Host answer Interface for Actor. Refused with an error log when Host does not implement Interface. A second host for the same pair replaces the first, with a warning naming both. Registering the same host again changes nothing and logs nothing.
Removes the registration of Actor and Interface, but only while it still holds Host.
The host registered for Actor, else Actor itself when it implements Interface, else null. A world without the registry (an editor preview) gives the same answer without the first step.
A scripted wheel host's contacts for this frame: Gather runs at most once per GFrameCounter per host, every caller of the frame gets the same array. Without the registry Gather runs every call.