public partial class Workshop : Area3D { /// Returns whether this workshop is owned by the local player. public bool IsLocal => this.IsAuthority(); /// Gets the peer ID of the player owning this workshop. public int PeerId => GetMultiplayerAuthority(); /// Gets the player that owns this workshop. public Player Player => Game.Players.ByPeerId(PeerId); }