WatchYourStepView

@available(macOS 10.15, *)
struct WatchYourStepView : View

A view that handles the “Watch Your Step” DLC content, including IAP.

  • A closure that executes when the DLC content starts.

    Declaration

    Swift

    var onStartDLCContent: () -> Void
  • A closure that executes when the dialog is dismissed.

    Declaration

    Swift

    var onDismiss: () -> Void
  • Whether the DLC is available, or if it needs to be purchased.

    Declaration

    Swift

    @State
    var dlcIsAvailable: Bool { get nonmutating set }
  • The main structure of the view.

    Declaration

    Swift

    var body: some View { get }
  • Purchase the DLC.

    Declaration

    Swift

    func purchase()