|
Weaponry Assembly System
WAS
|
#include <WeaponCustomFunctionRuntimeNode.h>
Inheritance diagram for UWeaponCustomFunctionRuntimeNode:
Collaboration diagram for UWeaponCustomFunctionRuntimeNode:Public Member Functions | |
| virtual void | ClearCache () const override |
| void | CollectDataToPin (const UWeaponRuntimePin *Pin) const |
| void | EnsureClassIsKnown () |
| UFunction * | GetFunction () const |
| virtual FORCEINLINE UObject * | GetFunctionExecutor () const |
| virtual FORCEINLINE UClass * | GetFunctionExecutorClass () const |
| FProperty * | GetMatchingProperty (const UWeaponRuntimePin *Pin) const |
| virtual void | Init () override |
| bool | InitBagFromStructIfNeeded () |
| void | LoadFunctionData () |
| void | LoadIfNotLoaded () const |
| void | LoadParams (const UFunction &Function) const |
| void | SetArrayFromParam (const UWeaponRuntimePin *PinData, void *Params, FArrayProperty *Property) |
| void | SetArrayToParam (const UWeaponRuntimePin *PinData, void *Params, FArrayProperty *Property) |
| FORCEINLINE void | SetFunctionName (const FName &NewFunctionName) |
| void | SetNumericFromParam (const UWeaponRuntimePin *PinData, void *Params, FNumericProperty *Property) |
| void | SetNumericToParam (const UWeaponRuntimePin *PinData, void *Params, FNumericProperty *Property) |
| void | SetObjectFromParam (const UWeaponRuntimePin *PinData, void *Params, FObjectProperty *Property) |
| void | SetObjectToParam (const UWeaponRuntimePin *PinData, void *Params, FObjectProperty *Property) |
| void | SetPinCacheDataType (const UWeaponRuntimePin *Pin) const |
| void | SetValueFromParam (const UWeaponRuntimePin *PinData, void *ParamsData, FProperty *ParameterProperty) |
| Copies the function's output parameter value into the pin. | |
| void | SetValueToParam (const UWeaponRuntimePin *PinData, void *ParamsData, FProperty *ParameterProperty) |
| Copies the pin value into the function parameter according to property type. | |
Public Member Functions inherited from UWeaponRuntimeNode | |
| template<typename Fmt , typename ... Args> | |
| void | AbortExecution (Fmt &&Format, Args &&... args) const |
| void | AbortExecution (FString &&Reason="") const |
| FORCEINLINE void | Execute () |
| FORCEINLINE_DEBUGGABLE TArray< UWeaponRuntimePin * > | GetAllPins () const |
| class UWeaponAssetCharacteristics * | GetCharacteristics () const |
| const class UWeaponAssetCharacteristics * | GetCharacteristicsCDO () const |
| const class UWeaponAssetCharacteristics * | GetDefaultCharacteristics () const |
| TSubclassOf< UWeaponAssetCharacteristics > | GetDefaultCharacteristicsClass () const |
| const struct FWeaponExecutionContext & | GetDefaultExecutionContext () const |
| const struct FWeaponExecutionContext & | GetExecutionContext () const |
| class UWeaponRuntimeGraph * | GetGraph () const |
| class UWeaponRuntimeGraph * | GetGraphAnyContext () const |
| virtual FORCEINLINE UWeaponRuntimePin * | GetInput (int32 Index=0) const |
| FORCEINLINE UWeaponRuntimePin * | GetLastInput () const |
| virtual FORCEINLINE UWeaponRuntimePin * | GetMainInput () const |
| virtual FORCEINLINE UWeaponRuntimePin * | GetMainOutput () const |
| FORCEINLINE UWeaponRuntimeNode * | GetNodeFromInput (int32 InputIndex) const |
| FORCEINLINE void | GetNodeFromInput (int32 InputIndex, TArray< UWeaponRuntimeNode * > &ConnectedNodes) const |
| UWeaponRuntimeNode * | GetNodeFromInput (UWeaponRuntimePin *FromPin) const |
| void | GetNodeFromInput (UWeaponRuntimePin *FromPin, TArray< UWeaponRuntimeNode * > &ConnectedNodes) const |
| virtual FORCEINLINE UWeaponRuntimePin * | GetOutput (int32 Index=0) const |
| UWeaponRuntimePin * | GetPinByName (const FName &PinName, const TOptional< bool > &OptionalInputOnly) const |
| UWeaponRuntimePin * | GetPinConnection (const UWeaponRuntimePin *Pin, int32 ConnectionIndex=0) const |
| FORCEINLINE UWeaponRuntimePin * | GetPinConnection (int32 Pin, int32 ConnectionIndex=0) const |
| FORCEINLINE const TArray< UWeaponRuntimePin * > & | GetPinConnections (const int32 Pin=0) const |
| const TArray< UWeaponRuntimePin * > & | GetPinConnections (const UWeaponRuntimePin *Pin) const |
| virtual void | GetValidPin (TArray< UWeaponRuntimePin * > &Pins) |
| UObject * | GetWorldContext () const |
| FORCEINLINE bool | HasInput () const |
| FORCEINLINE bool | HasOutput () const |
| bool | IsAborting () const |
| void | Reset () |
Static Public Member Functions | |
| static bool | IsArray (const FProperty *Property) |
| static bool | IsArrayOfObjects (const FProperty *Property) |
Public Attributes | |
| FInstancedPropertyBag | ParamsBag |
| TObjectPtr< const UStruct > | SourceParamsStruct |
Public Attributes inherited from UWeaponRuntimeNode | |
| TArray< UWeaponRuntimePin * > | InputPins |
| TArray< UWeaponRuntimePin * > | OutputPins |
Protected Member Functions | |
| virtual void | ExecuteNode () override |
| FName | GetFunctionName () const |
| FName & | GetFunctionNameRef () |
| void | LoadFunction () const |
| virtual void | PostInitProperties () override |
| virtual void | PreExecuteNode () override |
| virtual void | Serialize (FArchive &Ar) override |
| virtual void | Serialize (FStructuredArchive::FRecord Record) override |
Protected Member Functions inherited from UWeaponMemberNode | |
| template<typename Member > | |
| FORCEINLINE ELoadMember | LoadMember (Member *&LoadTo, const FMemberReference &MemberRef, const FName FallbackName) const |
| template<typename Member > | |
| FORCEINLINE ELoadMember | LoadMemberChecked (Member *&LoadTo, const FMemberReference &MemberRef, const FName FallbackName) const |
Protected Member Functions inherited from UWeaponRuntimeNode | |
| void | FixInvalidPinsConnections () |
| virtual void | GetNodeDebugString (TArray< FString > &Strings) const |
| virtual void | PostExecuteNode () |
| void | RemoveDuplicatedConections () |
| void | UpdateNodeFlowDebugString () |
Protected Attributes | |
| const FMemberReference | FunctionMember |
| UClass * | FunctorClass |
Protected Attributes inherited from UWeaponRuntimeNode | |
| FString | NodeFlowDebugString |
Additional Inherited Members | |
Protected Types inherited from UWeaponMemberNode | |
| enum class | ELoadMember : uint8 { None , FromName , FromMemberRef = None } |
Runtime node that calls a member function from the Characteristics class.
|
inlineoverridevirtual |
Reimplemented from UWeaponRuntimeNode.
| void UWeaponCustomFunctionRuntimeNode::CollectDataToPin | ( | const UWeaponRuntimePin * | Pin | ) | const |
|
inline |
|
overrideprotectedvirtual |
Reimplemented from UWeaponRuntimeNode.
| UFunction * UWeaponCustomFunctionRuntimeNode::GetFunction | ( | ) | const |
Gets a pointer to the function.
|
inlinevirtual |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
| FProperty * UWeaponCustomFunctionRuntimeNode::GetMatchingProperty | ( | const UWeaponRuntimePin * | Pin | ) | const |
Gets the property represented by the pin
| Pin | Pin that represents the parameter |
|
overridevirtual |
Reimplemented from UWeaponRuntimeNode.
| bool UWeaponCustomFunctionRuntimeNode::InitBagFromStructIfNeeded | ( | ) |
|
static |
|
static |
|
protected |
| void UWeaponCustomFunctionRuntimeNode::LoadFunctionData | ( | ) |
|
inline |
| void UWeaponCustomFunctionRuntimeNode::LoadParams | ( | const UFunction & | Function | ) | const |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from UWeaponRuntimeNode.
|
overrideprotectedvirtual |
|
inlineoverrideprotectedvirtual |
| void UWeaponCustomFunctionRuntimeNode::SetArrayFromParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FArrayProperty * | Property ) |
| void UWeaponCustomFunctionRuntimeNode::SetArrayToParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FArrayProperty * | Property ) |
|
inline |
Updates the expected name of the property. THIS DOES NOT UPDATE THE POINTER
| NewFunctionName | new expected name |
| void UWeaponCustomFunctionRuntimeNode::SetNumericFromParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FNumericProperty * | Property ) |
| void UWeaponCustomFunctionRuntimeNode::SetNumericToParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FNumericProperty * | Property ) |
| void UWeaponCustomFunctionRuntimeNode::SetObjectFromParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FObjectProperty * | Property ) |
| void UWeaponCustomFunctionRuntimeNode::SetObjectToParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | Params, | ||
| FObjectProperty * | Property ) |
| void UWeaponCustomFunctionRuntimeNode::SetPinCacheDataType | ( | const UWeaponRuntimePin * | Pin | ) | const |
| void UWeaponCustomFunctionRuntimeNode::SetValueFromParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | ParamsData, | ||
| FProperty * | ParameterProperty ) |
Copies the function's output parameter value into the pin.
| PinData | Destination pin for the output value. |
| ParamsData | Memory location of the function parameters struct. |
| ParameterProperty | Property descriptor of the output parameter. |
| void UWeaponCustomFunctionRuntimeNode::SetValueToParam | ( | const UWeaponRuntimePin * | PinData, |
| void * | ParamsData, | ||
| FProperty * | ParameterProperty ) |
Copies the pin value into the function parameter according to property type.
| PinData | Source pin holding the value. |
| ParamsData | Memory location of the function parameters struct. |
| ParameterProperty | Property descriptor of the function parameter. |
|
protected |
|
protected |
| FInstancedPropertyBag UWeaponCustomFunctionRuntimeNode::ParamsBag |
| TObjectPtr<const UStruct> UWeaponCustomFunctionRuntimeNode::SourceParamsStruct |