Table of Contents

Class DuplicateWorldException

Namespace
Shard.Gameplay.Universe
Assembly
Shard.Gameplay.Universe.dll

Thrown when a world name or UUID is already loaded.

public sealed class DuplicateWorldException : InvalidOperationException, ISerializable
Inheritance
DuplicateWorldException
Implements
Inherited Members

Constructors

DuplicateWorldException(Guid)

Creates an exception for a duplicate world UUID.

public DuplicateWorldException(Guid uuid)

Parameters

uuid Guid

DuplicateWorldException(string)

Creates an exception for a duplicate world name.

public DuplicateWorldException(string name)

Parameters

name string

Properties

Name

Gets the duplicate world name when the collision was name-based.

public string? Name { get; }

Property Value

string

Uuid

Gets the duplicate world UUID when the collision was UUID-based.

public Guid? Uuid { get; }

Property Value

Guid?