Apparatus Version 1.23
ECS data-oriented workflow for Unreal Engine.
Loading...
Searching...
No Matches
Macros | Functions
ApparatusUncookedUtils.h File Reference
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
#include "EdGraphSchema_K2_Actions.h"
#include "KismetCompiler.h"
Include dependency graph for ApparatusUncookedUtils.h:

Macros

#define MAKE_LINK(from, to)   ensure(Schema->TryCreateConnection(from, to))
 
#define MAKE_LINKF(from, to, format, ...)   ensureMsgf(Schema->TryCreateConnection(from, to), format, ##__VA_ARGS__)
 
#define MOVE_LINK(from, to)   ensure(!CompilerContext.MovePinLinksToIntermediate(*from, *to).IsFatal())
 
#define MOVE_LINKF(from, to, format, ...)   ensureMsgf(!CompilerContext.MovePinLinksToIntermediate(*from, *to).IsFatal(), format, ##__VA_ARGS__)
 
#define MOVE_SPLIT_LINK(from, to)   MoveSplitPinLinkToIntermediate(this, CompilerContext, Schema, (from), (to))
 
#define FLAGMARK_SHORTCUT_STR   "\u25C6"
 
#define TRAIT_SHORTCUT_STR   "\u25A0"
 
#define DETAIL_SHORTCUT_STR   "\u25CF"
 
#define NEGATIVE_FLAGMARK_SHORTCUT_STR   "\u25C7"
 
#define NEGATIVE_TRAIT_SHORTCUT_STR   "\u25A1"
 
#define NEGATIVE_DETAIL_SHORTCUT_STR   "\u25CB"
 

Functions

FStructProperty * FindParameterOfType (UFunction *const Function, UScriptStruct *const Type)
 Find a structure function parameter of a certain type.
 
FProperty * FindParameterOfClass (UFunction *Function, UClass *Class)
 Find a function parameter of a certain class.
 
APPARATUSUNCOOKED_API void MoveSplitPinLinkToIntermediate (class UEdGraphNode *const SourceNode, class FKismetCompilerContext &CompilerContext, const UEdGraphSchema_K2 *Schema, UEdGraphPin *const SrcPin, UEdGraphPin *const DstPin)
 

Macro Definition Documentation

◆ DETAIL_SHORTCUT_STR

#define DETAIL_SHORTCUT_STR   "\u25CF"

◆ FLAGMARK_SHORTCUT_STR

#define FLAGMARK_SHORTCUT_STR   "\u25C6"

◆ MAKE_LINK

#define MAKE_LINK (   from,
  to 
)    ensure(Schema->TryCreateConnection(from, to))

◆ MAKE_LINKF

#define MAKE_LINKF (   from,
  to,
  format,
  ... 
)    ensureMsgf(Schema->TryCreateConnection(from, to), format, ##__VA_ARGS__)

◆ MOVE_LINK

#define MOVE_LINK (   from,
  to 
)    ensure(!CompilerContext.MovePinLinksToIntermediate(*from, *to).IsFatal())

◆ MOVE_LINKF

#define MOVE_LINKF (   from,
  to,
  format,
  ... 
)    ensureMsgf(!CompilerContext.MovePinLinksToIntermediate(*from, *to).IsFatal(), format, ##__VA_ARGS__)

◆ MOVE_SPLIT_LINK

#define MOVE_SPLIT_LINK (   from,
  to 
)    MoveSplitPinLinkToIntermediate(this, CompilerContext, Schema, (from), (to))

◆ NEGATIVE_DETAIL_SHORTCUT_STR

#define NEGATIVE_DETAIL_SHORTCUT_STR   "\u25CB"

◆ NEGATIVE_FLAGMARK_SHORTCUT_STR

#define NEGATIVE_FLAGMARK_SHORTCUT_STR   "\u25C7"

◆ NEGATIVE_TRAIT_SHORTCUT_STR

#define NEGATIVE_TRAIT_SHORTCUT_STR   "\u25A1"

◆ TRAIT_SHORTCUT_STR

#define TRAIT_SHORTCUT_STR   "\u25A0"

Function Documentation

◆ FindParameterOfClass()

FProperty * FindParameterOfClass ( UFunction *  Function,
UClass *  Class 
)
inline

Find a function parameter of a certain class.

Supports base classes and interfaces.

◆ FindParameterOfType()

FStructProperty * FindParameterOfType ( UFunction *const  Function,
UScriptStruct *const  Type 
)
inline

Find a structure function parameter of a certain type.

◆ MoveSplitPinLinkToIntermediate()

APPARATUSUNCOOKED_API void MoveSplitPinLinkToIntermediate ( class UEdGraphNode *const  SourceNode,
class FKismetCompilerContext &  CompilerContext,
const UEdGraphSchema_K2 *  Schema,
UEdGraphPin *const  SrcPin,
UEdGraphPin *const  DstPin 
)