• Discuss all the things!

    115 Topics
    364 Posts

    Hi @tlim and @devsleeper ,

    Player stats are definitely useful for keeping all-time stats.

    If you want to limit stats to recent matches - you might consider using "Owned Custom Entities" for each match result. You can set a TTL for the objects so they don't stick around too long - maybe 90 days?

    And then just retrieve the last 20 match results (if they exist) to sum up the totals and produce the stats.

    I hope that helps!

    Paul.

  • Suggestions for improvements, new features, etc.

    28 Topics
    85 Posts

    Hi @LEE-JONG-GUN ,

    Thanks for the feedback.

    This is admittedly a tricky one.

    The best route I've seen to handle it is to use our shared (i.e. parent-child) accounts feature - which involves using a parent app for the player account - and a child app for the character accounts.

    Note that it does involve two live apps - but we can put your parent app on a special plan with no live fee (you just pay for API calls) - and there won't be a ton of API call from that app - cause 99% of all calls will be against the child app.

    There is more info here - https://docs.braincloudservers.com/learn/key-concepts/authentication/shared-accounts/

    I hope that helps!

    Paul.

  • Questions specific to particular APIs, libraries, etc.

    48 Topics
    167 Posts

    @wjurica Assuming you're using c#, consider Newtonsoft for the deserialization & mapping process. It's two lines of code to map your data to a class.

    https://www.newtonsoft.com/json

  • General cloud code discussions...

    31 Topics
    124 Posts

    Ah - perfect. Yeah - that sounds like a better option given the full requirements.

    Glad you found it... and welcome to brainCloud!

  • brainCloud's online learning tutorials and examples.

    3 Topics
    3 Posts

    brainCloud developers have just release several playable builds of our famous examples! See our cool features in action. Find them at https://getbraincloud.com/demos for Windows, Mac, online and mobile.

brainCloud 5 is alive!

brainCloud 5 features Portal-X (our next-gen portal), Integrated Forums (you found them), our new Bootcamp training videos, and more!

Join the discussion here!

brainCloud Bootcamp!
brainCloud's new video learning portal is now online! Go check out brainCloud BootCamp!

Need to report a defect?
Use the chat widget from the Design Portal - or send an email to support at getbraincloud.com. Thanks!