Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • 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
G

lanihou

@gibuspi
Unfollow Follow
About
Posts
5
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • get custom entities associated to a player at login.
    G gibuspi

    Edit . you can get all custom entities for the current user with the query

    {
      "entityType": "[entitytype]",
      "ownerId": "[profileId]",
      "context": {
        "pagination": {
          "rowsPerPage": 50,
          "pageNumber": 1
        },
        "searchCriteria": {
         // other search criteria here
        },
        "sortCriteria": {
          "createdAt": 1
        }
      }
    }
    
    Cloud Code entity cloud code script custom entities

  • get custom entities associated to a player at login.
    G gibuspi

    ok, when defining a custon entity you create a field owner , that you set as an index later in the dasboard.

    {
      "owner": "",
      "id": "",
      "code": "",
      "gunType": "basic",
      "ammo": 10,
      "lifes": 3
    }
    

    when creating a custon entity , you set the field owner with th current player profileId
    then you can retrieve it with a call to GetEntityPage

    {
      "entityType": "playerData",
      "context": {
        "pagination": {
          "rowsPerPage": 50,
          "pageNumber": 1
        },
        "searchCriteria": {
          "data.owner": "[current player profileId]"
        },
        "sortCriteria": {
          "createdAt": 1
        }
      }
    }
    
    Cloud Code entity cloud code script custom entities

  • get custom entities associated to a player at login.
    G gibuspi

    Hi,
    a player custom entity is not returned event when
    "Return User Entities during Authenticate and ReadPlayerState methods" is enabled in app settings

    the methods ReadEntity in custom entity api require and entityId.

    how do we read a player custom data (custom entities) ? at login for example ?
    thank

    Cloud Code entity cloud code script custom entities

  • Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date.
    G gibuspi

    Hi, I have this message in the google play console:
    We've detected that your app is using an old version of the Google Play Developer API. From December 1 2019, versions 1 and 2 of this API will no longer be available. Update to version 3 before this date. Note that this is not related to the AIDL/Billing Library deprecation.

    unity says it is surely something related to the baas we are using. so I am asking here.
    if braincloud still use the version 1 or 2 of the Google Play Developer API.
    thanks

    General google play api

  • Import IAP products catalog
    G gibuspi

    Hi , is there a way to import a .csv file containing iap product definition (exported from google) into braincloud ?.

    General iap
  • Login

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