mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Add project files.
This commit is contained in:
11
Project Reboot 3.0/ActorComponent.cpp
Normal file
11
Project Reboot 3.0/ActorComponent.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "ActorComponent.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
AActor* UActorComponent::GetOwner()
|
||||
{
|
||||
auto GetOwnerFn = FindObject<UFunction>(L"/Script/Engine.ActorComponent.GetOwner");
|
||||
AActor* Owner;
|
||||
this->ProcessEvent(GetOwnerFn, &Owner);
|
||||
return Owner;
|
||||
}
|
||||
Reference in New Issue
Block a user