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::ScriptEventBinding Class Reference

Inherits Internal::BindingRequestBus::Handler.

Public Member Functions

 AZ_TYPE_INFO (ScriptEventBinding, "{E0DDA446-656D-41D6-8BEC-42B6EA57DD7D}")
 
 AZ_CLASS_ALLOCATOR (ScriptEventBinding, AZ::SystemAllocator)
 
 ScriptEventBinding (AZ::BehaviorContext *context, AZStd::string_view scriptEventName, const AZ::Uuid &addressType)
 
AZStd::string_view GetScriptEventName () const
 

Protected Types

using EventSet = AZStd::set< ScriptEventsHandler * >
 
using EventBindingEntry = AZStd::pair< size_t, AZStd::set< ScriptEventsHandler * > >
 
using EventMap = AZStd::unordered_map< size_t, AZStd::set< ScriptEventsHandler * > >
 

Protected Member Functions

void Bind (const BindingParameters &) override
 
void Connect (const AZ::BehaviorArgument *address, ScriptEventsHandler *handler) override
 
void Disconnect (const AZ::BehaviorArgument *address, ScriptEventsHandler *handler) override
 
void RemoveHandler (ScriptEventsHandler *handler) override
 
size_t GetAddressHash (const AZ::BehaviorArgument *address)
 

Protected Attributes

AZ::BehaviorMethod * m_equalityOperatorMethod
 
EventSet m_broadcasts
 
EventMap m_events
 
AZStd::string_view m_scriptEventName
 
AZ::BehaviorContext * m_context
 
AZ::Uuid m_busBindingAddress
 

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