MCPcopy Create free account
hub / github.com/crazytuzi/UnrealCSharp / Generator

Method Generator

Source/ScriptCodeGenerator/Private/FDelegateGenerator.cpp:10–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8TSet<TPair<FString, FString>> FDelegateGenerator::Delegate;
9
10void FDelegateGenerator::Generator(FProperty* InProperty)
11{
12 if (InProperty == nullptr)
13 {
14 return;
15 }
16
17 if (const auto DelegateProperty = CastField<FDelegateProperty>(InProperty))
18 {
19 Generator(DelegateProperty);
20 }
21 else if (const auto MulticastDelegateProperty = CastField<FMulticastDelegateProperty>(InProperty))
22 {
23 Generator(MulticastDelegateProperty);
24 }
25}
26
27void FDelegateGenerator::Generator(FDelegateProperty* InDelegateProperty)
28{

Callers

nothing calls this directly

Calls 5

ContainsMethod · 0.45
AddMethod · 0.45
NumMethod · 0.45
IsEmptyMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected