| 35 | } |
| 36 | |
| 37 | void ULuaDelegateHandler::AddTo(FMulticastDelegateProperty* InProperty, void* InDelegate) |
| 38 | { |
| 39 | Delegate = InDelegate; |
| 40 | FScriptDelegate DynamicDelegate; |
| 41 | DynamicDelegate.BindUFunction(this, NAME_Dummy); |
| 42 | TMulticastDelegateTraits<FMulticastDelegateType>::AddDelegate(InProperty, MoveTemp(DynamicDelegate), nullptr, InDelegate); |
| 43 | } |
| 44 | |
| 45 | UWorld* ULuaDelegateHandler::GetWorld() const |
| 46 | { |