Class GGMultiplayerClientScope2D extends Area2D
The client scope is a server-side component to detect when an object should be visible to a client.
The client scope needs its
When the client scope area overlaps with a network object area, the configured strategy on the [GGMultiplayerEntity2D] is invoked.
The strategy is responsible for updating the network object's [MultiplayerSpawner] configuration according to the respective [GGMultiplayerEntityStrategy].
peer_id configured to indicate which player the scene (typically a character) belongs to.When the client scope area overlaps with a network object area, the configured strategy on the [GGMultiplayerEntity2D] is invoked.
The strategy is responsible for updating the network object's [MultiplayerSpawner] configuration according to the respective [GGMultiplayerEntityStrategy].
# Members
## This is the peer_id of the client, for which the visibility of the networked object will be set.var peer_id: int = -1# Methods