You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ossv1/friends/blocked_players.mdx
+5-108Lines changed: 5 additions & 108 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ EOS Online Framework provides the "blocked players" functionality of the friends
11
11
12
12
Blocking a player currently has no effect at the plugin level; if you want to prevent a blocked player from interacting with a local user, you'll need to enforce this in your game code.
13
13
14
+
You no longer need to call `QueryBlockedPlayers` - the plugin automatically caches the blocked players during login and keeps the list of blocked players up-to-date.
15
+
14
16
:::info
15
17
In future, we intend to automatically handle the following scenarios for you:
16
18
@@ -20,117 +22,12 @@ In future, we intend to automatically handle the following scenarios for you:
20
22
- Automatically rejecting friend invitations from blocked players.
Before you can get the list of blocked players, you need to call `QueryBlockedPlayers`. Before you call `QueryBlockedPlayers` for the first time, the list of blocked players will be empty. This is similar to how the friends list (`ReadFriendsList`) operation works.
29
-
30
-
First, get the online friends and identity interfaces:
// Check bWasSuccessful; if it's true, you can now call GetBlockedPlayers.
74
-
}
75
-
```
76
-
77
-
</TabItem>
78
-
<TabItem value="blueprints">
79
-
80
-
Before you can get the list of blocked players, you need to call the "Query Blocked Players" blueprint node. Before you call the "Query Blocked Players" blueprint node for the first time, the list of blocked players will be empty. This is similar to how the friends list ("Read Friends List") blueprint node works.
81
-
82
-
<Blueprint height="380px" blueprint={`
83
-
Begin Object Class=/Script/BlueprintGraph.K2Node_GetSubsystem Name="K2Node_GetSubsystem_0"
CustomProperties Pin (PinId=783ACD8E45AC39A1CFF378B93C963458,PinName="UserId",PinToolTip="User Id\\nUnique Net Id Repl Structure",PinType.PinCategory="struct",PinType.PinSubCategory="",PinType.PinSubCategoryObject=ScriptStruct'"/Script/Engine.UniqueNetIdRepl"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,LinkedTo=(K2Node_CallFunction_1 64465E0C4E34258944DDE4BE0F6DA0D6,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
106
-
End Object
107
-
Begin Object Class=/Script/BlueprintGraph.K2Node_GetSubsystem Name="K2Node_GetSubsystem_1"
CustomProperties Pin (PinId=DC58D2A544B340B97E8E2AB8619F8A95,PinName="LocalUserNum",PinToolTip="Local User Num\\nInteger",PinType.PinCategory="int",PinType.PinSubCategory="",PinType.PinSubCategoryObject=None,PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,DefaultValue="0",AutogeneratedDefaultValue="0",PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
122
-
CustomProperties Pin (PinId=64465E0C4E34258944DDE4BE0F6DA0D6,PinName="ReturnValue",PinToolTip="Return Value\\nUnique Net Id Repl Structure\\n\\nGet Unique Player Id",Direction="EGPD_Output",PinType.PinCategory="struct",PinType.PinSubCategory="",PinType.PinSubCategoryObject=ScriptStruct'"/Script/Engine.UniqueNetIdRepl"',PinType.PinSubCategoryMemberReference=(),PinType.PinValueType=(),PinType.ContainerType=None,PinType.bIsReference=False,PinType.bIsConst=False,PinType.bIsWeakPointer=False,PinType.bIsUObjectWrapper=False,LinkedTo=(K2Node_AsyncAction_2 783ACD8E45AC39A1CFF378B93C963458,),PersistentGuid=00000000000000000000000000000000,bHidden=False,bNotConnectable=False,bDefaultValueIsReadOnly=False,bDefaultValueIsIgnored=False,bAdvancedView=False,bOrphanedPin=False,)
0 commit comments