Hello, I have this code, which works fine and inputs one piece of character data.
How do I change it to put in more pieces of data? (please just show it as if I'm also adding Age and CharacterName)
Also, is there a limit to the number of data items?
Thank you very much
handlers.UpdateCharacter = function (args, context) { var CharacterId = args.CharacterId; var charRecipe = args.recipe;
// store info to character account var UpdateCharacterDataRequest = { // key can be called anything you want PlayFabId: currentPlayerId, CharacterId: CharacterId, Data: { "CharacterRecipe": charRecipe } }; // send the above info to the server var UpdateCharacterDataResult = server.UpdateCharacterData(UpdateCharacterDataRequest); }