Ask a Question

Ask a Question

Is there a way to push out json output instead of string or bool based output on the microservices auto generated swagger

this is a current example public async Task<string> GetActiveCurrencyId() { var inventoryView = await Services.Inventory.GetCurrent(); if (inventoryView.currencies.Count > 0) { KeyValuePair\<string, long> firstCurrency = inventoryView.currencies.FirstOrDefault(); return firstCurrency.Key; } return ""; } but I would like to do something like this public async Task<string> GetJsonActiveCurrencyId() { string currencyId = await GetActiveCurrencyId(); string jsonCurrencyId = JsonConvert.SerializeObject(new { CurrencyId = currencyId }); return jsonCurrencyId; } //output { "CurrencyId": "currencyIdValue" } but the microservice seems to break soon as I add in newtonsoft to the microservice file, is there way I can get around this issue
ANSWERED

Does the BeamContext stats set method cache the stats if the user goes offline?

Does Stats service support offline mode? When setting stats using BeamContext.Stats.Set, does it cache the stats if the user goes offline? Is there any retry logic to send the stats when the user is back online?
ANSWERED

What our options are for restoring player data from backup?

What our options are for restoring player data from backup? Both for a catastrophic failure where we’d want to restore everyone, but also being able to restore, or at least view, data for an individual player.
ANSWERED

What's the designed workflow to store and retrieve images?

What's the designed workflow to store and retrieve images? I'm planning to store a few images and load them on runtime. I couldn't find anything with a quick browse so I might just encode the image to a string and upload/download to and from a microservice storage. What I was expecting was a way to upload to a storage as a binary load and get an absolute url. Then in the microservice storage, I would only store the links.
ANSWERED

Where can I see events created from the Beamable portal?

Hello :smile: I'm trying to set up events and there's something I don't quite understand... Directly from the portal, I can see events created from Unity Editor Content Manager AND from beamable portal. However, inside Unity Editor, I can only see the one I created in Unity Editor Content Manager.. I have spammed download, searching for it and check every realms but the event created on Beamble portal is nowhere to be seen. Am I missing something between Beamable portal and Unity Editor Content Manager synchronization ?
ANSWERED

What does the events done list show?

Hey Team - Quick question. We use this API endpoint <https://api.beamable.com/object/event-players/><dbid>/ to see if a player is participating in an event or has completed an event. This endpoint return a list of running and done events. Will the done list hold all of the events the player has ever participated in or is the history pruned at some point?
ANSWERED

My app is getting denied by the Apple App Store

I am getting rejected from the app store. What should I do?
ANSWERED

Player Stat Update speed

How long does it take for a stat to propagate for other players to view? So if player A sets stat "room", what's the max amount of time it'll take for player B to see player A's "room" stat? Do stats have an eventually consistent model once saved?
ANSWERED

Microservice Hooks

I want to implement a microservice and wonder if there are any hooks I can use when a player connects or disconnects to the Beamable backend so that I can reward player currencies based on the amount of time the user has been offline, like in a normal idle game.
ANSWERED

How can I transfer player progress data from one realm to another?

I want to transfer player progress data (Stats, Inventory, etc.) from one realm to another. How can I transfer player data between realms?