I want to be able to grant users some virtual currency within a cloud script and keep the configuration data of events associated with currency reward amounts (eventId:amount kvp) within the title's Content.
Let's assume I author my rewards schedule within my game's Content-TitleData as key=VCCodeEventId, value=AmountToGrant and I would have a Cloud Script execute upon the occurrence of an event to AddUserVirtualCurrency based on this. Given that the documentation appears to provide only C# examples, I'd very much appreciate a Cloud Script example of using GetTitleData.
Taking this the next step further, I would introduce cooldowns for having received the reward for a given EventId (UpdateUserInternalData seems like the perfect place to set consumption flags and timestamps).
Thanks.