Features
Games
Add-ons
Docs
Pricing
Forums
Blog
Log in
Sign Up

Features

Games

Add-ons

Docs

Pricing

Support

Blog

Log in

Sign Up

  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • General Discussion /
avatar image
Question by entelicon · Jun 16, 2017 at 07:55 PM · Character Data

Character Data

With GetCharacterDataRequest, what would I do if I don't know the character id? I want to be able to get a characters data by the non unique name of it, but that doesn't seem to be an option. How would I get aorund this?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Jun 17, 2017 at 07:41 AM

What's the context in which you wouldn't know the Character ID, specifically? The best thing to do in this case would be to work top-down, taking the intended gameplay experience and working from there to determine the best approach.

Comment

People who like this

0 Show 5 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image entelicon · Jun 18, 2017 at 07:34 AM 0
Share

Basically I have characters stored as "Preset1" - "Preset3". This means if I wanted to get data that is save in preset1, I could just call the non unique name "Preset1" and it would give me that data.

avatar image Brendan ♦♦ entelicon · Jun 19, 2017 at 08:21 AM 0
Share

Then what I would recommend is using https://api.playfab.com/documentation/client/method/GetAllUsersCharacters to determine the set of characters that are available, so that you know which ones to query.

avatar image entelicon Brendan ♦♦ · Jun 19, 2017 at 05:36 PM 0
Share

That's what I was needing, thanks!

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    How can i create a database of default characters. 2 Answers

    Questions about limits 1 Answer

    Customdata catalog to item 1 Answer

    Is there a way to mark a user as a tester to exlude his data from the reports. Like purchases for example 1 Answer

    How is the proper way to how additional user data in leaderboard? 1 Answer

    Tickets

    Need help with a confidential issue? We've got your back!

  • Create Ticket
  • View Open Tickets
  • Stay up-to-date with the latest from PlayFab:  
    Sign up for newsletter
    Engineers
    • Documentation
    • Tutorials
    • API Reference
    • SDKs
    • Usage Limits
    PLAYFAB
    • Features
    • Games
    • Add-ons
    • Pricing
    Support
    • Forums
    • Videos
    • File a Ticket
    • Service Health
    • Blog
    About
    • About
    • Jobs
    • Contact
    • Press Room
    • Privacy Policy
    • Terms of Service
    • Acceptable Use
    • Style Guide
     
     
    Sign Up

    ©2017 PlayFab, Inc.

    ©2016 PlayFab, Inc. All rights reserved. PlayFab® is a registered trademark of PlayFab, Inc. | Privacy | Terms | Acceptable Use
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges