| TSharedFromThis
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlinePartyInterface.h |
Include |
#include "Interfaces/OnlinePartyInterface.h" |
class FOnlinePartyData : public TSharedFromThis< FOnlinePartyData >
Data associated with the entire party
Name | Description | ||
---|---|---|---|
|
RevisionCount |
Id representing number of updates sent, useful for determining if a client has missed an update |
|
|
TotalBytes |
Stat tracking variables Total number of bytes generated by calls to ToJsonFull and ToJsonDirty |
|
|
TotalEffectiveBytes |
Total number of bytes generated by calls to ToJsonFull and ToJsonDirty, multiplied by the number of recipients the packet was sent to |
|
|
TotalPackets |
Total number of packets generated by calls to ToJsonFull and ToJsonDirty |
Name | Description | |
---|---|---|
|
FOnlinePartyData() |
|
|
FOnlinePartyData ( |
|
|
FOnlinePartyData ( |
Name | Description | |
---|---|---|
|
~FOnlinePartyData() |
Name | Description | ||
---|---|---|---|
|
ClearAttributes() |
Clear the attributes map |
|
|
ClearDirty() |
Clear the dirty keys set, called after successfully sending an update of the dirty elements |
|
|
FromJson ( |
Update attributes from a JSON packet |
|
|
TSharedRef< ... |
GetAllAttributesAsJsonObject() |
Create a JSON object containing all key-value attributes |
|
GetAllAttributesAsJsonObjectString() |
Create a string representing a JSON object containing all key-value attributes |
|
|
GetAttribute ( |
Get an attribute from the party data |
|
|
GetDirtyKeyValAttrs ( |
Get the dirty and removed key-value attributes |
|
|
const FOnlin... |
GetKeyValAttrs() |
|
|
FOnlineKeyVa... |
GetKeyValAttrs() |
Accessor functions for KeyValAttrs map |
|
HasDirtyKeys() |
Check if there are any dirty keys |
|
|
MarkAttributeDirty ( |
Mark an attribute as dirty so it can be rebroadcasted |
|
|
OnPacketSent |
Increment the stat tracking variables on packet sent |
|
|
RemoveAttribute ( |
Remove an attribute from the party data |
|
|
RemoveAttribute ( |
Remove an attribute from the party data |
|
|
SetAttribute ( |
Set an attribute from the party data |
|
|
SetAttribute ( |
Set an attribute from the party data |
|
|
ToJsonDirty ( |
Generate a JSON packet containing only the dirty key-value attributes for a delta update |
|
|
ToJsonFull ( |
Generate a JSON packet containing all key-value attributes |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Inequality operator |
|
|
FOnlineParty... |
operator= ( |
|
|
FOnlineParty... |
operator= ( |
|
|
operator== ( |
Equality operator |