Skip to content

IPlayersListener

namespace Griff.Runtime;
public interface IPlayersListener

A system that settles who plays what in a network game.

public abstract void PlayersChanged()

Called in a network game as each scene starts and whenever the players change (someone joins, leaves or changes team), to settle who plays what (a strategy player commands their own team).