question

Robert Baker avatar image
Robert Baker asked

Can we use one azure functions project with multiple playfab projects?

Hi, is it possible for us to build out a core set of azure functions that a lot of our game titles will use and keep all of those in one azure function project to only have to maintain them in one spot instead of having an azure functions project for each of our games?

In the azure function is it easy to know what game project it's being called from if it is possible to use one project for everything?

Thanks

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

·
Gosen Gao avatar image
Gosen Gao answered

For question 1: Azure functions do not limit the origin of the request, as long as the request meets its parameter requirements, it can be processed.

For question 2: There is a TitleAuthenticationContext in the request which contains the TitleId. You can determine the origin of the request based on it.

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.

Robert Baker avatar image Robert Baker commented ·

Thanks for the info.

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.