Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineGameActivityInterface.h |
Include |
#include "Interfaces/OnlineGameActivityInterface.h" |
void UpdatePlayerLocation
(
const FUniqueNetId & LocalUserId,
TOptional< FOnlineActivityPlayerLocation > & ActivityPlayerLocation
)
Update player location
Note: The game is expected to call this function periodically. ZoneId/Coordinates are also used when starting and stopping an activity
Parameter |
Description |
---|---|
LocalUserId |
Id of user calling update on the player location |
ActivityPlayerLocation |
zone id and player map coordinates (X and Y values) |