question

brendan avatar image
brendan asked

Bug with Unity SDK

scourgey
started a topic on Thu, 17 September 2015 at 9:10 AM

Inside the latest playfab SDK for Unity the following code is present - which makes no sense as the API documentation online uses different parameters. https://api.playfab.com/Documentation/Server/method/GrantCharacterToUser

I'm having trouble getting this function working. Any tips on how to fix this?

    public class GrantCharacterToUserRequest
    {   

        /// <summary>
        /// Catalog version from which items are to be granted.
        /// </summary>
        public string CatalogVersion { get; set;}

        /// <summary>
        /// Catalog item identifier of the item in the user's inventory that corresponds to the character in the catalog to be created.
        /// </summary>
        public string ItemId { get; set;}

        /// <summary>
        /// Non-unique display name of the character being granted.
        /// </summary>
        public string CharacterName { get; set;}
    }
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 Answer

·
brendan avatar image
brendan answered

Best Answer
scourgey said on Thu, 17 September 2015 at 5:23 PM

Nevermind, I can see that the Client SDK and Server SDK versions of this API call are different


1 Comment
scourgey said on Thu, 17 September 2015 at 5:23 PM

Nevermind, I can see that the Client SDK and Server SDK versions of this API call are different

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 an Answer

Hint: Notify or tag a user in this post by typing @username.

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