RealDocs

16 results for "online"

function
UKismetMathLibrary::FindClosestPointOnLine Engine

Returns the closest point on an infinite line to a query point.

function
UKismetMathLibrary::FindNearestPointsOnLineSegments Engine

Finds the pair of closest points between two finite line segments, one point per segment.

function
APlayerState::BP_GetUniqueId Engine

Returns the online subsystem unique ID for this player.

function
UGameplayStatics::CreatePlayerFromPlatformUser Engine

Creates a new local player identified by a platform user ID rather than a numeric controller index, enabling proper platform account association for console and PC online play.

function
APlayerState::Destroyed Engine

Called when this PlayerState is destroyed.

property
AGameModeBase::GameSession Engine

The live AGameSession instance spawned by this game mode.

property
AGameModeBase::GameSessionClass Engine

The AGameSession subclass this game mode spawns to handle login approval and the online game interface.

function
UGameplayStatics::GetPlayerStateFromUniqueNetId Engine

Finds and returns the APlayerState whose unique online ID matches the given FUniqueNetIdRepl, or null if no match is found.

function
APlayerState::GetUniqueId Engine

Returns a const reference to the player's online unique ID, which is consistent across all clients and servers when the player is logged in to an online subsystem.

function
APlayerState::OnRep_UniqueId Engine

Replication notification called on clients when the UniqueId (FUniqueNetIdRepl) is first replicated.

function
APlayerState::RegisterPlayerWithSession Engine

Registers this player with the online subsystem session identified by SessionName, allowing the platform to track the player's presence and enforce session membership.

function
AGameModeBase::ReturnToMainMenuHost Engine

Disconnects all players and returns the server to the main menu map.

function
UGameplayStatics::SetPlayerPlatformUserId Engine

Associates a platform user account ID with a local PlayerController, used to link online identity (achievements, cloud saves) to a specific local player slot.

function
APlayerState::SetUniqueId Engine

Associates an online unique ID with this PlayerState and calls OnSetUniqueId to allow subclasses and the engine to react to the change.

class
UGameInstanceSubsystem Engine

Subsystem base class whose lifetime matches the `UGameInstance`.

function
APlayerState::UnregisterPlayerWithSession Engine

Removes this player from the current online session via the online subsystem.