XII Release 0.1.0
Loading...
Searching...
No Matches
xiiComponentHandle Struct Reference

#include <Declarations.h>

Inheritance diagram for xiiComponentHandle:
[legend]

Public Member Functions

 XII_DECLARE_HANDLE_TYPE (xiiComponentHandle, xiiComponentId)

Friends

class xiiWorld
class xiiComponentManagerBase
class xiiComponent

Detailed Description

A handle to a component.

Never store a direct pointer to a component. Always store a handle instead. A pointer to a component can be received by calling xiiWorld::TryGetComponent or TryGetComponent on the corresponding component manager. Note that the component might have been deleted so always check the return value of TryGetComponent.


The documentation for this struct was generated from the following file: