Class DuplicateWorldException
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
uuidGuid
DuplicateWorldException(string)
Creates an exception for a duplicate world name.
public DuplicateWorldException(string name)
Parameters
namestring
Properties
Name
Gets the duplicate world name when the collision was name-based.
public string? Name { get; }
Property Value
Uuid
Gets the duplicate world UUID when the collision was UUID-based.
public Guid? Uuid { get; }
Property Value
- Guid?