Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::BehaviorComponentId Class Reference

#include <BehaviorEntity.h>

Public Member Functions

 AZ_TYPE_INFO (BehaviorComponentId, "{60A9A069-9C3D-465A-B7AD-0D6CC803990A}")
 
 AZ_CLASS_ALLOCATOR (BehaviorComponentId, AZ::SystemAllocator)
 
 BehaviorComponentId (AZ::ComponentId id)
 
 operator AZ::ComponentId () const
 
bool operator== (const BehaviorComponentId &rhs) const
 
bool IsValid () const
 
AZStd::string ToString () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

A wrapper around AZ::ComponentId, for use within the BehaviorContext. This wrapper is necessary because AZ::ComponentId is just a 64bit int and Lua cannot store the exact value of a 64bit int.

BehaviorComponentId should only be used in coordination with the BehaviorEntity class to access components on deactivated entities. Other systems, which communicate with activated entities, should use the appropriate EBus to communicate with components.


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