In Unity version 2019.3.0a8 the issue seems confirmed fixed. Happy coding!
Group Details Private
RE: Award currency on new registration
ward a 1000 currency(Essenc
There are two ways to do this.
#1 - if you're using our XP system, you could reward the user 1000 Essence for achieving level 1 (which assumably has a requirement of 0 XP points)
#2 - Otherwise, you can register a script against the Authentication Success API hook (service = Authenticate, Operation = Authenticate, Pre/Post = Post).
In your script, check to see if the newUser flag is set to "true". <- warning, it's a string! (darn legacy)
If it is, award the user the 1000 Essense.
General info on writing API hooks here - https://getbraincloud.com/apidocs/apiref/#cc-ccscripts-apihooks
Hope that helps!
RE: Group Members SummaryData
Couple of comments...
First of all, thanks for providing that script @Chris-Brown - that's handy.
Also note - the first 3 api calls in a cloud code script are free, and each one afterwards is just 1/2 a count - so if you were looking up 10 players, instead of it costing 10 API calls, it would cost just 4.5 (1+7/2) using Chris's script - a definite savings.
@Omar-Alzayed you seem to have two requests - but they are related I think. i.e. would you need a separate call to retrieve multiple player summary datas if the summaryData of group members was being returned?
Just ensuring that I understand the use cases...
brainCloud 4.1 is officially released!
The 4.1 servers have been updated - and the updated client libs are <mostly> available now as well!
New features in 4.1 include:
- Multi-region hosted servers (for Relay and Room Servers)
- Group Leaderboards
- Voting Leaderboards
- Group Enhancements
- Dynamic Chat Channels
- Unity <-- remember - avoid Unity 2019 for now!
- Unreal (now with beta Relay Server support!)
(And updated Java, Objective-C and Cocoapods should be deployed in the next few hours)
Note - there are definitely some good improvements in these 4.1 libraries (especially in Unity and Unreal). It is highly recommended that you upgrade to the latest!
Full details in the Release Notes.