question

Yuriy Granin avatar image
Yuriy Granin asked

Information passed to the game server

Hi. Can you please give me advice how can I get this information generally or Unreal Engine 4 specifically (would be very grateful if so)?

https://docs.microsoft.com/en-us/gaming/playfab/features/multiplayer/matchmaking/multiplayer-servers

"Information passed to the game server"

Thanks in advance!

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

·
Sarah Zhang avatar image
Sarah Zhang answered

Do you mean you have integrated the Playfab Multiplayer CPP GSDK with UE4? If so, you can get these fields through CPP GSDK. You can find the declarations of these fields and methods in the following location of the CPP GSDK. SessionId, PreferredRegions are returned by calling getConfigSettings(), InitialPlayers are returned by calling getInitialPlayers().

SessionId : https://github.com/PlayFab/gsdk/blob/4580a107b81c61648be6ddb6930a71b57a39594f/cpp/cppsdk/gsdk.h#L146

PreferredRegions: https://github.com/PlayFab/gsdk/blob/4580a107b81c61648be6ddb6930a71b57a39594f/cpp/cppsdk/gsdk.h#L139

getInitialPlayers(): https://github.com/PlayFab/gsdk/blob/4580a107b81c61648be6ddb6930a71b57a39594f/cpp/cppsdk/gsdk.h#L128

1 comment
10 |1200

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

Yuriy Granin avatar image Yuriy Granin commented ·

Thank you very much!

0 Likes 0 ·

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.