/** How gameplay effects will be replicated to clients */
UENUM()
enum class EGameplayEffectReplicationMode : uint8
{
/** Only replicate minimal gameplay effect info. Note: this does not work for Owned AbilitySystemComponents (Use Mixed instead). */
Minimal,
/** Only replicate minimal gameplay effect info to simulated proxies but full info to owners and autonomous proxies */
Mixed,
/** Replicate full gameplay info to all */
Full,
};
1. 실제설정
PS(플레이어) - > Mixed
AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Mixed);
//복제모드설정
//Mixed : 일부 효과는 서버에서만 처리하고(중요한능력), 일부는 클라이언트에서(덜중요한능력) 처리
적 -> Minimal로 설정하는게 옳다.
AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Minimal);
//복제모드설정
//Mixed : 일부 효과는 서버에서만 처리하고(중요한능력), 일부는 클라이언트에서(덜중요한능력) 처리
'UE5 > GAS' 카테고리의 다른 글
[UE5] GAS 속성개념, 구현, 속성추가방법, 디버깅방법 (0) | 2024.05.26 |
---|---|
[UE5] GAS Ability Actor Info // 능력 정보초기화 하는방법 (0) | 2024.05.26 |
[UE5] GAS 구현 // ASC, AS Getter구현 (0) | 2024.05.26 |
[UE5] Gas Server 이해 (0) | 2024.05.26 |
[UE5] GAS 개요이해 // PlayerState, ASComponent, AttributeSet (0) | 2024.05.26 |