quantum-space-buddies/QSB/OwnershipSync/IOwnedWorldObject.cs

19 lines
374 B
C#

using QSB.WorldSync;
namespace QSB.OwnershipSync;
/// <summary>
/// a world object that has an owner
/// </summary>
public interface IOwnedWorldObject : IWorldObject
{
/// <summary>
/// 0 = owned by no one
/// </summary>
public uint Owner { get; set; }
/// <summary>
/// can the world object be owned by this client
/// </summary>
public bool CanOwn { get; }
}