|
WjWorld
|
#include <SessionTypes.h>
Public Member Functions | |
| void | Reset () |
Public Attributes | |
| bool | bIsMigrating = false |
| bool | bIsNewHost = false |
| FRoomSettings | CachedRoomSettings |
| FString | MigrationSessionTag |
| TArray< FPlayerDisplayInfo > | CachedPlayerList |
| 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 |
호스트 마이그레이션 컨텍스트 마이그레이션 진행 중 필요한 모든 상태를 보관
|
inline |
상태 초기화
| bool FHostMigrationContext::bIsMigrating = false |
마이그레이션 진행 중 여부
| bool FHostMigrationContext::bIsNewHost = false |
이 클라이언트가 새 호스트인지
| TArray<FPlayerDisplayInfo> FHostMigrationContext::CachedPlayerList |
캐시된 플레이어 목록
| FRoomSettings FHostMigrationContext::CachedRoomSettings |
캐시된 방 설정
| int32 FHostMigrationContext::LocalPlayerID = -1 |
로컬 플레이어 ID
|
staticconstexpr |
최대 재시도 횟수
| FString FHostMigrationContext::MigrationSessionTag |
마이그레이션 세션 식별 태그 (모든 클라이언트 동일 생성)
| double FHostMigrationContext::MigrationStartTime = 0.0 |
마이그레이션 시작 시각
|
staticconstexpr |
마이그레이션 타임아웃 (초)
| int32 FHostMigrationContext::RetryCount = 0 |
재시도 횟수
|
staticconstexpr |
재시도 간격 (초)