Inwentarz publicznego API

Dokumentacja wersji v0.1.0-beta.3Zobacz źródło na GitHubie

Tłumaczenie oryginalnej strony w języku angielskim dla OmsiLaunch 0.1.0-beta3. Wiążąca jest strona angielska: w razie rozbieżności obowiązują strona angielska i kod.

Ta strona jest generowana z skompilowanych assembly przez tests/OmsiLaunch.DocumentationTests (dotnet run --project tests/OmsiLaunch.DocumentationTests -- --write-inventory); kontrola dokumentacji kończy się błędem, gdy strona przestaje odpowiadać kodowi. Wymienia każdy eksportowany typ z OmsiLaunch.Api, OmsiLaunch.Core i OmsiLaunch.Process wraz z jego stabilnością i sygnaturą każdej publicznej składowej. Semantyka, warunki wstępne, błędy i przykłady są opisane na stronie wskazanej w każdym nagłówku (domyślnie: publiczne API). Słownik stabilności: STABLE_BETA, EXPERIMENTAL, PARTIAL, INTERNAL (publiczne z przyczyn technicznych, nie jest powierzchnią integracji), UNAVAILABLE (zob. publiczne API). Składowe rekordów generowane przez kompilator (Equals, GetHashCode, ToString, Deconstruct, <Clone>$, EqualityContract) zostały pominięte.

OmsiLaunch.Api#

Capability#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorCapability(string Name, bool Available, string EvidenceState, string Reason = null)
właściwośćstring Name { get; init; }
właściwośćbool Available { get; init; }
właściwośćstring EvidenceState { get; init; }
właściwośćstring Reason { get; init; }

ContentIdentity#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorContentIdentity(string Identity, string Kind, string DisplayName = null)
właściwośćstring Identity { get; init; }
właściwośćstring Kind { get; init; }
właściwośćstring DisplayName { get; init; }

ContentQueryKind#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
wartośćMaps = 0
wartośćSituations = 1
wartośćVehicles = 2
wartośćRepaints = 3
wartośćHofs = 4
wartośćFleetNumbers = 5
wartośćRegistrations = 6
wartośćAddons = 7
wartośćEntrypoints = 8

D3DDeviceState#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
wartośćNotReady = 0
wartośćReady = 1
wartośćLost = 2
wartośćResetting = 3
wartośćStopping = 4
wartośćStopped = 5

D3DDeviceStatus#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorD3DDeviceStatus(bool Available, D3DDeviceState State, uint Generation, uint LiveTextureCount, bool ResetHookInstalled, uint ExecutionThreadId, uint LastResetThreadId, int QueryInterfaceHResult, int CooperativeLevelHResult, uint OwnedDeviceReferences)
właściwośćbool Available { get; init; }
właściwośćD3DDeviceState State { get; init; }
właściwośćuint Generation { get; init; }
właściwośćuint LiveTextureCount { get; init; }
właściwośćbool ResetHookInstalled { get; init; }
właściwośćuint ExecutionThreadId { get; init; }
właściwośćuint LastResetThreadId { get; init; }
właściwośćint QueryInterfaceHResult { get; init; }
właściwośćint CooperativeLevelHResult { get; init; }
właściwośćuint OwnedDeviceReferences { get; init; }

D3DRuntimeApi#

Klasa statyczna w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
metoda rozszerzającaTask<D3DTextureDescription> CreateD3DTextureAsync(this IOmsiLaunch launch, SessionHandle session, uint width, uint height, D3DTextureFormat format, uint levels = 1, TimeSpan? timeout = default, CancellationToken cancellationToken = default)
metoda rozszerzającaTask<D3DTextureDescription> DescribeD3DTextureAsync(this IOmsiLaunch launch, SessionHandle session, D3DTextureHandle handle, uint level = 0, TimeSpan? timeout = default, CancellationToken cancellationToken = default)
metoda rozszerzającaTask<D3DDeviceStatus> GetD3DStatusAsync(this IOmsiLaunch launch, SessionHandle session, TimeSpan timeout, CancellationToken cancellationToken = default)
metoda rozszerzającaTask<D3DTextureDescription> ReleaseD3DTextureAsync(this IOmsiLaunch launch, SessionHandle session, D3DTextureHandle handle, TimeSpan? timeout = default, CancellationToken cancellationToken = default)
metoda rozszerzającaTask<D3DTextureDescription> UpdateD3DTextureAsync(this IOmsiLaunch launch, SessionHandle session, D3DTextureHandle handle, D3DTextureUpdate update, TimeSpan? timeout = default, CancellationToken cancellationToken = default)

D3DTextureDescription#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorD3DTextureDescription(D3DTextureHandle Handle, D3DTextureResourceState State, D3DDeviceState DeviceState, uint Generation, uint Width, uint Height, D3DTextureFormat Format, uint Levels, uint Level, uint LevelWidth, uint LevelHeight, int HResult, uint ExecutionThreadId)
właściwośćD3DTextureHandle Handle { get; init; }
właściwośćD3DTextureResourceState State { get; init; }
właściwośćD3DDeviceState DeviceState { get; init; }
właściwośćuint Generation { get; init; }
właściwośćuint Width { get; init; }
właściwośćuint Height { get; init; }
właściwośćD3DTextureFormat Format { get; init; }
właściwośćuint Levels { get; init; }
właściwośćuint Level { get; init; }
właściwośćuint LevelWidth { get; init; }
właściwośćuint LevelHeight { get; init; }
właściwośćint HResult { get; init; }
właściwośćuint ExecutionThreadId { get; init; }

D3DTextureFormat#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
wartośćA8R8G8B8 = 0
wartośćX8R8G8B8 = 1
wartośćR5G6B5 = 2
wartośćX1R5G5B5 = 3
wartośćA1R5G5B5 = 4
wartośćA4R4G4B4 = 5
wartośćA8 = 6
wartośćL8 = 7
wartośćA8L8 = 8

D3DTextureHandle#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorD3DTextureHandle(string Value)
właściwośćstring Value { get; init; }

D3DTextureResourceState#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
wartośćLive = 0
wartośćReleased = 1
wartośćStale = 2

D3DTextureUpdate#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorD3DTextureUpdate(uint Level, uint X, uint Y, uint Width, uint Height, ReadOnlyMemory<byte> Pixels)
właściwośćuint Level { get; init; }
właściwośćuint X { get; init; }
właściwośćuint Y { get; init; }
właściwośćuint Width { get; init; }
właściwośćuint Height { get; init; }
właściwośćReadOnlyMemory<byte> Pixels { get; init; }

DateSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorDateSpec(DateTimeMode Mode, OptionalValue<SemanticDate> Value)
właściwośćDateTimeMode Mode { get; init; }
właściwośćOptionalValue<SemanticDate> Value { get; init; }

DateTimeMode#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćUnset = 0
wartośćExplicit = 1
wartośćSystem = 2

DiagnosticsSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorDiagnosticsSpec(bool Log = true, bool Verbose = false, bool OmsiLogAll = false, bool ProcessTrace = false, bool PluginTrace = false, bool NativeTrace = false)
właściwośćbool Log { get; init; }
właściwośćbool Verbose { get; init; }
właściwośćbool OmsiLogAll { get; init; }
właściwośćbool ProcessTrace { get; init; }
właściwośćbool PluginTrace { get; init; }
właściwośćbool NativeTrace { get; init; }

EntrypointMode#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćUnset = 0
wartośćPresentedIndex = 1
wartośćIdentity = 2

EntrypointSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorEntrypointSpec(EntrypointMode Mode, OptionalValue<int> PresentedIndex, OptionalValue<string> Identity)
właściwośćEntrypointMode Mode { get; init; }
właściwośćOptionalValue<int> PresentedIndex { get; init; }
właściwośćOptionalValue<string> Identity { get; init; }
właściwość statycznaEntrypointSpec Unset { get; }

EnvironmentSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorEnvironmentSpec(IReadOnlyDictionary<string, OptionalValue<string>> General, IReadOnlyDictionary<string, OptionalValue<string>> Advanced, IReadOnlyDictionary<string, OptionalValue<string>> Graphics, IReadOnlyDictionary<string, OptionalValue<string>> AdvancedGraphics, IReadOnlyDictionary<string, OptionalValue<string>> Sound, IReadOnlyDictionary<string, OptionalValue<string>> AiPassengers, IReadOnlyDictionary<string, OptionalValue<string>> Keyboard, IReadOnlyDictionary<string, OptionalValue<string>> Controllers)
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> General { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> Advanced { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> Graphics { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> AdvancedGraphics { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> Sound { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> AiPassengers { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> Keyboard { get; init; }
właściwośćIReadOnlyDictionary<string, OptionalValue<string>> Controllers { get; init; }

IOmsiLaunch#

Interfejs w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
metodaTask CloseAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<IReadOnlyList<ContentIdentity>> DiscoverAsync(InstallationSpec installation, ContentQueryKind query, OptionalValue<string> scope = default, CancellationToken cancellationToken = default)
metodaTask<RuntimeCommandResult> ExecuteRuntimeAsync(SessionHandle session, RuntimeCommand command, TimeSpan timeout, CancellationToken cancellationToken = default)
metodaTask<IReadOnlyList<Capability>> GetCapabilitiesAsync(InstallationSpec installation, CancellationToken cancellationToken = default)
metodaTask<SessionStatus> GetStatusAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<SessionPlan> PlanSessionAsync(LaunchSpec spec, CancellationToken cancellationToken = default)
metodaTask<RecoveryStatus> RecoverPendingAsync(InstallationSpec installation, bool restore, CancellationToken cancellationToken = default)
metodaTask<SessionHandle> StartSessionAsync(SessionPlan plan, CancellationToken cancellationToken = default)
metodaTask StopAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<SessionStatus> WaitForAsync(SessionHandle session, SessionState state, TimeSpan timeout, CancellationToken cancellationToken = default)

InputSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorInputSpec(OptionalValue<string> KeyboardDocument, OptionalValue<string> ControllerDocument)
właściwośćOptionalValue<string> KeyboardDocument { get; init; }
właściwośćOptionalValue<string> ControllerDocument { get; init; }

InstallationPaths#

Klasa statyczna w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
metoda statycznastring IdentityKey(string root)
metoda statycznastring NormalizeRoot(string root)
metoda statycznaIReadOnlyList<string> Segments(string relativePath)
metoda statycznabool TryGetContainedRelativePath(string root, string candidate, out string relativePath)

InstallationSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorInstallationSpec(string RootPath, string ExpectedExecutableSha256 = null)
właściwośćstring RootPath { get; init; }
właściwośćstring ExpectedExecutableSha256 { get; init; }

InternetTexturesMode#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćNative = 0
wartośćDisabled = 1
wartośćOverride = 2

InternetTexturesSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorInternetTexturesSpec(InternetTexturesMode Mode = Native, OptionalValue<string> OverrideProfilePath = default)
właściwośćInternetTexturesMode Mode { get; init; }
właściwośćOptionalValue<string> OverrideProfilePath { get; init; }

LaunchBehaviorSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorLaunchBehaviorSpec(bool RestoreConfiguration = true, bool SuppressStaleClosecheckWarning = true, int StartupTimeoutSeconds = 180, int ShutdownTimeoutSeconds = 30)
właściwośćbool RestoreConfiguration { get; init; }
właściwośćbool SuppressStaleClosecheckWarning { get; init; }
właściwośćint StartupTimeoutSeconds { get; init; }
właściwośćint ShutdownTimeoutSeconds { get; init; }

LaunchDiagnostic#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorLaunchDiagnostic(string Code, string Message, IReadOnlyDictionary<string, string> Data = null)
właściwośćstring Code { get; init; }
właściwośćstring Message { get; init; }
właściwośćIReadOnlyDictionary<string, string> Data { get; init; }

LaunchSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorLaunchSpec(InstallationSpec Installation, WorldSpec World, DateSpec Date, TimeSpec Time, OptionalValue<PlayerVehicleSpec> PlayerVehicle, EnvironmentSpec Environment, LaunchBehaviorSpec Behavior, YearSpec Year = null, WeatherSpec Weather = null, InputSpec Input = null, DiagnosticsSpec Diagnostics = null, SessionPresentationSpec Presentation = null, InternetTexturesSpec InternetTextures = null, SessionProfileMetadata SessionProfile = null)
właściwośćInstallationSpec Installation { get; init; }
właściwośćWorldSpec World { get; init; }
właściwośćDateSpec Date { get; init; }
właściwośćTimeSpec Time { get; init; }
właściwośćOptionalValue<PlayerVehicleSpec> PlayerVehicle { get; init; }
właściwośćEnvironmentSpec Environment { get; init; }
właściwośćLaunchBehaviorSpec Behavior { get; init; }
właściwośćYearSpec Year { get; init; }
właściwośćWeatherSpec Weather { get; init; }
właściwośćInputSpec Input { get; init; }
właściwośćDiagnosticsSpec Diagnostics { get; init; }
właściwośćSessionPresentationSpec Presentation { get; init; }
właściwośćInternetTexturesSpec InternetTextures { get; init; }
właściwośćSessionProfileMetadata SessionProfile { get; init; }
właściwośćYearSpec EffectiveYear { get; }
właściwośćWeatherSpec EffectiveWeather { get; }
właściwośćInputSpec EffectiveInput { get; }
właściwośćDiagnosticsSpec EffectiveDiagnostics { get; }
właściwośćSessionPresentationSpec EffectivePresentation { get; }
właściwośćInternetTexturesSpec EffectiveInternetTextures { get; }

OmsiRuntimeException#

Zapieczętowana klasa w OmsiLaunch.Api. Stabilność: EXPERIMENTAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorOmsiRuntimeException(string code, string detail = null)
właściwośćstring Code { get; }

OptionalValue#

Record struct w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorOptionalValue(Presence Presence, T Value)
właściwośćPresence Presence { get; init; }
właściwośćT Value { get; init; }
właściwośćbool IsSet { get; }
właściwość statycznaOptionalValue<T> Unset { get; }
metoda statycznaOptionalValue<T> Set(T value)

PlannedMutation#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorPlannedMutation(string RelativePath, string SemanticKey, string RequestedValue, string Operation)
właściwośćstring RelativePath { get; init; }
właściwośćstring SemanticKey { get; init; }
właściwośćstring RequestedValue { get; init; }
właściwośćstring Operation { get; init; }

PlayerVehicleSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorPlayerVehicleSpec(OptionalValue<string> Model, OptionalValue<string> Repaint, OptionalValue<string> Hof, OptionalValue<string> FleetNumber, OptionalValue<string> Registration)
właściwośćOptionalValue<string> Model { get; init; }
właściwośćOptionalValue<string> Repaint { get; init; }
właściwośćOptionalValue<string> Hof { get; init; }
właściwośćOptionalValue<string> FleetNumber { get; init; }
właściwośćOptionalValue<string> Registration { get; init; }
właściwośćbool Enabled { get; }

Presence#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćUnset = 0
wartośćSet = 1

PublicCapabilityClassification#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: capabilities.

SkładowaSygnatura
wartośćPublicStableBeta = 0
wartośćPublicExperimental = 1
wartośćInternalOnly = 2
wartośćUnsupported = 3

PublicCapabilityDescriptor#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: capabilities.

SkładowaSygnatura
konstruktorPublicCapabilityDescriptor(string Id, string Family, PublicCapabilityClassification Classification, PublicCapabilityKind Kind, bool RequiresSession, bool RequiresExactProfile, string ApiRoute, string CliRoute, string RuntimeValidation, string Description, IReadOnlyList<string> HandleTypes = null)
właściwośćstring Id { get; init; }
właściwośćstring Family { get; init; }
właściwośćPublicCapabilityClassification Classification { get; init; }
właściwośćPublicCapabilityKind Kind { get; init; }
właściwośćbool RequiresSession { get; init; }
właściwośćbool RequiresExactProfile { get; init; }
właściwośćstring ApiRoute { get; init; }
właściwośćstring CliRoute { get; init; }
właściwośćstring RuntimeValidation { get; init; }
właściwośćstring Description { get; init; }
właściwośćIReadOnlyList<string> HandleTypes { get; init; }

PublicCapabilityKind#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: capabilities.

SkładowaSygnatura
wartośćRead = 0
wartośćWrite = 1
wartośćAction = 2
wartośćEvent = 3

PublicCapabilityRegistry#

Klasa statyczna w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: capabilities.

SkładowaSygnatura
stałastring ProtocolVersion = "0.1"
pole statyczneIReadOnlyList<PublicCapabilityDescriptor> All
właściwość statycznaIReadOnlyCollection<string> PublicRuntimeOperationIds { get; }
metoda statycznaIReadOnlyList<PublicRuntimeArgumentDescriptor> GetRuntimeArguments(string operation)
metoda statycznabool IsInternalResultKey(string key)
metoda statycznabool IsPublicRuntimeOperation(string operation)
metoda statycznaPublicRuntimeArgumentValidation ValidateRuntimeArguments(string operation, IReadOnlyDictionary<string, string> arguments)

PublicErrorCategory#

Klasa statyczna w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: errors.

SkładowaSygnatura
stałastring InvalidArgument = "invalid_argument"
stałastring UnsupportedProfile = "unsupported_profile"
stałastring Session = "session"
stałastring Runtime = "runtime"
stałastring NotFound = "not_found"
stałastring Transaction = "transaction"
stałastring Internal = "internal"

PublicErrorCodes#

Klasa statyczna w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: errors.

SkładowaSygnatura
stałastring CANCELLED = "OL_E_CANCELLED"
stałastring INTERNAL = "OL_E_INTERNAL"
stałastring TIMEOUT = "OL_E_TIMEOUT"
stałastring WINDOWS_HOST_MISSING = "OL_E_WINDOWS_HOST_MISSING"
stałastring WINDOWS_HOST_START_FAILED = "OL_E_WINDOWS_HOST_START_FAILED"
stałastring BUILD_VALIDATION_FAILED = "OL_E_BUILD_VALIDATION_FAILED"
stałastring UNSUPPORTED_BUILD = "OL_E_UNSUPPORTED_BUILD"
stałastring UNSUPPORTED_OPERATING_SYSTEM = "OL_E_UNSUPPORTED_OPERATING_SYSTEM"
stałastring UNSUPPORTED_OS_ARCHITECTURE = "OL_E_UNSUPPORTED_OS_ARCHITECTURE"
stałastring ENTRYPOINT_NOT_FOUND = "OL_E_ENTRYPOINT_NOT_FOUND"
stałastring ENTRYPOINT_REQUIRED = "OL_E_ENTRYPOINT_REQUIRED"
stałastring HOF_NOT_FOUND = "OL_E_HOF_NOT_FOUND"
stałastring MAP_NOT_FOUND = "OL_E_MAP_NOT_FOUND"
stałastring NOT_FOUND = "OL_E_NOT_FOUND"
stałastring REPAINT_NOT_FOUND = "OL_E_REPAINT_NOT_FOUND"
stałastring SITUATION_MAP_NOT_FOUND = "OL_E_SITUATION_MAP_NOT_FOUND"
stałastring SITUATION_NOT_FOUND = "OL_E_SITUATION_NOT_FOUND"
stałastring VEHICLE_NOT_FOUND = "OL_E_VEHICLE_NOT_FOUND"
stałastring INSTALLATION_BUSY = "OL_E_INSTALLATION_BUSY"
stałastring INSTALLATION_NOT_FOUND = "OL_E_INSTALLATION_NOT_FOUND"
stałastring INSTALLATION_NOT_WRITABLE = "OL_E_INSTALLATION_NOT_WRITABLE"
stałastring PERMANENT_PLUGIN_HASH_MISMATCH = "OL_E_PERMANENT_PLUGIN_HASH_MISMATCH"
stałastring PERMANENT_PLUGIN_MANIFEST_INCOMPLETE = "OL_E_PERMANENT_PLUGIN_MANIFEST_INCOMPLETE"
stałastring PERMANENT_PLUGIN_MISSING = "OL_E_PERMANENT_PLUGIN_MISSING"
stałastring PLATFORM_CAPABILITY_MISSING = "OL_E_PLATFORM_CAPABILITY_MISSING"
stałastring RELEASE_MANIFEST_INVALID = "OL_E_RELEASE_MANIFEST_INVALID"
stałastring INVALID_ARGUMENT = "OL_E_INVALID_ARGUMENT"
stałastring INVALID_SETTING_VALUE = "OL_E_INVALID_SETTING_VALUE"
stałastring SETTING_NOT_WRITABLE = "OL_E_SETTING_NOT_WRITABLE"
stałastring UNKNOWN_SETTING = "OL_E_UNKNOWN_SETTING"
stałastring SPEC_INVALID = "OL_E_SPEC_INVALID"
stałastring SPEC_NOT_FOUND = "OL_E_SPEC_NOT_FOUND"
stałastring SPEC_TOO_LARGE = "OL_E_SPEC_TOO_LARGE"
stałastring SPEC_UNKNOWN_PROPERTY = "OL_E_SPEC_UNKNOWN_PROPERTY"
stałastring CONTROL_COMMAND_UNKNOWN = "OL_E_CONTROL_COMMAND_UNKNOWN"
stałastring CONTROL_FAILED = "OL_E_CONTROL_FAILED"
stałastring CONTROL_HANDLER_FAILED = "OL_E_CONTROL_HANDLER_FAILED"
stałastring CONTROL_MESSAGE_INVALID = "OL_E_CONTROL_MESSAGE_INVALID"
stałastring CONTROL_MESSAGE_TOO_LARGE = "OL_E_CONTROL_MESSAGE_TOO_LARGE"
stałastring CONTROL_PROTOCOL = "OL_E_CONTROL_PROTOCOL"
stałastring CONTROL_RESPONSE_TOO_LARGE = "OL_E_CONTROL_RESPONSE_TOO_LARGE"
stałastring CONTROL_SESSION_MISMATCH = "OL_E_CONTROL_SESSION_MISMATCH"
stałastring PLAN_NOT_RUNNABLE = "OL_E_PLAN_NOT_RUNNABLE"
stałastring ITX_PROFILE_INVALID = "OL_E_ITX_PROFILE_INVALID"
stałastring ITX_PROFILE_MISSING = "OL_E_ITX_PROFILE_MISSING"
stałastring ITX_PROFILE_REQUIRED = "OL_E_ITX_PROFILE_REQUIRED"
stałastring ITX_TARGET_OUTSIDE_TEXTURE_PATH = "OL_E_ITX_TARGET_OUTSIDE_TEXTURE_PATH"
stałastring SPLASH_ASSET_DIRECTORY_MISSING = "OL_E_SPLASH_ASSET_DIRECTORY_MISSING"
stałastring SPLASH_ASSET_MISSING = "OL_E_SPLASH_ASSET_MISSING"
stałastring SPLASH_FORMAT_UNSUPPORTED = "OL_E_SPLASH_FORMAT_UNSUPPORTED"
stałastring PROCESS_CLEANUP_FAILED = "OL_E_PROCESS_CLEANUP_FAILED"
stałastring PROCESS_CREATION_TIME_FAILED = "OL_E_PROCESS_CREATION_TIME_FAILED"
stałastring PROCESS_EXITED_EARLY = "OL_E_PROCESS_EXITED_EARLY"
stałastring PROCESS_START_FAILED = "OL_E_PROCESS_START_FAILED"
stałastring PROCESS_SUPERVISION = "OL_E_PROCESS_SUPERVISION"
stałastring PROCESS_TERMINATE_FAILED = "OL_E_PROCESS_TERMINATE_FAILED"
stałastring PROCESS_WAIT_FAILED = "OL_E_PROCESS_WAIT_FAILED"
stałastring CAMERA_PRESET_FAMILY_UNSUPPORTED = "OL_E_CAMERA_PRESET_FAMILY_UNSUPPORTED"
stałastring DATE_TIME_APPLY_FAILED = "OL_E_DATE_TIME_APPLY_FAILED"
stałastring MAKEVEHICLE_BUS_NOT_FOUND = "OL_E_MAKEVEHICLE_BUS_NOT_FOUND"
stałastring MAKEVEHICLE_DELTA_MULTIPLE = "OL_E_MAKEVEHICLE_DELTA_MULTIPLE"
stałastring MAKEVEHICLE_DELTA_ZERO = "OL_E_MAKEVEHICLE_DELTA_ZERO"
stałastring MAKEVEHICLE_NATIVE_FAILED = "OL_E_MAKEVEHICLE_NATIVE_FAILED"
stałastring PLACE_RANDOM_BUS_FAILED = "OL_E_PLACE_RANDOM_BUS_FAILED"
stałastring RUNTIME_ARGUMENT_REQUIRED = "OL_E_RUNTIME_ARGUMENT_REQUIRED"
stałastring RUNTIME_ARTIFACT_MISSING = "OL_E_RUNTIME_ARTIFACT_MISSING"
stałastring RUNTIME_BASELINE_UNAVAILABLE = "OL_E_RUNTIME_BASELINE_UNAVAILABLE"
stałastring RUNTIME_BUS_IDENTITY_INVALID = "OL_E_RUNTIME_BUS_IDENTITY_INVALID"
stałastring RUNTIME_CHANNEL_BUSY = "OL_E_RUNTIME_CHANNEL_BUSY"
stałastring RUNTIME_CHANNEL_CLOSED = "OL_E_RUNTIME_CHANNEL_CLOSED"
stałastring RUNTIME_CHANNEL_STATE_INVALID = "OL_E_RUNTIME_CHANNEL_STATE_INVALID"
stałastring RUNTIME_CONSTANTS_UNAVAILABLE = "OL_E_RUNTIME_CONSTANTS_UNAVAILABLE"
stałastring RUNTIME_CONSTANT_NOT_FOUND = "OL_E_RUNTIME_CONSTANT_NOT_FOUND"
stałastring RUNTIME_CREATED_OBJECT_INVALID = "OL_E_RUNTIME_CREATED_OBJECT_INVALID"
stałastring RUNTIME_CREATED_OBJECT_NOT_IN_COLLECTION = "OL_E_RUNTIME_CREATED_OBJECT_NOT_IN_COLLECTION"
stałastring RUNTIME_CURVE_DEGENERATE = "OL_E_RUNTIME_CURVE_DEGENERATE"
stałastring RUNTIME_CURVE_EMPTY = "OL_E_RUNTIME_CURVE_EMPTY"
stałastring RUNTIME_CURVE_INVALID = "OL_E_RUNTIME_CURVE_INVALID"
stałastring RUNTIME_CURVE_NOT_FOUND = "OL_E_RUNTIME_CURVE_NOT_FOUND"
stałastring RUNTIME_HOF_UNAVAILABLE = "OL_E_RUNTIME_HOF_UNAVAILABLE"
stałastring RUNTIME_INSTALLATION_INCOMPLETE = "OL_E_RUNTIME_INSTALLATION_INCOMPLETE"
stałastring RUNTIME_OBJECT_HANDLE_REQUIRED = "OL_E_RUNTIME_OBJECT_HANDLE_REQUIRED"
stałastring RUNTIME_OBJECT_HANDLE_STALE = "OL_E_RUNTIME_OBJECT_HANDLE_STALE"
stałastring RUNTIME_OPERATION_FAILED = "OL_E_RUNTIME_OPERATION_FAILED"
stałastring RUNTIME_OPERATION_UNAVAILABLE = "OL_E_RUNTIME_OPERATION_UNAVAILABLE"
stałastring RUNTIME_OPERATION_UNKNOWN = "OL_E_RUNTIME_OPERATION_UNKNOWN"
stałastring RUNTIME_PLAYER_VEHICLE_UNAVAILABLE = "OL_E_RUNTIME_PLAYER_VEHICLE_UNAVAILABLE"
stałastring RUNTIME_PROTOCOL_MISMATCH = "OL_E_RUNTIME_PROTOCOL_MISMATCH"
stałastring RUNTIME_REQUEST_ID_REUSED = "OL_E_RUNTIME_REQUEST_ID_REUSED"
stałastring RUNTIME_REQUEST_TIMEOUT = "OL_E_RUNTIME_REQUEST_TIMEOUT"
stałastring RUNTIME_RESPONSE_INVALID = "OL_E_RUNTIME_RESPONSE_INVALID"
stałastring RUNTIME_RESPONSE_TOO_LARGE = "OL_E_RUNTIME_RESPONSE_TOO_LARGE"
stałastring RUNTIME_SCRIPT_OBJECT_UNAVAILABLE = "OL_E_RUNTIME_SCRIPT_OBJECT_UNAVAILABLE"
stałastring RUNTIME_SESSION_MISMATCH = "OL_E_RUNTIME_SESSION_MISMATCH"
stałastring RUNTIME_SETTING_NOT_PERSISTENT = "OL_E_RUNTIME_SETTING_NOT_PERSISTENT"
stałastring RUNTIME_SETTING_UNAVAILABLE = "OL_E_RUNTIME_SETTING_UNAVAILABLE"
stałastring RUNTIME_STRING_VARIABLE_NOT_FOUND = "OL_E_RUNTIME_STRING_VARIABLE_NOT_FOUND"
stałastring RUNTIME_VALUE_INVALID = "OL_E_RUNTIME_VALUE_INVALID"
stałastring RUNTIME_VALUE_OUT_OF_RANGE = "OL_E_RUNTIME_VALUE_OUT_OF_RANGE"
stałastring RUNTIME_VARIABLE_NOT_FOUND = "OL_E_RUNTIME_VARIABLE_NOT_FOUND"
stałastring RUNTIME_VARIABLE_UNAVAILABLE = "OL_E_RUNTIME_VARIABLE_UNAVAILABLE"
stałastring TIME_APPLY_FAILED = "OL_E_TIME_APPLY_FAILED"
stałastring D3D_DEVICE_LOST = "OL_E_D3D_DEVICE_LOST"
stałastring D3D_INVALID_ARGUMENT = "OL_E_D3D_INVALID_ARGUMENT"
stałastring D3D_INVALID_PIXEL_BUFFER = "OL_E_D3D_INVALID_PIXEL_BUFFER"
stałastring D3D_INVALID_TEXTURE_FORMAT = "OL_E_D3D_INVALID_TEXTURE_FORMAT"
stałastring D3D_NATIVE_CALL_FAILED = "OL_E_D3D_NATIVE_CALL_FAILED"
stałastring D3D_NOT_READY = "OL_E_D3D_NOT_READY"
stałastring D3D_RESET_IN_PROGRESS = "OL_E_D3D_RESET_IN_PROGRESS"
stałastring D3D_RESOURCE_RELEASED = "OL_E_D3D_RESOURCE_RELEASED"
stałastring D3D_STALE_RESOURCE_HANDLE = "OL_E_D3D_STALE_RESOURCE_HANDLE"
stałastring CAPABILITY_UNAVAILABLE = "OL_E_CAPABILITY_UNAVAILABLE"
stałastring HEADLESS_ARM_FAILED = "OL_E_HEADLESS_ARM_FAILED"
stałastring NO_ACTIVE_SESSION = "OL_E_NO_ACTIVE_SESSION"
stałastring PLUGIN_NOT_LOADED = "OL_E_PLUGIN_NOT_LOADED"
stałastring PLUGIN_PROTOCOL_MISMATCH = "OL_E_PLUGIN_PROTOCOL_MISMATCH"
stałastring SESSION_ALREADY_ACTIVE = "OL_E_SESSION_ALREADY_ACTIVE"
stałastring SESSION_NOT_RUNNING = "OL_E_SESSION_NOT_RUNNING"
stałastring SESSION_PRESENTATION_INVALID = "OL_E_SESSION_PRESENTATION_INVALID"
stałastring SESSION_START_FAILED = "OL_E_SESSION_START_FAILED"
stałastring SITUATION_LOAD_FAILED = "OL_E_SITUATION_LOAD_FAILED"
stałastring STARTUP_TIMEOUT = "OL_E_STARTUP_TIMEOUT"
stałastring START_SESSION = "OL_E_START_SESSION"
stałastring WORLD_START_FAILED = "OL_E_WORLD_START_FAILED"
stałastring SESSION_PROFILE_ASSET_MISSING = "OL_E_SESSION_PROFILE_ASSET_MISSING"
stałastring SESSION_PROFILE_INVALID = "OL_E_SESSION_PROFILE_INVALID"
stałastring SESSION_PROFILE_MAP_MISMATCH = "OL_E_SESSION_PROFILE_MAP_MISMATCH"
stałastring SESSION_PROFILE_NOT_FOUND = "OL_E_SESSION_PROFILE_NOT_FOUND"
stałastring SESSION_PROFILE_OVERRIDE_CONFLICT = "OL_E_SESSION_PROFILE_OVERRIDE_CONFLICT"
stałastring SESSION_PROFILE_PATH_ESCAPE = "OL_E_SESSION_PROFILE_PATH_ESCAPE"
stałastring SESSION_PROFILE_PRESET_NOT_FOUND = "OL_E_SESSION_PROFILE_PRESET_NOT_FOUND"
stałastring SESSION_PROFILE_SCHEMA_UNSUPPORTED = "OL_E_SESSION_PROFILE_SCHEMA_UNSUPPORTED"
stałastring SESSION_PROFILE_SETTING_NOT_WRITABLE = "OL_E_SESSION_PROFILE_SETTING_NOT_WRITABLE"
stałastring SESSION_PROFILE_SETTING_UNKNOWN = "OL_E_SESSION_PROFILE_SETTING_UNKNOWN"
stałastring CLOSECHECK_REMOVE_FAILED = "OL_E_CLOSECHECK_REMOVE_FAILED"
stałastring RECOVERY_ABSENT_OWNERSHIP_MISMATCH = "OL_E_RECOVERY_ABSENT_OWNERSHIP_MISMATCH"
stałastring RECOVERY_ABSENT_OWNERSHIP_UNVERIFIED = "OL_E_RECOVERY_ABSENT_OWNERSHIP_UNVERIFIED"
stałastring RECOVERY_BACKUP_CORRUPT = "OL_E_RECOVERY_BACKUP_CORRUPT"
stałastring RECOVERY_JOURNAL_MISSING = "OL_E_RECOVERY_JOURNAL_MISSING"
stałastring RECOVERY_JOURNAL_REMOVE_FAILED = "OL_E_RECOVERY_JOURNAL_REMOVE_FAILED"
stałastring RESTORE_DEFERRED = "OL_E_RESTORE_DEFERRED"
stałastring RESTORE_FAILED = "OL_E_RESTORE_FAILED"
stałastring RESTORE_FOREIGN_FILE_RETAINED = "OL_W_RESTORE_FOREIGN_FILE_RETAINED"
pole statyczneIReadOnlyList<PublicErrorDescriptor> All

PublicErrorDescriptor#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: errors.

SkładowaSygnatura
konstruktorPublicErrorDescriptor(string Code, string Category)
właściwośćstring Code { get; init; }
właściwośćstring Category { get; init; }

PublicExitCode#

Wyliczenie (int) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: exit-codes.

SkładowaSygnatura
wartośćSuccess = 0
wartośćSessionFailed = 1
wartośćInvalidArguments = 2
wartośćUnsupportedProfile = 3
wartośćNoActiveSession = 4
wartośćRuntimeUnavailable = 5
wartośćNotFound = 6
wartośćOperationRejected = 7
wartośćTransactionRecoveryFailed = 8
wartośćInternalError = 10

PublicRuntimeArgumentDescriptor#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorPublicRuntimeArgumentDescriptor(string Name, bool Required, string Description)
właściwośćstring Name { get; init; }
właściwośćbool Required { get; init; }
właściwośćstring Description { get; init; }

PublicRuntimeArgumentValidation#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorPublicRuntimeArgumentValidation(bool Accepted, string ErrorCode = null, string Message = null)
właściwośćbool Accepted { get; init; }
właściwośćstring ErrorCode { get; init; }
właściwośćstring Message { get; init; }

RecoveryStatus#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorRecoveryStatus(bool Pending, bool Recovered, IReadOnlyList<LaunchDiagnostic> Diagnostics)
właściwośćbool Pending { get; init; }
właściwośćbool Recovered { get; init; }
właściwośćIReadOnlyList<LaunchDiagnostic> Diagnostics { get; init; }

RuntimeCommand#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: runtime-control.

SkładowaSygnatura
konstruktorRuntimeCommand(Guid SessionId, ulong RequestId, string Operation, IReadOnlyDictionary<string, string> Arguments = null)
właściwośćGuid SessionId { get; init; }
właściwośćulong RequestId { get; init; }
właściwośćstring Operation { get; init; }
właściwośćIReadOnlyDictionary<string, string> Arguments { get; init; }

RuntimeCommandResult#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: runtime-control.

SkładowaSygnatura
konstruktorRuntimeCommandResult(Guid SessionId, ulong RequestId, bool Succeeded, string ErrorCode = null, IReadOnlyDictionary<string, string> Values = null)
właściwośćGuid SessionId { get; init; }
właściwośćulong RequestId { get; init; }
właściwośćbool Succeeded { get; init; }
właściwośćstring ErrorCode { get; init; }
właściwośćIReadOnlyDictionary<string, string> Values { get; init; }

RuntimeCommandWire#

Klasa statyczna w OmsiLaunch.Api. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
stałauint Magic = 1330401859
stałaushort Version = 1
stałaint HeaderSize = 72
metoda statycznabyte[] SerializeRequest(RuntimeCommand command)
metoda statycznabyte[] SerializeResponse(RuntimeCommandResult result)
metoda statycznabool TryDeserializeRequest(ReadOnlySpan<byte> bytes, out RuntimeCommand command)
metoda statycznabool TryDeserializeResponse(ReadOnlySpan<byte> bytes, out RuntimeCommandResult result)
metoda statycznabool TryReadRequestId(ReadOnlySpan<byte> bytes, out ulong requestId)

RuntimeEvent#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorRuntimeEvent(string Type, DateTimeOffset TimestampUtc, long Sequence, IReadOnlyDictionary<string, string> Data)
właściwośćstring Type { get; init; }
właściwośćDateTimeOffset TimestampUtc { get; init; }
właściwośćlong Sequence { get; init; }
właściwośćIReadOnlyDictionary<string, string> Data { get; init; }

RuntimePlatformInfo#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorRuntimePlatformInfo(string OsFamily, string OsVersion, string OsArchitecture, string HostArchitecture, string OmsiArchitecture, string PluginArchitecture, bool CurrentPlatformSupported, bool LegacyPlatform, bool Wow64Available, bool InstallationWritable, bool ProcessLaunchSupported, bool PluginRuntimeSupported, bool NativeInteropSupported, bool SharedMemorySupported, bool ExactRestoreSupported)
właściwośćstring OsFamily { get; init; }
właściwośćstring OsVersion { get; init; }
właściwośćstring OsArchitecture { get; init; }
właściwośćstring HostArchitecture { get; init; }
właściwośćstring OmsiArchitecture { get; init; }
właściwośćstring PluginArchitecture { get; init; }
właściwośćbool CurrentPlatformSupported { get; init; }
właściwośćbool LegacyPlatform { get; init; }
właściwośćbool Wow64Available { get; init; }
właściwośćbool InstallationWritable { get; init; }
właściwośćbool ProcessLaunchSupported { get; init; }
właściwośćbool PluginRuntimeSupported { get; init; }
właściwośćbool NativeInteropSupported { get; init; }
właściwośćbool SharedMemorySupported { get; init; }
właściwośćbool ExactRestoreSupported { get; init; }

SemanticDate#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorSemanticDate(int Year, int Month, int Day)
właściwośćint Year { get; init; }
właściwośćint Month { get; init; }
właściwośćint Day { get; init; }

SemanticTime#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorSemanticTime(int Hour, int Minute, int Second)
właściwośćint Hour { get; init; }
właściwośćint Minute { get; init; }
właściwośćint Second { get; init; }

SessionHandle#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorSessionHandle(Guid SessionId)
właściwośćGuid SessionId { get; init; }

SessionPlan#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorSessionPlan(Guid SessionId, string BuildProfileId, LaunchSpec Spec, RuntimePlatformInfo Platform, IReadOnlyList<ContentIdentity> ResolvedContent, IReadOnlyList<string> TouchedFiles, IReadOnlyList<string> RuntimeArtifacts, IReadOnlyList<Capability> RequiredCapabilities, IReadOnlyList<Capability> UnsupportedRequestedFeatures, IReadOnlyList<PlannedMutation> PlannedMutations, IReadOnlyList<LaunchDiagnostic> Diagnostics, bool IsRunnable)
właściwośćGuid SessionId { get; init; }
właściwośćstring BuildProfileId { get; init; }
właściwośćLaunchSpec Spec { get; init; }
właściwośćRuntimePlatformInfo Platform { get; init; }
właściwośćIReadOnlyList<ContentIdentity> ResolvedContent { get; init; }
właściwośćIReadOnlyList<string> TouchedFiles { get; init; }
właściwośćIReadOnlyList<string> RuntimeArtifacts { get; init; }
właściwośćIReadOnlyList<Capability> RequiredCapabilities { get; init; }
właściwośćIReadOnlyList<Capability> UnsupportedRequestedFeatures { get; init; }
właściwośćIReadOnlyList<PlannedMutation> PlannedMutations { get; init; }
właściwośćIReadOnlyList<LaunchDiagnostic> Diagnostics { get; init; }
właściwośćbool IsRunnable { get; init; }

SessionPresentationSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorSessionPresentationSpec(SplashMode Splash = Managed, OptionalValue<string> Language = default, OptionalValue<string> CustomAssetDirectory = default, bool SuppressTrayIcon = false)
właściwośćSplashMode Splash { get; init; }
właściwośćOptionalValue<string> Language { get; init; }
właściwośćOptionalValue<string> CustomAssetDirectory { get; init; }
właściwośćbool SuppressTrayIcon { get; init; }

SessionProfileMetadata#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorSessionProfileMetadata(string Id, string Name, string Version, string Author, string PresetId, int PresetIndex, string PresetName, string PackagePath)
właściwośćstring Id { get; init; }
właściwośćstring Name { get; init; }
właściwośćstring Version { get; init; }
właściwośćstring Author { get; init; }
właściwośćstring PresetId { get; init; }
właściwośćint PresetIndex { get; init; }
właściwośćstring PresetName { get; init; }
właściwośćstring PackagePath { get; init; }

SessionState#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
wartośćCreated = 0
wartośćValidatingPlatform = 1
wartośćPlanning = 2
wartośćAcquiringInstallationLock = 3
wartośćRecoveringPreviousTransaction = 4
wartośćSnapshotting = 5
wartośćApplyingConfiguration = 6
wartośćDeployingRuntime = 7
wartośćCreatingStartupHandoff = 8
wartośćStartingProcess = 9
wartośćWaitingForPlugin = 10
wartośćPluginBootstrap = 11
wartośćStartingWorld = 12
wartośćEnteringGameplay = 13
wartośćRunning = 14
wartośćProcessExited = 15
wartośćRestoring = 16
wartośćCleaningRuntime = 17
wartośćCompleted = 18
wartośćFailed = 19

SessionStatus#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorSessionStatus(Guid SessionId, SessionState State, IReadOnlyList<LaunchDiagnostic> Diagnostics, IReadOnlyList<RuntimeEvent> RuntimeEvents = null)
właściwośćGuid SessionId { get; init; }
właściwośćSessionState State { get; init; }
właściwośćIReadOnlyList<LaunchDiagnostic> Diagnostics { get; init; }
właściwośćIReadOnlyList<RuntimeEvent> RuntimeEvents { get; init; }

SplashMode#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćUnset = 0
wartośćNative = 0
wartośćManaged = 1

StartupHandoff#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorStartupHandoff(Guid SessionId, string BuildProfileId, WorldMode WorldMode, string MapIdentity, int PresentedEntrypointIndex, bool HeadlessStart, bool PlayerVehicleEnabled, DateTimeMode DateMode, DateTimeMode TimeMode, string EntrypointIdentity = "", string SituationIdentity = "")
właściwośćGuid SessionId { get; init; }
właściwośćstring BuildProfileId { get; init; }
właściwośćWorldMode WorldMode { get; init; }
właściwośćstring MapIdentity { get; init; }
właściwośćint PresentedEntrypointIndex { get; init; }
właściwośćbool HeadlessStart { get; init; }
właściwośćbool PlayerVehicleEnabled { get; init; }
właściwośćDateTimeMode DateMode { get; init; }
właściwośćDateTimeMode TimeMode { get; init; }
właściwośćstring EntrypointIdentity { get; init; }
właściwośćstring SituationIdentity { get; init; }

StartupHandoffWire#

Klasa statyczna w OmsiLaunch.Api. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
stałauint Magic = 1330402120
stałaushort Version = 4
metoda statycznabyte[] Serialize(StartupHandoff value)
metoda statycznabool TryDeserialize(ReadOnlySpan<byte> bytes, out StartupHandoff value)

TimeSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorTimeSpec(DateTimeMode Mode, OptionalValue<SemanticTime> Value)
właściwośćDateTimeMode Mode { get; init; }
właściwośćOptionalValue<SemanticTime> Value { get; init; }

WeatherMode#

Wyliczenie (byte) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćUnset = 0
wartośćPreset = 1
wartośćIcao = 2
wartośćRealCurrent = 3

WeatherSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorWeatherSpec(WeatherMode Mode, OptionalValue<string> Preset, OptionalValue<string> Icao)
właściwośćWeatherMode Mode { get; init; }
właściwośćOptionalValue<string> Preset { get; init; }
właściwośćOptionalValue<string> Icao { get; init; }

WorldMode#

Wyliczenie (int) w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
wartośćNewMap = 0
wartośćSavedSituation = 1
wartośćLastMapState = 2
wartośćLastSituation = 2

WorldSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: STABLE_BETA. Semantyka: launchspec.

SkładowaSygnatura
konstruktorWorldSpec(WorldMode Mode, OptionalValue<string> MapIdentity, OptionalValue<string> SituationIdentity, OptionalValue<int> PresentedEntrypointIndex, OptionalValue<string> EntrypointIdentity = default)
właściwośćWorldMode Mode { get; init; }
właściwośćOptionalValue<string> MapIdentity { get; init; }
właściwośćOptionalValue<string> SituationIdentity { get; init; }
właściwośćOptionalValue<int> PresentedEntrypointIndex { get; init; }
właściwośćOptionalValue<string> EntrypointIdentity { get; init; }
właściwośćEntrypointSpec Entrypoint { get; }

YearSpec#

Zapieczętowany rekord w OmsiLaunch.Api. Stabilność: PARTIAL. Semantyka: launchspec.

SkładowaSygnatura
konstruktorYearSpec(DateTimeMode Mode, OptionalValue<int> Value)
właściwośćDateTimeMode Mode { get; init; }
właściwośćOptionalValue<int> Value { get; init; }

OmsiLaunch.Core#

LaunchValidation#

Klasa statyczna w OmsiLaunch.Core. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
metoda statycznabool IsMapIdentity(string value)
metoda statycznaIReadOnlyList<LaunchDiagnostic> Validate(LaunchSpec spec)

OmsiLaunchRuntimePaths#

Zapieczętowany rekord w OmsiLaunch.Core. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorOmsiLaunchRuntimePaths(string PluginBuildDirectory, string NativeBridgePath, string ReleaseManifestPath = null)
właściwośćstring PluginBuildDirectory { get; init; }
właściwośćstring NativeBridgePath { get; init; }
właściwośćstring ReleaseManifestPath { get; init; }

OmsiLaunchService#

Zapieczętowana klasa w OmsiLaunch.Core. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorOmsiLaunchService(IRuntimePlatform platform, OmsiLaunchRuntimePaths runtimePaths)
metodaTask CloseAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<IReadOnlyList<ContentIdentity>> DiscoverAsync(InstallationSpec installation, ContentQueryKind query, OptionalValue<string> scope = default, CancellationToken cancellationToken = default)
metodaTask<RuntimeCommandResult> ExecuteRuntimeAsync(SessionHandle session, RuntimeCommand command, TimeSpan timeout, CancellationToken cancellationToken = default)
metodaTask<IReadOnlyList<Capability>> GetCapabilitiesAsync(InstallationSpec installation, CancellationToken cancellationToken = default)
metodaTask<SessionStatus> GetStatusAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<SessionPlan> PlanSessionAsync(LaunchSpec spec, CancellationToken cancellationToken = default)
metodaTask<RecoveryStatus> RecoverPendingAsync(InstallationSpec installation, bool restore, CancellationToken cancellationToken = default)
metodaTask<SessionHandle> StartSessionAsync(SessionPlan plan, CancellationToken cancellationToken = default)
metodaTask StopAsync(SessionHandle session, CancellationToken cancellationToken = default)
metodaTask<SessionStatus> WaitForAsync(SessionHandle session, SessionState state, TimeSpan timeout, CancellationToken cancellationToken = default)

ProfileNew#

Zapieczętowany rekord w OmsiLaunch.Core. Stabilność: EXPERIMENTAL. Semantyka: session-profiles.

SkładowaSygnatura
konstruktorProfileNew(string Map = null, int? EntrypointIndex = default, string EntrypointIdentity = null, SemanticDate Date = null, SemanticTime Time = null, int? Year = default, WeatherSpec Weather = null)
właściwośćstring Map { get; init; }
właściwośćint? EntrypointIndex { get; init; }
właściwośćstring EntrypointIdentity { get; init; }
właściwośćSemanticDate Date { get; init; }
właściwośćSemanticTime Time { get; init; }
właściwośćint? Year { get; init; }
właściwośćWeatherSpec Weather { get; init; }

ProfilePreset#

Zapieczętowany rekord w OmsiLaunch.Core. Stabilność: EXPERIMENTAL. Semantyka: session-profiles.

SkładowaSygnatura
konstruktorProfilePreset(int Index, string Id, string Name, IReadOnlyDictionary<string, string> Settings, SessionPresentationSpec Presentation, InternetTexturesSpec InternetTextures, LaunchBehaviorSpec Behavior)
właściwośćint Index { get; init; }
właściwośćstring Id { get; init; }
właściwośćstring Name { get; init; }
właściwośćIReadOnlyDictionary<string, string> Settings { get; init; }
właściwośćSessionPresentationSpec Presentation { get; init; }
właściwośćInternetTexturesSpec InternetTextures { get; init; }
właściwośćLaunchBehaviorSpec Behavior { get; init; }

SessionPlanner#

Zapieczętowana klasa w OmsiLaunch.Core. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorSessionPlanner(IRuntimePlatform platform)
metodaTask<SessionPlan> PlanAsync(LaunchSpec spec, CancellationToken cancellationToken = default)

SessionProfileCompiler#

Klasa statyczna w OmsiLaunch.Core. Stabilność: EXPERIMENTAL. Semantyka: session-profiles.

SkładowaSygnatura
stałastring Schema = "omsilaunch.session-profile/v1"
stałalong MaxBytes = 262144
pole statyczneIReadOnlyDictionary<string, IReadOnlyList<string>> SchemaKeys
metoda statycznaLaunchSpec Apply(SessionProfilePackage profile, LaunchSpec baseline, WorldMode selectedWorldMode)
metoda statycznaSessionProfilePackage Load(string installationRoot, string id, int presetIndex)
metoda statycznavoid ValidateCompatibility(SessionProfilePackage profile, string installationRoot, WorldSpec world, WorldMode mode)

SessionProfileException#

Zapieczętowana klasa w OmsiLaunch.Core. Stabilność: EXPERIMENTAL. Semantyka: session-profiles.

SkładowaSygnatura
konstruktorSessionProfileException(string code, string message)
właściwośćstring Code { get; }

SessionProfilePackage#

Zapieczętowany rekord w OmsiLaunch.Core. Stabilność: EXPERIMENTAL. Semantyka: session-profiles.

SkładowaSygnatura
konstruktorSessionProfilePackage(string RootPath, SessionProfileMetadata Metadata, IReadOnlyList<string> CompatibleMaps, ProfileNew New, ProfilePreset Preset)
właściwośćstring RootPath { get; init; }
właściwośćSessionProfileMetadata Metadata { get; init; }
właściwośćIReadOnlyList<string> CompatibleMaps { get; init; }
właściwośćProfileNew New { get; init; }
właściwośćProfilePreset Preset { get; init; }

OmsiLaunch.Process#

CurrentRuntimeCommandStore#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
właściwośćstring Name { get; }
właściwośćGuid SessionId { get; }
metoda statycznaCurrentRuntimeCommandStore Create(Guid sessionId)
metodavoid Dispose()
metodaTask<RuntimeCommandResult> RequestAsync(RuntimeCommand command, TimeSpan timeout, CancellationToken cancellationToken = default)

CurrentStartupHandoffStore#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
właściwośćstring Name { get; }
właściwośćGuid SessionId { get; }
metoda statycznaCurrentStartupHandoffStore Create(StartupHandoff handoff)
metodavoid Dispose()

CurrentTelemetryStore#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
właściwośćstring Name { get; }
metoda statycznaCurrentTelemetryStore Create(Guid sessionId)
metodavoid Dispose()
metodaValueTuple<int, string>? ReadLatest()

CurrentWindowsX64Platform#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
konstruktorCurrentWindowsX64Platform()
metodaRuntimePlatformInfo Detect(string root)
metodabool HasExited(LaunchedProcess p)
metodabool IsInstallationWritable(string root)
metodaTask<LaunchedProcess> StartAsync(StartupProcessRequest request, string executableSha256, CancellationToken cancellationToken)
metodavoid Terminate(LaunchedProcess p)
metodavoid ValidateCurrent(RuntimePlatformInfo p)
metodaTask WaitForExitAsync(LaunchedProcess process, CancellationToken token)

IOmsiProcessController#

Interfejs w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
metodaOmsiProcessState Observe()
metodaTask<int> StartAsync(string installation, CancellationToken cancellationToken = default)
metodaTask StopAsync(CancellationToken cancellationToken = default)

IRuntimePlatform#

Interfejs w OmsiLaunch.Process. Stabilność: STABLE_BETA. Semantyka: public-api.

SkładowaSygnatura
metodaRuntimePlatformInfo Detect(string installationRoot)
metodabool HasExited(LaunchedProcess process)
metodabool IsInstallationWritable(string installationRoot)
metodaTask<LaunchedProcess> StartAsync(StartupProcessRequest request, string executableSha256, CancellationToken cancellationToken)
metodavoid Terminate(LaunchedProcess process)
metodavoid ValidateCurrent(RuntimePlatformInfo platform)
metodaTask WaitForExitAsync(LaunchedProcess process, CancellationToken cancellationToken)

InstallationLease#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
metoda statycznaInstallationLease Acquire(string installationRoot)
metodavoid Dispose()
metoda statycznastring NormalizeRoot(string installationRoot)

LaunchedProcess#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
właściwośćint ProcessId { get; }
właściwośćint ThreadId { get; }
właściwośćProcessIdentity Identity { get; }
metodavoid Dispose()

OmsiProcessState#

Zapieczętowany rekord w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorOmsiProcessState(string State, int? ProcessId, bool Responding)
właściwośćstring State { get; init; }
właściwośćint? ProcessId { get; init; }
właściwośćbool Responding { get; init; }

ProcessIdentity#

Zapieczętowany rekord w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorProcessIdentity(int ProcessId, DateTimeOffset CreationTimeUtc, string ExecutablePath, string ExecutableSha256)
właściwośćint ProcessId { get; init; }
właściwośćDateTimeOffset CreationTimeUtc { get; init; }
właściwośćstring ExecutablePath { get; init; }
właściwośćstring ExecutableSha256 { get; init; }

ReleaseManifest#

Klasa statyczna w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
stałastring FileName = "release-manifest.json"
metoda statycznaIReadOnlyDictionary<string, string> ParsePluginHashes(byte[] bytes)
metoda statycznaIReadOnlyDictionary<string, string> TryReadPluginHashes(string manifestPath)

RuntimeArtifact#

Zapieczętowany rekord w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorRuntimeArtifact(string SourcePath, string DestinationRelativePath, string Sha256, long Size)
właściwośćstring SourcePath { get; init; }
właściwośćstring DestinationRelativePath { get; init; }
właściwośćstring Sha256 { get; init; }
właściwośćlong Size { get; init; }

RuntimeArtifactSet#

Zapieczętowana klasa w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
właściwośćIReadOnlyList<RuntimeArtifact> Artifacts { get; }
właściwośćIReadOnlyDictionary<string, string> ExpectedHashes { get; }
właściwośćstring IntegrityReference { get; }
metoda statycznaRuntimeArtifactSet Load(string pluginBuildDirectory, string nativeBuildPath, IReadOnlyDictionary<string, string> expectedHashes = null)
metodavoid ValidateInstalled(string installationRoot)

StartupProcessRequest#

Zapieczętowany rekord w OmsiLaunch.Process. Stabilność: INTERNAL. Semantyka: public-api.

SkładowaSygnatura
konstruktorStartupProcessRequest(string ExecutablePath, string WorkingDirectory, IReadOnlyDictionary<string, string> Environment)
właściwośćstring ExecutablePath { get; init; }
właściwośćstring WorkingDirectory { get; init; }
właściwośćIReadOnlyDictionary<string, string> Environment { get; init; }