• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums
W

wjurica

@wjurica
About
Posts
2
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Global Entities retrieval issues and questions
  • W wjurica

    Thanks Paul, I appreciate the quick response.

    That really is unfortunate. I understand that making data structures for each and every response is a lot of work for your team but that is work that each and every user of BrainCloud is going to have to do themselves. That's a big ask when considering, as a new user, I'm not even sure which requests I'm going to be making yet and just trying things out is going to be a headache. I'll have to rethink this.


  • Global Entities retrieval issues and questions
  • W wjurica

    I'm able to get GlobalEntities using:

    _bc.GlobalEntityService.ReadEntity(entityId, successCallback, failureCallback);
    

    But only when using the "Entity ID" (ie long string of letters and numbers). When I use the "Entity Indexed ID" ("mainsettings" in this case), the response is:

    {"packetId":1,"responses":[{"status_message":"Processing exception (message): Missing record - global entity not found","reason_code":40345,"status":202}]}
    

    So, is the indexed ID not used for that? Is it only used for GetListByIndexedId? In that case I suppose it is not unique?

    My overarching question is related to the responses retrieved using any of these sorts of methods.
    How do I parse these json objects once I receive them? I've seen

    using BrainCloud.JSONHelper;
    

    and

    using BrainCloud.JsonFx.Json;
    

    And some other stuff like BCEntity.ReadFromJson and BCEntityFactory. Should I be able to have those responses be converted into classes and access any of the data like mainSettingsGlobalEntity.data, mainSettingsGlobalEntity.version, etc?

    Thanks

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users