Weaponry Assembly System
WAS
Loading...
Searching...
No Matches
UWeaponRuntimePin Class Reference

#include <WeaponRuntimePin.h>

+ Inheritance diagram for UWeaponRuntimePin:
+ Collaboration diagram for UWeaponRuntimePin:

Public Member Functions

template<typename Fmt , typename ... Args>
void AbortExecution (Fmt &&Format, Args &&... args) const
 
void AbortExecution (FString &&Reason="") const
 
FString BuildPinDebugString () const
 
void ClearCache () const
 
template<typename Type , bool DoEnsure = true>
void ConvertDataTypeToArrayType () const
 
void CopyCacheValue (const UWeaponRuntimePin *OtherPin) const
 
void EnsureCachePointer () const
 
bool EnsureCacheValue () const
 
const FInstancedStruct & GetCacheStructValue () const
 
template<typename T >
const T & GetCacheStructValueAs () const
 
_NODISCARD void * GetCacheValueData () const
 
UWeaponRuntimeGraphGetGraph () const
 
ENumericType GetNumericType () const
 
template<AnyNumeric T>
GetNumericValue () const
 
template<AnyNumeric T>
void GetNumericValue (T &OutValue) const
 
template<AnyObjectType T = UObject>
const TPersistantArray< T > & GetObjectArray () const
 
template<AnyObjectType T = UObject>
FORCEINLINE T * GetSingleObjectValue (const int32 Index=0) const
 
template<AnyObjectType T = UObject>
FORCEINLINE TStrongObjectPtr< T > GetSingleObjectValueStrongObject (const int32 Index=0) const
 
FORCEINLINE bool HasAnyConnection () const
 
bool IsAborting () const
 
bool IsValidNumericType () const
 
FORCEINLINE bool IsValidType (auto &&Type) const
 
template<typename T >
void SetCacheNumericValue (T Value) const
 
template<AnyObjectType T>
void SetCacheObjectArray (TPersistantArray< T > &&Value) const
 
template<AnyObjectType T = UObject>
void SetCacheObjectValue (T *Object) const
 
void SetCacheStringValue (FString &&Value) const
 
void SetCacheStructValue (const FInstancedStruct &Value) const
 
template<typename T >
void SetCacheStructValueAs (T &&Value) const
 
void SetPropertyValue (FProperty *Property, const void *Data) const
 

Public Attributes

TSharedPtr< FPinValueCacheValue
 
TArray< UWeaponRuntimePin * > Connections = TArray<UWeaponRuntimePin*>()
 
class UWeaponRuntimeNodeParent = nullptr
 
FString PinDebugValue
 
FGuid PinGuid
 
FName PinName
 
FName PinSubCategory
 

Protected Member Functions

const TPersistantArray< UObject > & GetObjectArray_Impl () const
 
template<AnyObjectType T>
const TPersistantArray< T > & GetObjectArrayAs_Impl () const
 

Member Function Documentation

◆ AbortExecution() [1/2]

template<typename Fmt , typename ... Args>
void UWeaponRuntimePin::AbortExecution ( Fmt && Format,
Args &&... args ) const
inline

◆ AbortExecution() [2/2]

void UWeaponRuntimePin::AbortExecution ( FString && Reason = "") const

◆ BuildPinDebugString()

FString UWeaponRuntimePin::BuildPinDebugString ( ) const
inline

◆ ClearCache()

void UWeaponRuntimePin::ClearCache ( ) const
inline

◆ ConvertDataTypeToArrayType()

template<typename Type , bool DoEnsure = true>
void UWeaponRuntimePin::ConvertDataTypeToArrayType ( ) const
inline

◆ CopyCacheValue()

void UWeaponRuntimePin::CopyCacheValue ( const UWeaponRuntimePin * OtherPin) const
inline

◆ EnsureCachePointer()

void UWeaponRuntimePin::EnsureCachePointer ( ) const

◆ EnsureCacheValue()

bool UWeaponRuntimePin::EnsureCacheValue ( ) const

◆ GetCacheStructValue()

