question

whitershores avatar image
whitershores asked

​Accessing entity data from the server?

Hi! I went through the entity quickstart guide:

https://docs.microsoft.com/en-us/gaming/playfab/features/data/entities/quickstart

and also got the C# server sample running: https://github.com/PlayFab/gsdkSamples/tree/master/WindowsRunnerCSharp

I managed to get the client-side work and I am now able to save/load Entity file data.

However, when I try to do the same thing on the server-side, I cannot seem to get a reference to the following API:

InitiateFileUploadsRequest

InitiateFileUploadsResponse

FinalizeFileUploadsRequest

FinalizeFileUploadsResponse

etc...

I tried to look for them under Microsoft.Playfab.Gaming.GSDK.CSharp, but I could not find any of these functions. Where are the equivalent functions on the GSDK located?

sdksentitiesdata
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

·
Seth Du avatar image
Seth Du answered

Please understand that PlayFab SDK and GSDK are separate and independent for different purposes. GSDK is aimed at maintaining and managing the server instance meanwhile the normal PlayFab SDK is for accessing PlayFab service. You will need to implement PlayFab SDK to access Entity related APIs. Please feel free to tell us if you have any questions on using PlayFab Multiplayer server service.

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.