FPartyRepData

Base struct used to replicate data about the state of the party to all members.

Windows
MacOS
Linux

Inheritance Hierarchy

FOnlinePartyRepDataBase

FPartyRepData

References

Module

Party

Header

/Engine/Plugins/Online/OnlineFramework/Source/Party/Public/Party/SocialParty.h

Include

#include "Party/SocialParty.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FPartyRepData : public FOnlinePartyRepDataBase

Remarks

Base struct used to replicate data about the state of the party to all members.

Variables

Name Description

Protected variable

TWeakObjectPtr<...

 

OwnerParty

Protected variable UProperty

FPartyPrivacySe...

 

PrivacySettings

The privacy settings for the party

Constructors

Name Description

Public function

FPartyRepData()

Functions

Name Description

Public function

void

 

ClearPlatformSessionInfo

(
    const FName PlatformOssName
)

Public function Const

const FParty...

 

FindSessionInfo

(
    FName PlatformOssName
)

Public function Const

const TArray...

 

GetPlatformSessions()

Public function Const

PrivacySetti...

 

GetPrivacySettings()

Public function Const

FSimpleMulti...

 

OnPlatformSessionsChanged()

Public function Const

FOnPrivacySe...

 

OnPrivacySettingsChanged()

Bind to receive the new property value only on changes

Public function Const

FOnPrivacySe...

 

OnPrivacySettingsChangedDif()

Bind to receive both the new and old property value on changes

Public function

void

 

SetOwningParty

(
    const USocialParty& InOwnerParty
)

Public function

void

 

SetPrivacySettings

(
    PrivacySettingsArgType NewPrivacySe...
)

Public function

void

 

UpdatePlatformSessionInfo

(
    const FPartyPlatformSessionInfo& S...
)

Overridden from FOnlinePartyRepDataBase

Name Description

Protected function Virtual Const

bool

 

CanEditData()

Protected function Virtual Const

void

 

CompareAgainst

(
    const FOnlinePartyRepDataBase& Old...
)

Compare this data against the given old data, triggering delegates as appropriate.

Protected function Virtual Const

const USocia...

 

GetOwnerParty()

Typedefs

Name

Description

FOnPrivacySettingsChanged

Bummer to have two signatures, but cases that want both the old and new values are much rarer, so most don't want to bother with a handler that takes an extra unused param

FOnPrivacySettingsChangedDif

MutablePrivacySettingsType

If the property is a POD or ptr type, we'll work with it by copy. Otherwise, by const ref

PrivacySettingsArgType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss