A detail caching for subjects used in the belts' slots.
More...
#include <BeltSlotCache.h>
A detail caching for subjects used in the belts' slots.
◆ FBeltSlotCache() [1/3]
◆ FBeltSlotCache() [2/3]
◆ FBeltSlotCache() [3/3]
FBeltSlotCache::FBeltSlotCache |
( |
| ) |
|
|
inline |
Construct an invalid/uninitialized cache.
◆ Fetch() [1/2]
void FBeltSlotCache::Fetch |
( |
const TSubclassOf< UDetail > |
DetailClass, |
|
|
const ISubjective *const |
Subjective |
|
) |
| |
|
inline |
Fetch the detail instances from the subject.
◆ Fetch() [2/2]
void FBeltSlotCache::Fetch |
( |
const TSubclassOf< UDetail > |
DetailClass, |
|
|
const TArray< UDetail * > & |
InDetails |
|
) |
| |
|
inline |
Fetch the detail instances from the user-provided list of details.
◆ GetDetailClass()
TSubclassOf< UDetail > FBeltSlotCache::GetDetailClass |
( |
| ) |
const |
|
inline |
Get the class of details stored within the cache.
◆ GetDetails()
const TArray< TWeakObjectPtr< class UDetail > > & FBeltSlotCache::GetDetails |
( |
| ) |
const |
|
inline |
Get the list of all fetched details.
◆ GetOwner()
FBeltSlot * FBeltSlotCache::GetOwner |
( |
| ) |
const |
|
inline |
Get the owner of the cache.
◆ HasAny()
bool FBeltSlotCache::HasAny |
( |
| ) |
const |
|
inline |
Check if there are any viable detail(s) within the cache.
◆ IterableNum()
int32 FBeltSlotCache::IterableNum |
( |
| ) |
const |
|
inline |
Get the current number of iterable details.
◆ operator bool()
FBeltSlotCache::operator bool |
( |
| ) |
const |
|
inline |
Check if there are any viable detail(s) within the cache.
◆ operator+=()
Append the cache from another cache instance.
◆ operator=()
Copy the cache from another cache instance.
◆ operator[]()
const TWeakObjectPtr< class UDetail > & FBeltSlotCache::operator[] |
( |
const int32 |
Index | ) |
const |
|
inline |
Get a detail at specified index.
- Parameters
-
Index | The index of the detail to get. |
◆ FBeltSlot
◆ TArray< FBeltSlotCache >
◆ TBeltIt
template<typename SubjectHandleT >
◆ UBelt
◆ UClass
◆ UObject
The documentation for this struct was generated from the following files: