-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
There are some actions, like reassign teams, reorder players, WaitForEnoughPlayers, that only some players should be able to do.
A prebaked behaviors.GameAdministrator that has a MayAdministerGame bool. If true, then actions like the above are allowed to proceed. If false, then those moves are only allowed if the move has been explicitly configured to allow anyone to do the action, or some other test. (Conceivably you might want a different bit for the different prebaked moves)
If behaviors.GameAdministrator is included, by default player 0 is set to administrator only. But the admin can also assign another person to be admin.
Ideally delegate.GroupMembership and related machinery could be used in Legal methods.
Metadata
Metadata
Assignees
Labels
No labels