How to define player who created a table?

Game development with Board Game Arena Studio
Post Reply
User avatar
stst
Posts: 19
Joined: 15 August 2012, 16:35

How to define player who created a table?

Post by stst »

How to define player who created a table? I didn't find necessary field in 'player' table.
User avatar
stst
Posts: 19
Joined: 15 August 2012, 16:35

Re: How to define player who created a table?

Post by stst »

I found the solution of this problem. The method setupNewGame(initial setup of the game) has '$players' input parameter. This parameter is a associative array and one of element of array specifies administrator of table (table creator): ["player_is_admin"]=> string(1) "1" .
Post Reply

Return to “Developers”