Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ULocalPlayer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SendSplitJoin
(
TArray< FString >& Options |
Send a splitscreen join command to the server to allow a splitscreen player to connect to the game the client must already be connected to a server for this function to work | Engine/LocalPlayer.h | |
virtual void SendSplitJoin
(
TArray< FString >& Options, |
Same as SendSplitJoin() above but with additional arguments. | Engine/LocalPlayer.h |
SendSplitJoin(TArray< FString > &)
Description
Send a splitscreen join command to the server to allow a splitscreen player to connect to the game the client must already be connected to a server for this function to work
this happens automatically for all viewports that exist during the initial server connect so it's only necessary to manually call this for viewports created after that if the join fails (because the server was full, for example) all viewports on this client will be disconnected This call will send the command using the current net driver associated with world.
| Name | SendSplitJoin |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
virtual void SendSplitJoin
(
TArray < FString > & Options
)
Parameters
| Name | Remarks |
|---|---|
| Options | array of URL options to append. |
SendSplitJoin(TArray< FString > &, UNetDriver *, UE::Net::EJoinFlags)
Description
Same as SendSplitJoin() above but with additional arguments.
| Name | SendSplitJoin |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
| Include Path | #include "Engine/LocalPlayer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
virtual void SendSplitJoin
(
TArray < FString > & Options,
UNetDriver * NetDriver,
UE::Net::EJoinFlags Flags
)
Parameters
| Name | Remarks |
|---|---|
| NetDriver | Use this NetDriver to send the join request instead of the NetDriver associated with the world. |
| Flags | Configuration flags used by the join request sent to the server. |