Open 3D Engine ScriptCanvas Gem 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.
ScriptCanvas::ConnectionLimitContract Class Reference

Inherits ScriptCanvas::Contract.

Public Member Functions

 AZ_CLASS_ALLOCATOR (ConnectionLimitContract, AZ::SystemAllocator)
 
 AZ_RTTI (ConnectionLimitContract, "{C66FB68F-63D5-4EE2-BC28-D566EC2E5159}", Contract)
 
 ConnectionLimitContract (AZ::s32 limit=-1)
 
void SetLimit (AZ::s32 limit)
 
- Public Member Functions inherited from ScriptCanvas::Contract
 AZ_CLASS_ALLOCATOR (Contract, AZ::SystemAllocator)
 
 AZ_RTTI (Contract, "{93846E60-BD7E-438A-B970-5C4AA591CF93}")
 
AZ::Outcome< void, AZStd::string > Evaluate (const Slot &sourceSlot, const Slot &targetSlot) const
 
AZ::Outcome< void, AZStd::string > EvaluateForType (const Data::Type &dataType) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *reflection)
 
- Static Public Member Functions inherited from ScriptCanvas::Contract
static void Reflect (AZ::ReflectContext *reflection)
 

Protected Member Functions

AZ::Outcome< void, AZStd::string > OnEvaluate (const Slot &sourceSlot, const Slot &targetSlot) const override
 
- Protected Member Functions inherited from ScriptCanvas::Contract
virtual AZ::Outcome< void, AZStd::string > OnEvaluate (const Slot &sourceSlot, const Slot &targetSlot) const =0
 
virtual AZ::Outcome< void, AZStd::string > OnEvaluateForType (const Data::Type &dataType) const
 

Protected Attributes

AZ::s32 m_limit
 

Member Function Documentation

◆ OnEvaluate()

AZ::Outcome< void, AZStd::string > ScriptCanvas::ConnectionLimitContract::OnEvaluate ( const Slot sourceSlot,
const Slot targetSlot 
) const
overrideprotectedvirtual

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