Show / Hide Table of Contents

Class RegenerateMapException

Raised by map generation steps if they detect that an invalid state (that can occasionally happen) is detected, and the map should be regenerated. Automatically used by the ConfigAndGenerateSafe(Action<Generator>, int) and ConfigAndGetStageEnumeratorSafe(Action<Generator>, int) functions.

Inheritance
object
Exception
RegenerateMapException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.ToString()
Exception.GetType()
Exception.TargetSite
Exception.Message
Exception.Data
Exception.InnerException
Exception.HelpLink
Exception.Source
Exception.HResult
Exception.StackTrace
Exception.SerializeObjectState
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: GoRogue.MapGeneration
Assembly: GoRogue.dll
Syntax
public class RegenerateMapException : Exception, ISerializable

Constructors

View Source

RegenerateMapException()

Creates map regeneration exception with no message.

Declaration
public RegenerateMapException()
View Source

RegenerateMapException(string)

Creates a map regeneration exception with a customized message.

Declaration
public RegenerateMapException(string message)
Parameters
Type Name Description
string message
View Source

RegenerateMapException(string, Exception)

Creates a map regeneration exception with a customized message an inner exception.

Declaration
public RegenerateMapException(string message, Exception innerException)
Parameters
Type Name Description
string message
Exception innerException

Implements

ISerializable

Extension Methods

Utility.Yield<T>(T)
  • View Source
In this article
Back to top Generated by DocFX