UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IUserObjectListEntry.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "IUserListEntry.h"
6#include "IUserObjectListEntry.generated.h"
7
12UINTERFACE(MinimalAPI)
17
19{
21
22public:
24 template <typename ItemObjectT = UObject>
26 {
27 static_assert(TIsDerivedFrom<ItemObjectT, UObject>::IsDerived, "Items represented by an ObjectListEntry are always expected to be UObjects.");
28 return Cast<ItemObjectT>(GetListItemObjectInternal());
29 }
30
31protected:
34
36 UFUNCTION(BlueprintImplementableEvent, Category = ObjectListEntry)
38
40 UMG_API UObject* GetListItemObjectInternal() const;
41
44};
45
47UCLASS(MinimalAPI)
49{
51
52public:
57 UFUNCTION(BlueprintPure, Category = UserObjectListEntry, meta = (DefaultToSelf = UserObjectListEntry))
59
61 UFUNCTION(BlueprintPure, Category = UserObjectListEntry, meta = (DefaultToSelf = UserObjectListEntry))
63
65 UFUNCTION(BlueprintPure, Category = UserObjectListEntry, meta = (DefaultToSelf = UserObjectListEntry))
67
69 UFUNCTION(BlueprintPure, Category = UserObjectListEntry, meta = (DefaultToSelf = UserObjectListEntry))
71};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition IUserListEntry.h:28
Definition IUserObjectListEntry.h:19
UMG_API void OnListItemObjectSet(UObject *ListItemObject)
virtual UMG_API void NativeOnListItemObjectSet(UObject *ListItemObject)
Definition IUserObjectListEntry.cpp:14
ItemObjectT * GetListItem() const
Definition IUserObjectListEntry.h:25
Definition SObjectTableRow.h:61
Definition ScriptInterface.h:139
Definition BlueprintFunctionLibrary.h:16
Definition Object.h:95
Definition IUserListEntry.h:23
Definition IUserObjectListEntry.h:49
Definition IUserObjectListEntry.h:14
Definition UserWidget.h:284
Definition UnrealTypeTraits.h:40