Add alias to UKismetSystemLibrary::IsValid
This commit is contained in:
@@ -20,6 +20,7 @@ namespace SDK {
|
|||||||
class UConsole;
|
class UConsole;
|
||||||
class UInputSettings;
|
class UInputSettings;
|
||||||
class UKismetStringLibrary;
|
class UKismetStringLibrary;
|
||||||
|
class UKismetSystemLibrary;
|
||||||
class UGameInstance;
|
class UGameInstance;
|
||||||
class ULocalPlayer;
|
class ULocalPlayer;
|
||||||
class APlayerController;
|
class APlayerController;
|
||||||
@@ -29,6 +30,12 @@ namespace UC {
|
|||||||
class FString;
|
class FString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Templates
|
||||||
|
template<typename T>
|
||||||
|
inline bool IsValidUObj(T* obj) {
|
||||||
|
return obj && SDK::UKismetSystemLibrary::IsValid(obj);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Prepare all visual effects to be toggled by pending them.
|
* @brief Prepare all visual effects to be toggled by pending them.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user