Table of Contents

Struct ModalHandle

Namespace
Uncreated.Warfare.Players
Assembly
Uncreated.Warfare.dll

Allows for multiple UI's to be open at once that require the modal active without clearing each other.

public struct ModalHandle : IDisposable
Implements
Inherited Members

Constructors

ModalHandle(WarfarePlayer)

Allows for multiple UI's to be open at once that require the modal active without clearing each other.

public ModalHandle(WarfarePlayer player)

Parameters

player WarfarePlayer

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

TryGetModalHandle(WarfarePlayer, ref ModalHandle)

public static void TryGetModalHandle(WarfarePlayer player, ref ModalHandle modal)

Parameters

player WarfarePlayer
modal ModalHandle