|
SubjectivePtrType | GetSubjective () const |
| Get a subjective this handle is associated with (if any).
|
|
|
bool | operator== (TYPE_OF_NULLPTR) const |
| Check if the unsafe subject handle is invalid and is pointing to a non-existent subject.
|
|
bool | operator!= (TYPE_OF_NULLPTR) const |
| Check if the unsafe subject handle is valid and is pointing to an existent subject.
|
|
| operator bool () const |
| Check if the unsafe subject handle is valid and is pointing to an existent subject.
|
|
|
bool | operator== (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the unsafe subject handle points to the same subject as the other one.
|
|
bool | operator!= (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the unsafe subject handle points to different subject than the other one.
|
|
|
FUnsafeSubjectHandle & | operator= (const FUnsafeSubjectHandle &InHandle) |
| Copy-assign an unsafe subject handle.
|
|
|
| operator FSubjectHandle () const |
| Implicit conversion to a mutable version.
|
|
| operator FSolidSubjectHandle () const |
| Implicit conversion to a uniform version.
|
|
| operator FConstSubjectHandle () const |
| Implicit conversion to an immutable version.
|
|
|
auto | operator-> () const |
| Use the handle as a pointer.
|
|
auto & | operator* () const |
| Dereference itself.
|
|
|
| FUnsafeSubjectHandle () |
| Initialize an invalid (null) unsafe subject handle.
|
|
| FUnsafeSubjectHandle (const FUnsafeSubjectHandle &InHandle) |
| Initialize a copy of an unsafe subject handle.
|
|
| FUnsafeSubjectHandle (const FSubjectHandle &InHandle) |
| Convert from a usual subject handle.
|
|
| FUnsafeSubjectHandle (const FSolidSubjectHandle &InHandle) |
| Convert from a solid subject handle.
|
|
Public Member Functions inherited from TSubjectHandle< true, true, true > |
TSubjectHandle & | operator= (TYPE_OF_NULLPTR) |
| Clear the subject handle, essentially making it invalid.
|
|
| TSubjectHandle () |
| Construct a new invalid subject handle.
|
|
| TSubjectHandle (const TSubjectHandle &InHandle) |
| Copy-construct a new subject handle.
|
|
auto | operator-> () const |
| Use the handle as a pointer.
|
|
auto & | operator* () const |
| Dereference itself.
|
|
bool | operator== (TYPE_OF_NULLPTR) const |
| Check if the subject handle is invalid and is pointing to a non-existent subject.
|
|
bool | operator!= (TYPE_OF_NULLPTR) const |
| Check if the subject handle is valid and is pointing to an existent subject.
|
|
bool | operator== (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the subject handle points to the same subject as the other one.
|
|
bool | operator!= (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the subject handle points to a different subject than the other one.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetMechanism (AMechanism *const Mechanism) |
| Set the mechanism of the subjective.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | Despawn () const |
| Destroy the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | DespawnDeferred (const bool bHard=true) const |
| Destroy the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges, EFlagmark > | SetFlagmark (const EFlagmark Flagmark) const |
| Set the flagmark of the subject.
|
|
std::enable_if< AllowsChanges||IsUnsafe(Paradigm), EApparatusStatus >::type | SetFlagmark_Status (const EFlagmark Flagmark) const |
| Set the flagmark of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges, EFlagmark > | SetFlagmarkMasked (const EFlagmark Flagmark, const EFlagmark Mask) const |
| Set the flagmark of the subject.
|
|
std::enable_if< AllowsChanges||(Paradigm<=EParadigm::Unsafe), EApparatusStatus >::type | SetFlagmarkMasked_Status (const EFlagmark Flagmark, const EFlagmark Mask) const |
| Set the flagmark of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges, bool > | SetFlag (const EFlagmarkBit Flag, const bool bState=true) const |
| Set a single flag for the subject.
|
|
std::enable_if< AllowsChanges||(Paradigm<=EParadigm::Unsafe), EApparatusStatus >::type | SetFlag_Status (const EFlagmarkBit Flag, const bool bState=true) const |
| Set a single flag for the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges, EFlagmark > | AddToFlagmark (const EFlagmark Flagmark) const |
| Add flags to the flagmark of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges, bool > | ToggleFlag (const EFlagmarkBit Flag) const |
| Toggle a single flag for the subject.
|
|
TOutcome< Paradigm, TTraitVoidPtrResult< Paradigm > > | GetTraitPtr (UScriptStruct *const TraitType) const |
| Get a pointer to a trait of the subject of a certain type.
|
|
TOutcome< Paradigm, TTraitPtrResult< Paradigm, T > > | GetTraitPtr () const |
| Get a pointer to a trait of a certain type.
|
|
TOutcome< Paradigm, TTraitPtrResult< Paradigm, T > > | GetTraitPtr () const |
| Get a pointer to a trait of a certain type.
|
|
TOutcome< Paradigm, TTraitRefResult< Paradigm, T > > | GetTraitRef () const |
| Get a trait from a subject by its type.
|
|
TOutcome< Paradigm, TTraitRefResult< Paradigm, T > > | GetTraitRef () const |
| Get a trait from a subject by its type.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTrait (UScriptStruct *const TraitType, const void *const TraitData) const |
| Set a trait of the subject by its type.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTrait (const T *const TraitData) const |
| Set a trait of the subject by its type.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTrait (const FTraitRecord &TraitRecord) const |
| Set a trait of the subject to a trait record.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTrait (const T &Trait) const |
| Set a trait of the subject.
|
|
auto | SetTrait (const T &Flagmark) const |
| Add a flagmark to the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTraits (const TArray< UScriptStruct *, A1 > &TraitsTypes, const TArray< const T *, A2 > &TraitsData, const bool bLeaveRedundant=true) const |
| Set multiple subject traits equal to the supplied list.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | SetTraits (const FSubjectRecord &SubjectRecord, const bool bLeaveRedundant=true) const |
| Set multiple subject traits from a subject record.
|
|
TOutcome< Paradigm > | OverwriteTraits (const TArray< UScriptStruct *, A1 > &TraitsTypes, const TArray< const T *, A2 > &TraitsData) const |
| Overwrite existing subject traits from the array.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | OverwriteTraits (const FSubjectRecord &SubjectRecord) const |
| Overwrite existing traits from a subject record.
|
|
TOutcome< Paradigm > | CopyTraitsTo (const TSubjectHandle< true, AnyDirectAccess, true > &DestinationSubjectHandle) const |
| Copy all of the traits of the subject to some other subject.
|
|
TOutcome< Paradigm > | ObtainTrait (UScriptStruct *const TraitType, T *const OutTraitData, const bool bTraitDataInitialized=true) const |
| Obtain a trait from the subject by its type.
|
|
TOutcome< Paradigm > | ObtainTrait (UScriptStruct *const TraitType) const |
| Obtain a trait for the subject by its type.
|
|
TOutcome< Paradigm > | ObtainTrait (T &OutTrait, const bool bTraitDataInitialized=true) const |
| Obtain a trait from the subject.
|
|
TOutcome< Paradigm, T > | ObtainTrait () const |
| Obtain a trait copy from the subject.
|
|
auto | ObtainTrait () const |
| Obtain a trait copy from the subject.
|
|
TOutcome< Paradigm, TTraitVoidPtrResult< Paradigm > > | ObtainTraitPtr (UScriptStruct *const TraitType) const |
| Obtain a trait data pointer from the subject by its type.
|
|
TOutcome< Paradigm, TTraitPtrResult< Paradigm, T > > | ObtainTraitPtr () const |
| Obtain a trait pointer from the subject.
|
|
auto | ObtainTraitPtr () const |
| Obtain a trait pointer from the subject.
|
|
TOutcome< Paradigm, TTraitRefResult< Paradigm, T > > | ObtainTraitRef () const |
| Obtain a trait reference from the subject.
|
|
TOutcome< Paradigm, TTraitRefResult< Paradigm, T > > | ObtainTraitRef () const |
| Obtain a trait reference from the subject.
|
|
TOutcome< Paradigm > | ObtainTraitDeferred (UScriptStruct *const TraitType) const |
| Obtain a trait for the subject by its type.
|
|
TOutcome< Paradigm, T > | ObtainTraitDeferred () const |
| Obtain a trait copy from the subject.
|
|
auto | ObtainTraitDeferred () const |
| Obtain a trait copy from the subject.
|
|
TOutcome< Paradigm > | SetTraitDeferred (UScriptStruct *const TraitType, const void *const TraitData) const |
| Set a trait of the subject by its type.
|
|
TOutcome< Paradigm > | SetTraitDeferred (const T *Trait) const |
| Set a trait of the subject by its type.
|
|
TOutcome< Paradigm > | SetTraitDeferred (const T &Trait) const |
| Set a trait of the subject by its type.
|
|
TOutcome< Paradigm > | RemoveTrait (UScriptStruct *const TraitType) const |
| Remove a trait from the subject.
|
|
TOutcome< Paradigm > | RemoveTrait () const |
| Remove a trait from the subject.
|
|
auto | RemoveTrait () const |
| Remove a trait from the subject.
|
|
TOutcome< Paradigm > | RemoveAllTraits () const |
| Remove all of the traits from the subject (if any).
|
|
TOutcome< Paradigm > | RemoveTraitDeferred (UScriptStruct *const TraitType) const |
| Remove a trait from the subject.
|
|
TOutcome< Paradigm > | RemoveTraitDeferred () const |
| Remove a trait from the subject.
|
|
TOutcome< Paradigm > | RemoveTraitDeferred () const |
| Remove a trait from the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | RemoveAllTraitsDeferred (const bool bForceEnqueue=false) const |
| Remove all of the traits from the subject.
|
|
TDetailPtrResult< UDetail > | GetDetail (TSubclassOf< UDetail > DetailClass) const |
| Get a detail of a certain class.
|
|
TDetailPtrResult< D > | GetDetail () const |
| Get a detail of a certain class.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | BringOnline () const |
| Make the subject networked.
|
|
TOutcome< Paradigm > | BringOnline (const TRange< NetworkIdType > &IdRange) const |
| Make the subject networked while using a custom network identifiers range.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | SetConnectionPermit (UNetConnection *const Connection) const |
| Set the server-side connection to a client from which it is allowed to push traits to this subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | SetTraitmarkPermit (const FTraitmark &InTraitmarkPermit) const |
| Set the server-side list of traits allowed to be pushed from clients.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsChanges > | SetTraitmarkPass (const FTraitmark &InTraitmarkPermit) const |
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | PushTrait (UScriptStruct *const TraitType, const void *const TraitData, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an additional trait to the remote version of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | PushTrait (UScriptStruct *const TraitType, const void *const TraitData, const bool bSetForLocal=false, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an additional trait to the remote version of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | PushTrait (const T &Trait, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an additional trait to the remote version of the subject.
|
|
TOutcomeIfUnsafeOr< Paradigm, AllowsStructuralChanges > | PushTrait (const T &Trait, const bool bSetForLocal=false, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an additional trait to the remote version of the subject.
|
|
TOutcome< Paradigm > | PushTrait (const T &Trait, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an additional trait to the remote version of the subject.
|
|
TOutcome< Paradigm > | PushTrait (UScriptStruct *const TraitType, const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an existing trait to the remote version of the subject.
|
|
TOutcome< Paradigm > | PushTrait (UScriptStruct *const TraitType, const bool bReliable, const EPeerRole PeerRole=EPeerRole::Auto) const |
| Send an existing trait to the remote version of the subject.
|
|
TOutcome< Paradigm > | PushTrait (const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an existing trait to the remote version of the subject.
|
|
auto | PushTrait (const EPeerRole PeerRole=EPeerRole::Auto, const bool bReliable=true) const |
| Send an existing trait to the remote version of the subject.
|
|
auto | PushTrait (const bool bReliable, const EPeerRole PeerRole=EPeerRole::Auto) const |
| Send an existing trait to the remote version of the subject.
|
|
Public Member Functions inherited from FCommonSubjectHandle |
| FCommonSubjectHandle () |
| Initialize an invalid (null) handle.
|
|
| FCommonSubjectHandle (const FCommonSubjectHandle &InSubjectHandle) |
| Initialize as a copy of an another subject handle.
|
|
auto | operator-> () const |
| Use the handle as a pointer.
|
|
auto & | operator* () const |
| Dereference itself.
|
|
IdType | GetId () const |
| Get the unique identifier of the subject.
|
|
GenerationType | GetGeneration () const |
| Get the current generation of the subject.
|
|
auto | GetMechanismId () const |
| Get the identifier of the mechanism the subject is part of.
|
|
auto | GetPlace () const |
| Get the place index of the subject.
|
|
bool | IsSolid () const |
| Check if the subject is currently solid.
|
|
void | ResetHandle () |
| Reset the subject handle.
|
|
FCommonSubjectHandle & | operator= (TYPE_OF_NULLPTR) |
| Clear the subject handle, essentially making it invalid.
|
|
uint32 | CalcHash () const |
| Calculate the hash-sum value for the handle.
|
|
AMechanism * | GetMechanism () const |
| Get the mechanism the subject is part of.
|
|
const FFingerprint & | GetFingerprint () const |
| Get the current fingerprint of the subject.
|
|
bool | Matches (const FFilter &InFilter) const |
| Check if the subject matches a certain filter.
|
|
bool | IsValid () const |
| Check if the subject handle is valid and is pointing to an existent subject.
|
|
bool | operator== (TYPE_OF_NULLPTR) const |
| Check if the subject handle is invalid and is pointing to a non-existent subject.
|
|
bool | operator!= (TYPE_OF_NULLPTR) const |
| Check if the subject handle is valid and is pointing to an existent subject.
|
|
| operator bool () const |
| Check if the subject handle is valid and is pointing to an existent subject.
|
|
bool | EqualsRaw (const FCommonSubjectHandle &InSubject) const |
| Check if two subject handles are equal byte-wise.
|
|
bool | Equals (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the subject handle points to the same subject as the other one.
|
|
bool | operator== (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the subject handle points to the same subject as the other one.
|
|
bool | operator!= (const FCommonSubjectHandle &InSubjectHandle) const |
| Check if the subject handles point to different subjects.
|
|
EFlagmark | GetFlagmark () const |
| Get the flagmark of the subject.
|
|
bool | HasFlag (const EFlagmarkBit Flag) const |
| Get the state of a certain flag of the subject.
|
|
bool | HasTrait (UScriptStruct *const TraitType) const |
| Check if the subject has a certain trait.
|
|
template<typename T > |
std::enable_if< IsTraitType< T >(), bool >::type | HasTrait () const |
| Check if the subject has a certain trait.
|
|
bool | HasDetail (TSubclassOf< UDetail > DetailClass) const |
| Check if the subject has a certain detail.
|
|
template<typename D > |
std::enable_if< IsDetailClass< D >(), bool >::type | HasDetail () const |
| Check if the subject has a certain detail.
|
|
template<EParadigm Paradigm = EParadigm::Default> |
TOutcome< Paradigm > | GetTrait (UScriptStruct *const TraitType, void *const OutTraitData, const bool bTraitDataInitialized=true) const |
| Get a trait from the subject by its type.
|
|
template<EParadigm Paradigm = EParadigm::Default, typename T = void> |
TOutcome< Paradigm > | GetTrait (T &OutTrait, const bool bTraitDataInitialized=true) const |
| Get a trait from a subject by its type.
|
|
template<EParadigm Paradigm, typename T > |
TOutcome< Paradigm, T > | GetTrait () const |
| Get a trait copy from the subject by its type.
|
|
template<typename T , EParadigm Paradigm = EParadigm::Default> |
TOutcome< Paradigm, T > | GetTrait () const |
| Get a trait copy from the subject by its type.
|
|
bool | IsOnline () const |
| Check if the subject currently networked.
|
|
NetworkIdType | GetNetworkId () const |
| Get a unique network identifier of a subject (if any).
|
|
bool | IsInNetworkMode (const ENetMode Mode) const |
| Check if the subject is of a certain network mode.
|
|
bool | IsServerSide () const |
| Check if this is a server-side version of the subject.
|
|
bool | IsClientSide () const |
| Check if this is a client-side version of the subject.
|
|
UNetConnection * | GetConnectionPermit () const |
| Get the server-side connection that is allowed to push to the server's version of the subject.
|
|
const FTraitmark & | GetTraitmarkPermit () const |
| Get the server-side list of traits allowed to be received from clients.
|
|
const FTraitmark & | GetTraitmarkPass () const |
|
FCommonSubjectHandle & | operator= (const FCommonSubjectHandle &InSubjectHandle) |
| Assign to be a copy of an another subject handle.
|
|