question

KeitaTomiyasu avatar image
KeitaTomiyasu asked

How to API Access In Unity

I want use "Get Random Result Tables" on Clienet.

but, that's not found in "PlayFab" namespace.

I find "PlayFab.PlayFabClientAPI". but it not found.

Please. How to DropTable.

thank you.

apisunity3d
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

API Get Random Result Tables is only contained in Server and Admin API. It does not have the corresponding Client version. We would not recommend you access any Admin or Server API method on clients. This section Using drop tables provides an example that how to call these two API methods in the custom game server. If you do not have a custom game server, CloudScript can access all PlayFab Server API sets, it is a recommended way to call Server API methods. You can click the link to check tutorial Writing custom CloudScript. Clients can call API ExecuteCloudScript to execute the functions written on CloudScript.

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.