OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Class RustHostInformation

Inheritance
System.Object
RustHostInformation
Implements
IGameHostInformation
IHostInformation
Namespace: OpenMod.Rust
Assembly: OpenMod.Rust.dll
Syntax
public class RustHostInformation : object, IGameHostInformation, IHostInformation

Constructors

| Improve this Doc View Source

RustHostInformation()

Declaration
public RustHostInformation()

Properties

| Improve this Doc View Source

GameDisplayName

Declaration
public string GameDisplayName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GameVersion

Declaration
public string GameVersion { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostName

Declaration
public string HostName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HostVersion

Declaration
public SemVersion HostVersion { get; }
Property Value
Type Description
SemVersion
| Improve this Doc View Source

IsClient

Declaration
public bool IsClient { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsServer

Declaration
public bool IsServer { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ServerAddress

Declaration
public IPAddress? ServerAddress { get; }
Property Value
Type Description
System.Nullable<IPAddress>
| Improve this Doc View Source

ServerInstance

Declaration
public string ServerInstance { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ServerName

Declaration
public string ServerName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ServerPort

Declaration
public ushort? ServerPort { get; }
Property Value
Type Description
System.Nullable<System.UInt16>

Implements

IGameHostInformation
IHostInformation

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)