Skip to main content

OpenTD reference 2026 R1

Class StatusData

Last update: 09.03.2026

Namespace: OpenTD.Internal.Communication
Assembly: OpenTD.dll

[DataContract]
public class StatusData

Inheritance

object ← StatusData

Inherited Members

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

Constructors

StatusData()

public StatusData()

Properties

Message

[DataMember]
public string Message { get; set; }

Property Value

string

Success

[DataMember]
public bool Success { get; set; }

Property Value

bool

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

implicit operator bool(StatusData)

public static implicit operator bool(StatusData r)

Parameters

r StatusData

Returns

bool

implicit operator string(StatusData)

public static implicit operator string(StatusData r)

Parameters

r StatusData

Returns

string

Connect with Ansys