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

#include <ScriptEventsAssetRef.h>

Inherits AZ::Data::AssetBus::Handler.

Public Types

using AssetChangedCB = AZStd::function< void(const AZ::Data::Asset< ScriptEventsAsset > &, void *userData)>
 

Public Member Functions

 AZ_RTTI (ScriptEventsAssetRef, "{9BF12D72-9FE5-4F0E-A115-B92D99FB1CD7}")
 
 AZ_CLASS_ALLOCATOR (ScriptEventsAssetRef, AZ::SystemAllocator)
 
 ScriptEventsAssetRef (AZ::Data::Asset< ScriptEventsAsset > asset, const AssetChangedCB &assetChangedCB, void *userData)
 
const ScriptEvents::ScriptEventGetDefinition () const
 
void SetAsset (const AZ::Data::Asset< ScriptEventsAsset > &asset)
 
AZ::Data::Asset< ScriptEvents::ScriptEventsAssetGetAsset () const
 
void Load (bool loadBlocking)
 
AZ::u32 OnAssetChanged ()
 
void OnAssetReady (AZ::Data::Asset< AZ::Data::AssetData > asset) override
 
void OnAssetReloaded (AZ::Data::Asset< AZ::Data::AssetData > asset) override
 
void OnAssetUnloaded (const AZ::Data::AssetId assetId, const AZ::Data::AssetType assetType) override
 
void OnAssetSaved (AZ::Data::Asset< AZ::Data::AssetData > asset, [[maybe_unused]] bool isSuccessful) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Provides script bindings to expose Script Event assets as script property.


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