MCPcopy Create free account
hub / github.com/Voidware-Prohibited/ALSXT / SetDesiredFocus

Method SetDesiredFocus

Source/ALSXT/Private/AlsxtCharacter.cpp:3352–3365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3350// Focus
3351
3352void AAlsxtCharacter::SetDesiredFocus(const FGameplayTag& NewFocusTag)
3353{
3354 if (DesiredFocus != NewFocusTag)
3355 {
3356 DesiredFocus = NewFocusTag;
3357
3358 MARK_PROPERTY_DIRTY_FROM_NAME(ThisClass, DesiredFocus, this)
3359
3360 if (GetLocalRole() == ROLE_AutonomousProxy)
3361 {
3362 ServerSetDesiredFocus(NewFocusTag);
3363 }
3364 }
3365}
3366
3367void AAlsxtCharacter::ServerSetDesiredFocus_Implementation(const FGameplayTag& NewFocusTag)
3368{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected