MCPcopy Create free account
hub / github.com/NotYetGames/DlgSystem / FireNodeEnterEvents

Method FireNodeEnterEvents

Source/DlgSystem/Private/Nodes/DlgNode.cpp:142–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void UDlgNode::FireNodeEnterEvents(UDlgContext& Context)
143{
144 for (const FDlgEvent& Event : EnterEvents)
145 {
146 // Get Participant from either event or parent
147 UObject* Participant = Context.GetMutableParticipant(Event.ParticipantName);
148 if (!IsValid(Participant))
149 {
150 Participant = Context.GetMutableParticipant(OwnerName);
151 }
152
153 Event.Call(Context, TEXT("FireNodeEnterEvents"), Participant);
154 }
155}
156
157bool UDlgNode::ReevaluateChildren(UDlgContext& Context, TSet<const UDlgNode*> AlreadyEvaluated)
158{

Callers 1

HandleNodeEnterMethod · 0.80

Calls 3

GetMutableParticipantMethod · 0.80
CallMethod · 0.80
IsValidFunction · 0.50

Tested by

no test coverage detected