question

sevdanski avatar image
sevdanski asked

Best place to store Config Data

I am working n a game that has some config files that define things like a list of buildings you can build, their level requirements, max counts, etc. This content would be used by both the client for display purposes and the server for validation.

My current thinking is that TitleData would be the most suitable place, but I wanted to check that there wasn't a better solution - the entity system perhaps?

Title DataContent
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

·
Andy avatar image
Andy answered

Title Data is perfect for that use case. Be aware that it's sharded and updates can take up to 15 minutes to propagate to all users. There's a little more info in this brief article: https://api.playfab.com/docs/tutorials/landing-content/using-title-data

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.

sevdanski avatar image sevdanski commented ·

Awesome - Thanks for the fast reply!

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.