mirror of
https://github.com/mordentral/AdvancedSessionsPlugin.git
synced 2025-12-09 23:53:03 +00:00
Added IsValidUniqueNetID and EqualEqual_UNetIDUNetID.
Former-commit-id: ed27ff3c996d8e46d46f69c08e1c1c09e6e14f23
This commit is contained in:
@@ -118,6 +118,14 @@ public:
|
|||||||
// Get the unique net id of a network player who is assigned the the given player state
|
// Get the unique net id of a network player who is assigned the the given player state
|
||||||
UFUNCTION(BlueprintPure, Category = "Online|AdvancedSessions|PlayerInfo|PlayerID")
|
UFUNCTION(BlueprintPure, Category = "Online|AdvancedSessions|PlayerInfo|PlayerID")
|
||||||
static void GetUniqueNetIDFromPlayerState(APlayerState *PlayerState, FBPUniqueNetId &UniqueNetId);
|
static void GetUniqueNetIDFromPlayerState(APlayerState *PlayerState, FBPUniqueNetId &UniqueNetId);
|
||||||
|
|
||||||
|
// Return True if Unique Net ID is valid
|
||||||
|
UFUNCTION(BlueprintPure, Category = "Online|AdvancedSessions|PlayerInfo|PlayerID")
|
||||||
|
static bool IsValidUniqueNetID(const FBPUniqueNetId &UniqueNetId);
|
||||||
|
|
||||||
|
/* Returns true if the values are equal (A == B) */
|
||||||
|
UFUNCTION(BlueprintPure, meta = (DisplayName = "Equal Unique Net ID", CompactNodeTitle = "==", Keywords = "== equal"), Category = "Online|AdvancedSessions|PlayerInfo|PlayerID")
|
||||||
|
static bool EqualEqual_UNetIDUnetID(const FBPUniqueNetId &A, const FBPUniqueNetId &B);
|
||||||
|
|
||||||
// Check if a UniqueNetId is a friend
|
// Check if a UniqueNetId is a friend
|
||||||
UFUNCTION(BlueprintPure, Category = "Online|AdvancedSessions|UniqueNetId")
|
UFUNCTION(BlueprintPure, Category = "Online|AdvancedSessions|UniqueNetId")
|
||||||
|
|||||||
Reference in New Issue
Block a user