Inventory management focused game written in Godot / C#
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
426 B

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