#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::ScriptEvent * | GetDefinition () const |
void | SetAsset (const AZ::Data::Asset< ScriptEventsAsset > &asset) |
AZ::Data::Asset< ScriptEvents::ScriptEventsAsset > | GetAsset () 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, bool isSuccessful) override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Provides script bindings to expose Script Event assets as script property.