Hi,
I'm trying to create a clan chat using the Entity Groups. I've managed to create a group and send off a test message using this:
var data = new Dictionary<string, object>() { {"Name", playerName}, {"Message", clanChatInputField.text} }; var dataList = new List<SetObject>() { new SetObject() { ObjectName = "MessageData", DataObject = data }, }; EntityKey entityKey = ClanManager.EntityKeyMaker(clanID); PlayFab.PlayFabEntityAPI.SetObjects(new SetObjectsRequest() { Entity = entityKey, Objects = dataList, }, (setResult) => { Debug.Log("send message result "+setResult.ProfileVersion); }, OnPlayFabError);
But it looks like I can only create 3 of these objects so I'm not sure what approach I should take for sending multiple chat messages from multiple users.
So that's question 1.
2. What is the best way to keep the chat up to date so messages appear for all members of the group soon after they are sent?
3. How can I load a list of all entity groups to be displayed to a player (so they can find an existing clan and ask to join it)?
Thanks in advance