const FInstancedStruct & UWeaponRuntimePin::GetCacheStructValue ( ) const
inline

◆ GetCacheStructValueAs()

template<typename T >
const T & UWeaponRuntimePin::GetCacheStructValueAs ( ) const
inline

◆ GetCacheValueData()

_NODISCARD void * UWeaponRuntimePin::GetCacheValueData ( ) const
inline

◆ GetGraph()

UWeaponRuntimeGraph * UWeaponRuntimePin::GetGraph ( ) const
inline

◆ GetNumericType()

ENumericType UWeaponRuntimePin::GetNumericType ( ) const
inline

◆ GetNumericValue() [1/2]

template<AnyNumeric T>
T UWeaponRuntimePin::GetNumericValue ( ) const
inline

◆ GetNumericValue() [2/2]

template<AnyNumeric T>
void UWeaponRuntimePin::GetNumericValue ( T & OutValue) const
inline

◆ GetObjectArray()

template<AnyObjectType T = UObject>
const TPersistantArray< T > & UWeaponRuntimePin::GetObjectArray ( ) const
inline

◆ GetObjectArray_Impl()

const TPersistantArray< UObject > & UWeaponRuntimePin::GetObjectArray_Impl ( ) const
inlineprotected

◆ GetObjectArrayAs_Impl()

template<AnyObjectType T>
const TPersistantArray< T > & UWeaponRuntimePin::GetObjectArrayAs_Impl ( ) const
inlineprotected

◆ GetSingleObjectValue()

template<AnyObjectType T = UObject>
FORCEINLINE T * UWeaponRuntimePin::GetSingleObjectValue ( const int32 Index = 0) const
inline

◆ GetSingleObjectValueStrongObject()

template<AnyObjectType T = UObject>
FORCEINLINE TStrongObjectPtr< T > UWeaponRuntimePin::GetSingleObjectValueStrongObject ( const int32 Index = 0) const
inline

◆ HasAnyConnection()

FORCEINLINE bool UWeaponRuntimePin::HasAnyConnection ( ) const
inline

◆ IsAborting()

bool UWeaponRuntimePin::IsAborting ( ) const

◆ IsValidNumericType()

bool UWeaponRuntimePin::IsValidNumericType ( ) const
inline

◆ IsValidType()

FORCEINLINE bool UWeaponRuntimePin::IsValidType ( auto && Type) const
inline

◆ SetCacheNumericValue()

template<typename T >
void UWeaponRuntimePin::SetCacheNumericValue ( T Value) const
inline

◆ SetCacheObjectArray()

template<AnyObjectType T>
void UWeaponRuntimePin::SetCacheObjectArray ( TPersistantArray< T > && Value) const
inline

◆ SetCacheObjectValue()

template<AnyObjectType T = UObject>
void UWeaponRuntimePin::SetCacheObjectValue ( T * Object) const
inline

◆ SetCacheStringValue()

void UWeaponRuntimePin::SetCacheStringValue ( FString && Value) const
inline

◆ SetCacheStructValue()

void UWeaponRuntimePin::SetCacheStructValue ( const FInstancedStruct & Value) const
inline

◆ SetCacheStructValueAs()

template<typename T >
void UWeaponRuntimePin::SetCacheStructValueAs ( T && Value) const
inline

◆ SetPropertyValue()

void UWeaponRuntimePin::SetPropertyValue ( FProperty * Property,
const void * Data ) const
inline

Member Data Documentation

◆ CacheValue

TSharedPtr<FPinValue> UWeaponRuntimePin::CacheValue
mutable

◆ Connections

TArray<UWeaponRuntimePin*> UWeaponRuntimePin::Connections = TArray<UWeaponRuntimePin*>()

◆ Parent

class UWeaponRuntimeNode* UWeaponRuntimePin::Parent = nullptr

◆ PinDebugValue

FString UWeaponRuntimePin::PinDebugValue

◆ PinGuid

FGuid UWeaponRuntimePin::PinGuid

◆ PinName

FName UWeaponRuntimePin::PinName

◆ PinSubCategory

FName UWeaponRuntimePin::PinSubCategory