The following hides containers for all players except for the current player and the Admin.
An example use case would be hiding players’ hands of cards, so that only the current player and Admin can see each.
Seat 1
, Seat 2
, etc., and you have a seat named Admin
.o
.export default function(object, index) {
return {
"seats": [
"Admin",
"Seat "+index
],
"viewPolicy": "ALLOW_SEATS",
};
}