|
static FTraitmark | MakeTraitmark (const TArray< UScriptStruct * > &Traits, const EBootFilter BootState=EBootFilter::None) |
|
static FDetailmark | MakeDetailmark (const TArray< TSubclassOf< UDetail >> &Details, const EBootFilter BootState=EBootFilter::None) |
|
static FFingerprint | MakeFingerprint (const TArray< UScriptStruct * > &Traits, const TArray< TSubclassOf< UDetail >> &Details, const EBootFilter BootState=EBootFilter::None) |
|
static FFilter | MakeFilter (const TArray< UScriptStruct * > &Traits, const TArray< TSubclassOf< UDetail >> &Details, const TArray< UScriptStruct * > &ExcludedTraits, const TArray< TSubclassOf< UDetail >> &ExcludedDetails, const EBootFilter Booting) |
| Make a filter from the list of details, exclusion details, and a boot filter. More...
|
|
static bool | FingerprintMatches (const FFingerprint &Fingerprint, const FFilter &Filter) |
|
static FBitMask | BitMaskOr (const FBitMask &A, const FBitMask &B) |
|
static FBitMask | BitMaskAnd (const FBitMask &A, const FBitMask &B) |
|
static FFingerprint & | AddDetailToFingerprint (FFingerprint &Fingerprint, const TSubclassOf< UDetail > DetailClass) |
|
static FFingerprint & | RemoveDetailFromFingerprint (FFingerprint &Fingerprint, const TSubclassOf< UDetail > DetailClass) |
|
static void | GetSubjectiveFingerprint (TScriptInterface< ISubjective > Subjective, FFingerprint &OutFingerprint) |
| Get the current fingerprint of a subject. More...
|
|
static USubjectiveActorComponent * | GetSubjectiveComponent (TScriptInterface< ISubjective > Subjective) |
|
static AActor * | GetSubjectiveActor (TScriptInterface< ISubjective > Subjective) |
| Get the actor of the subjective in question, if this subjective is actually an actor's subject. More...
|
|
static UUserWidget * | GetSubjectiveWidget (TScriptInterface< ISubjective > Subjective) |
| Get the widget in question, if this subjective is actually an user widget. More...
|
|
static class UDetail * | EnableSubjectiveDetail (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass) |
| Enable a detail of a certain type. More...
|
|
static class UBelt * | GetSubjectivePreferredBelt (TScriptInterface< ISubjective > Subjective) |
| Get the preferred user-set belt. More...
|
|
static bool | HasSubjectiveDetail (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass, const bool bIncludeDisabled=false) |
| Check if the subjective contains a detail of a certain type. More...
|
|
static UDetail * | FindSubjectiveDetail (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass, const bool bIncludeDisabled=false) |
| Find a detail by its type. More...
|
|
static void | GetSubjectiveDetails (TScriptInterface< ISubjective > Subjective, const bool bIncludeDisabled, TArray< UDetail * > &OutDetails) |
| Get the current list of details in the subject. More...
|
|
static TArray< UDetail * > | FindSubjectiveDetails (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass, const bool bIncludeDisabled=false) |
| Find the details by their type. More...
|
|
static class UDetail * | AddSubjectiveDetail (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass, const bool bReuseDisabled=false) |
| Add or reuse a detail of a certain type. More...
|
|
static EApparatusStatus | DisableSubjectiveDetail (TScriptInterface< ISubjective > Subjective, TSubclassOf< UDetail > DetailClass, const bool bDisableMultiple=false) |
| Disable a first detail matching the passed type. More...
|
|
static void | GetSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Get a trait structure for a subjective. More...
|
|
static void | Generic_GetSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, void *const OutTraitData) |
|
static void | SetSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, const FGenericStruct &InTraitData) |
| Set a trait structure for a subjective. More...
|
|
static void | Generic_SetSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, const void *const InTraitData) |
|
static void | ObtainSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Obtain a trait structure for a subjective. More...
|
|
static void | Generic_ObtainSubjectiveTrait (TScriptInterface< ISubjective > Subjective, UScriptStruct *TraitType, void *const OutTraitData) |
|
static void | GetSubjectTrait (const FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Get a trait structure from a subject. More...
|
|
static void | Generic_GetSubjectTrait (const FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, void *const OutTraitData) |
|
static void | SetSubjectTrait (FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, const FGenericStruct &InTraitData) |
| Set a trait structure for a subject. More...
|
|
static void | Generic_SetSubjectTrait (const FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, const void *const InTraitData) |
|
static void | ObtainSubjectTrait (FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Obtain a trait structure from a subject. More...
|
|
static void | Generic_ObtainSubjectTrait (const FSubjectHandle &SubjectHandle, UScriptStruct *TraitType, void *const OutTraitData) |
|
static bool | BeginBeltChain (const int32 &BeltChainId) |
| Begin iterating upon a belt chain. More...
|
|
static bool | AdvanceBeltChain (const int32 &BeltChainId) |
| Advance while iterating upon a belt chain. More...
|
|
static bool | BeginOrAdvanceBeltChain (const int32 &BeltChainId) |
| Begin iterating or advance while iterating upon a belt chain. More...
|
|
static FSubjectHandle | GetBeltChainSubject (const int32 &BeltChainId) |
| Get the current iteration's subject handle. More...
|
|
static TScriptInterface< ISubjective > | GetBeltChainSubjective (const int32 &BeltChainId) |
| Get the current iteration's subjective (if any). More...
|
|
static void | GetChunkChainTrait (const int32 &ChunkChainId, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Get an existing trait structure from the current chunk chain cursor. More...
|
|
static void | Generic_GetChunkChainTrait (const int32 &ChunkChainId, UScriptStruct *TraitType, void *const OutTraitData) |
|
static void | GetChunkChainTraitAt (const int32 &ChunkChainId, const int32 TraitIndex, FGenericStruct &OutTraitData) |
| Get an existing trait structure from the current chunk chain cursor at a specific index. More...
|
|
static void | Generic_GetChunkChainTraitAt (const int32 &ChunkChainId, const int32 TraitIndex, void *const OutTraitData) |
|
static void | GetBeltChainTrait (const int32 &BeltChainId, UScriptStruct *TraitType, FGenericStruct &OutTraitData) |
| Get an existing trait structure from the current belt chain cursor. More...
|
|
static void | Generic_GetBeltChainTrait (const int32 &BeltChainId, UScriptStruct *TraitType, void *const OutTraitData) |
|
static class UDetail * | GetChunkChainDetail (const int32 &ChunkChainId, TSubclassOf< UDetail > DetailClass) |
| Get a detail from a current chunk chain iteration. More...
|
|
static class UDetail * | GetBeltChainDetailHinted (const int32 &BeltChainId, TSubclassOf< UDetail > DetailClass, const int32 DetailIndexHint) |
| Get a detail from a belt chain while hinting its index. More...
|
|
static bool | BeginChunkChain (const int32 &ChunkChainId) |
| Begin iterating upon a chunk chain. More...
|
|
static bool | AdvanceChunkChain (const int32 &ChunkChainId) |
| Advance while iterating upon a chunk chain. More...
|
|
static bool | BeginOrAdvanceChunkChain (const int32 &ChunkChainId) |
| Begin iterating or advance while iterating upon a chunk chain. More...
|
|
static FSubjectHandle | GetChunkChainSubject (const int32 &ChunkChainId) |
| Get the current iteration's subject handle. More...
|
|
static TScriptInterface< ISubjective > | GetChunkChainSubjective (const int32 &ChunkChainId) |
| Get the current iteration's subjective (if any). More...
|
|
static EApparatusStatus | SpawnMachineSubject (FSubjectHandle &OutSubjectHandle) |
| Spawn a subject within the machine. More...
|
|
static EApparatusStatus | DespawnMachineSubject (const FSubjectHandle &SubjectHandle) |
| Despawn a subject from the machine. More...
|
|
static UScriptStruct * | FindStruct (const TCHAR *StructName) |
|
The main Apparatus function library.