Plasma Engine  2.0
Loading...
Searching...
No Matches
plComponentHandle Struct Reference

A handle to a component. More...

#include <Declarations.h>

Public Member Functions

 PL_DECLARE_HANDLE_TYPE (plComponentHandle, plComponentId)
 

Friends

class plWorld
 
class plComponentManagerBase
 
class plComponent
 

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 plWorld::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: