WjWorld
Loading...
Searching...
No Matches
FHostMigrationContext Struct Reference

#include <SessionTypes.h>

Public Member Functions

void Reset ()

Public Attributes

bool bIsMigrating = false
bool bIsNewHost = false
FRoomSettings CachedRoomSettings
FString MigrationSessionTag
TArray< FPlayerDisplayInfoCachedPlayerList
int32 LocalPlayerID = -1
double MigrationStartTime = 0.0
int32 RetryCount = 0

Static Public Attributes

static constexpr int32 MaxRetryCount = 10
static constexpr float RetryInterval = 2.0f
static constexpr float MigrationTimeout = 30.0f

Detailed Description

호스트 마이그레이션 컨텍스트 마이그레이션 진행 중 필요한 모든 상태를 보관

Member Function Documentation

◆ Reset()

void FHostMigrationContext::Reset ( )
inline

상태 초기화

Member Data Documentation

◆ bIsMigrating

bool FHostMigrationContext::bIsMigrating = false

마이그레이션 진행 중 여부

◆ bIsNewHost

bool FHostMigrationContext::bIsNewHost = false

이 클라이언트가 새 호스트인지

◆ CachedPlayerList

TArray<FPlayerDisplayInfo> FHostMigrationContext::CachedPlayerList

캐시된 플레이어 목록

◆ CachedRoomSettings

FRoomSettings FHostMigrationContext::CachedRoomSettings

캐시된 방 설정

◆ LocalPlayerID

int32 FHostMigrationContext::LocalPlayerID = -1

로컬 플레이어 ID

◆ MaxRetryCount

int32 FHostMigrationContext::MaxRetryCount = 10
staticconstexpr

최대 재시도 횟수

◆ MigrationSessionTag

FString FHostMigrationContext::MigrationSessionTag

마이그레이션 세션 식별 태그 (모든 클라이언트 동일 생성)

◆ MigrationStartTime

double FHostMigrationContext::MigrationStartTime = 0.0

마이그레이션 시작 시각

◆ MigrationTimeout

float FHostMigrationContext::MigrationTimeout = 30.0f
staticconstexpr

마이그레이션 타임아웃 (초)

◆ RetryCount

int32 FHostMigrationContext::RetryCount = 0

재시도 횟수

◆ RetryInterval

float FHostMigrationContext::RetryInterval = 2.0f
staticconstexpr

재시도 간격 (초)


The documentation for this struct was generated from the following file: