| BrainCloudServiceClientEntity_UpdateEntity Method |
[This is preliminary documentation and is subject to change.]
Method updates a new entity on the server. This operation results in the entity
data being completely replaced by the passed in JSON string.
Namespace:
Ruyi.SDK.BrainCloudApi
Assembly:
ServiceGenerated (in ServiceGenerated.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public string Entity_UpdateEntity(
string entityId,
string entityType,
string jsonEntityData,
string jsonEntityAcl,
int version,
int clientIndex
)
Parameters
- entityId
- Type: SystemString
The id of the entity to update - entityType
- Type: SystemString
The entity type as defined by the user - jsonEntityData
- Type: SystemString
The entity's data as a json string. - jsonEntityAcl
- Type: SystemString
The entity's access control list as json. A null acl implies default
permissions which make the entity readable/writeable by only the user. - version
- Type: SystemInt32
Current version of the entity. If the version of the
entity on the server does not match the version passed in, the
server operation will fail. Use -1 to skip version checking. - clientIndex
- Type: SystemInt32
@BrainCloud_clientIndex_desc
Return Value
Type:
String[Missing <returns> documentation for "M:Ruyi.SDK.BrainCloudApi.BrainCloudService.Client.Entity_UpdateEntity(System.String,System.String,System.String,System.String,System.Int32,System.Int32)"]
See Also