question

paulohanian avatar image
paulohanian asked

Server - UE4 SDK or CPP SDK

Hi, I'm attempting to register a UE4 server to be hosted by PlayFab. I started with the UE4 SDK but it appears all documentation around Server hosting is using Microsoft::Azure::Gaming::GSDK::readyForPlayers(). Should I use "RegisterGame" in the UE4 Server SDK or should I switch over to the GSDK?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

PlayFab multiplayer game servers (MPS) require integration with PlayFab Game Server SDK (GSDK). GSDK connects your game server to a local agent installed on the VM hosted on PlayFab and facilitates key server interactions with the PlayFab control infrastructure. So yes, you’d need to integrate the GSDK with you UE4 server so that it can communicate with PlayFab MPS properly, for more details, please see:

https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/basics-of-a-playfab-game-server#integrating-the-playfab-game-server-sdk

https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/servers/integrating-game-servers-with-gsdk

The “RegisterGame” API you mentioned in question belongs to the legacy MPS, hence you’d need to switch to GSDK since you’re about to use the new MPS.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.