Member of ML.SDK.CloudVariables
Method | Static
MLCloudVariableSummaryRequest CloudVariables.GetUserVariableSummary(string key, VariableSubject subject)
static MLCloudVariableSummaryRequest CloudVariables.GetUserVariableSummary(string key, VariableSubject subject);
Parameters
Parameter | Type | Description |
---|---|---|
key | string | The name of the variable to create summary from. |
subject | VariableSubject | The subject in which the summary is collected from. |
Returns
A yield-able request.
Summary
Returns the summary about a variable that assigned to the specified subject.The summary is generated by going through all the variables instances assigned to the subject and collecting summary information.An example of summary usage is to get the total number of golds being distributed to users in server,given that the multiple worlds in the server can give gold to player for various reasons.