Show / Hide Table of Contents

Class UserInterfaceManager

Manages a stack of user interface windows. Provides a simple window messaging system for passing information and events via string.

Inheritance
Object
UserInterfaceManager
Implements
IUserInterfaceManager
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class UserInterfaceManager : IUserInterfaceManager

Constructors

| Improve this Doc View Source

UserInterfaceManager()

Constructor.

Declaration
public UserInterfaceManager()

Properties

| Improve this Doc View Source

MessageCount

Number of messages in stack.

Declaration
public int MessageCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

TopWindow

Peeks window at top of stack.

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

WindowCount

Number of windows in stack (not including HUD)

Declaration
public int WindowCount { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

BuildParamDict(String)

Builds a parameter dictionary from message string.

Declaration
public static Dictionary<string, string> BuildParamDict(string message)
Parameters
Type Name Description
String message
Returns
Type Description
Dictionary<String, String>
| Improve this Doc View Source

ChangeWindow(IUserInterfaceWindow)

Replace entire stack with a new window.

Declaration
public void ChangeWindow(IUserInterfaceWindow window)
Parameters
Type Name Description
IUserInterfaceWindow window

New window.

| Improve this Doc View Source

ContainsWindow(IUserInterfaceWindow)

Checks stack for a specific window.

Declaration
public bool ContainsWindow(IUserInterfaceWindow window)
Parameters
Type Name Description
IUserInterfaceWindow window

Window to look for.

Returns
Type Description
Boolean

True if window exists on stack.

| Improve this Doc View Source

GetMessage()

Get message at front of queue and remove message.

Declaration
public string GetMessage()
Returns
Type Description
String
| Improve this Doc View Source

PeekMessage()

Peek message at front of queue without removing.

Declaration
public string PeekMessage()
Returns
Type Description
String
| Improve this Doc View Source

PopWindow()

Pop a window from the stack.

Declaration
public void PopWindow()
| Improve this Doc View Source

PostMessage(String)

Post message to end of queue.

Declaration
public void PostMessage(string message)
Parameters
Type Name Description
String message
| Improve this Doc View Source

PushWindow(IUserInterfaceWindow)

Push a new window onto the stack.

Declaration
public void PushWindow(IUserInterfaceWindow window)
Parameters
Type Name Description
IUserInterfaceWindow window

New window.

Events

| Improve this Doc View Source

OnWindowChange

Declaration
public event EventHandler OnWindowChange
Event Type
Type Description
EventHandler

Implements

IUserInterfaceManager
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX