Idea

brendan avatar image
brendan suggested

More relevant data about request in result

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 Comment

·
brendan avatar image
brendan commented

johntube
started a topic on Fri, 03 July 2015 at 9:58 PM

IMO, in any async. API, callbacks should include some piece of data to give idea about the respective corresponding request.

For instance : GetUserDataResult should include the PlayFabId of the User in question.

Maybe PlayFab SDKs were built around the idea that all objects should have their own delegates to treat their own callbacks. What about the easy dirty way of handling callbacks of multiple requests in a single central calls aka Manager / Handler / Controller generally implemented as Singletons.

I know this is not a best practice and maybe against OOP's GRASP or SOLID or whatever but we just want to make games.

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 a Comment

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

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas