Interface

IAircraftIdentity

USI.Core

Simulator-neutral identity and configuration of the currently loaded user aircraft.

public interface IAircraftIdentity

Methods

TryGetAtcAircraftNameAsync

public Task<USIResult<String>> TryGetAtcAircraftNameAsync()

Gets the aircraft name used by simulator-managed ATC.

TryGetAtcAircraftTypeNameAsync

public Task<USIResult<String>> TryGetAtcAircraftTypeNameAsync()

Gets the aircraft type name spoken by simulator-managed ATC.

TryGetAtcAirlineNameAsync

public Task<USIResult<String>> TryGetAtcAirlineNameAsync()

Gets the airline name used by simulator-managed ATC.

TryGetAtcHeavyClassificationAsync

public Task<USIResult<Boolean>> TryGetAtcHeavyClassificationAsync()

Gets whether simulator-managed ATC classifies the aircraft as heavy.

TryGetClassificationsAsync

public Task<USIResult<AircraftClassification>> TryGetClassificationsAsync()

Gets all provider-authored classifications of the aircraft.

TryGetCreatorNameAsync

public Task<USIResult<String>> TryGetCreatorNameAsync()

TryGetDescriptionAsync

public Task<USIResult<String>> TryGetDescriptionAsync()

TryGetDisplayNameAsync

public Task<USIResult<String>> TryGetDisplayNameAsync()

TryGetEngineCountAsync

public Task<USIResult<Int32>> TryGetEngineCountAsync()

TryGetInteriorAvatarHiddenAsync

public Task<USIResult<Boolean>> TryGetInteriorAvatarHiddenAsync()

Gets whether the loaded aircraft configuration hides the simulator's avatar while the avatar is inside the aircraft.

TryGetLiveryNameAsync

public Task<USIResult<String>> TryGetLiveryNameAsync()

Gets the human-readable name of the currently selected aircraft livery without exposing its provider-native path or index.

TryGetModeSAddressAsync

public Task<USIResult<String>> TryGetModeSAddressAsync()

Gets the loaded airframe's 24-bit Mode S/ADS-B address as six uppercase hexadecimal characters.

TryGetNotesAsync

public Task<USIResult<String>> TryGetNotesAsync()

Gets optional notes authored for the loaded aircraft asset.

TryGetRegistrationAsync

public Task<USIResult<String>> TryGetRegistrationAsync()

TryGetTypeDesignatorAsync

public Task<USIResult<String>> TryGetTypeDesignatorAsync()

TrySelectNextLiveryAsync

public Task<USIResult> TrySelectNextLiveryAsync()

Selects the next livery in the simulator's own ordering.

TrySelectPreviousLiveryAsync

public Task<USIResult> TrySelectPreviousLiveryAsync()

Selects the previous livery in the simulator's own ordering.

TrySetAtcAirlineNameAsync

public Task<USIResult> TrySetAtcAirlineNameAsync(string airlineName)

Sets the airline name used by simulator-managed ATC.

TrySetAtcHeavyClassificationAsync

public Task<USIResult> TrySetAtcHeavyClassificationAsync(bool heavy)

Sets whether simulator-managed ATC classifies the aircraft as heavy.