namespace Sandbox;
///
/// Configurable options when spawning a networked object.
///
public struct NetworkSpawnOptions()
{
///
/// The default network spawn options.
///
public static readonly NetworkSpawnOptions Default = new();
///
/// What happens to this networked object when its owner disconnects?
///
public NetworkOrphaned? OrphanedMode { get; set; }
///
/// Who can control the ownership of this networked object?
///
public OwnerTransfer? OwnerTransfer { get; set; }
///
/// Determines whether updates for this networked object are always transmitted to clients. Otherwise,
/// they are only transmitted when the object is determined as visible to each client.
///
public bool? AlwaysTransmit { get; set; }
///
/// Should this networked object start enabled?
///
public bool StartEnabled { get; set; } = true;
///
/// Who should be the owner of this networked object?
///
public Connection Owner { get; set; }
}