Skip to main content
Namespace: OpenTD.UserInterface
Assembly: OpenTD.dll
A standard place to write output messages from OpenTD client programs. Destination defaults to an OutputDialog, but can be redirected by subscribing to the OnWrite event.

Inheritance

object ← StandardOutput

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Methods

HideDialog()

Hides the default StandardOutput dialog.

ShowDialog()

Shows the default StandardOutput dialog.

Write(string)

Writes the specified message to StandardOutput.

Parameters

msg string The message.

Write(string, params object[])

Writes the specified format string to StandardOutput.

Parameters

format string args object[]

Write(object)

Uses ToString() to write the specified object to StandardOutput.

Parameters

x object

WriteLine(string)

Writes the specified message to StandardOutput, followed by newline.

Parameters

msg string The message.

WriteLine(string, params object[])

Writes the specified format string to StandardOutput, followed by newline.

Parameters

format string args object[]

WriteLine(object)

Uses ToString() to write the specified object to StandardOutput, followed by newline.

Parameters

x object The x.

WriteLine()

Writes newline to StandardOutput.

OnWrite

Subscribe to this event to route StandardOutput to a custom destination.

Event Type

EventHandler<WriteEventArgs>

See Also

OutputDialog, StandardOutput.OnWrite