Reputation: 3450
I'll make this short and sweet:
I'm looking for an advice about player attributes.
The official guide from apple to player attributes has 4 masks for attributes- but I only need two.
How can I do that?
Thanks!
Upvotes: 0
Views: 203
Reputation: 26917
You need to set playerAttributes
of your GKMatchRequest
object to 2.
Then define your roles like this:
#define Role_1 0xFFFF0000
#define Role_2 0x0000FFFF
For more information go to Game Kit Programming Guide (i guess you have already been there).
Upvotes: 1