Show / Hide Table of Contents

Class DaggerfallRestWindow

Inheritance
Object
UserInterfaceWindow
DaggerfallBaseWindow
DaggerfallPopupWindow
DaggerfallRestWindow
Implements
IUserInterfaceWindow
Inherited Members
DaggerfallPopupWindow.ScreenDimColor
DaggerfallPopupWindow.AllowCancel
DaggerfallPopupWindow.Cancelled
DaggerfallPopupWindow.PreviousWindow
DaggerfallPopupWindow.CancelWindow()
DaggerfallPopupWindow.OnCancel
DaggerfallBaseWindow.exitKey
DaggerfallBaseWindow.defaultToolTip
DaggerfallBaseWindow.allowFreeScaling
DaggerfallBaseWindow.DaggerfallUnity
DaggerfallBaseWindow.IsSetup
DaggerfallBaseWindow.NativePanel
UserInterfaceWindow.parentPanel
UserInterfaceWindow.uiManager
UserInterfaceWindow.enabled
UserInterfaceWindow.pauseWhileOpened
UserInterfaceWindow.focusControl
UserInterfaceWindow.Value
UserInterfaceWindow.Enabled
UserInterfaceWindow.ParentPanel
UserInterfaceWindow.FocusControl
UserInterfaceWindow.ProcessMessages()
UserInterfaceWindow.OnReturn()
UserInterfaceWindow.CloseWindow()
UserInterfaceWindow.PopWindow()
UserInterfaceWindow.PauseWhileOpen
UserInterfaceWindow.SetFocus(BaseScreenComponent)
UserInterfaceWindow.OnClose
UserInterfaceWindow.RaiseOnCloseHandler()
Namespace: DaggerfallWorkshop.Game.UserInterfaceWindows
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallRestWindow : DaggerfallPopupWindow, IUserInterfaceWindow

Constructors

| Improve this Doc View Source

DaggerfallRestWindow(IUserInterfaceManager, Boolean)

Declaration
public DaggerfallRestWindow(IUserInterfaceManager uiManager, bool ignoreAllocatedBed = false)
Parameters
Type Name Description
IUserInterfaceManager uiManager
Boolean ignoreAllocatedBed

Fields

| Improve this Doc View Source

abortRestForEnemySpawn

Declaration
protected bool abortRestForEnemySpawn
Field Value
Type Description
Boolean
| Improve this Doc View Source

allocatedBed

Declaration
protected Vector3 allocatedBed
Field Value
Type Description
Vector3
| Improve this Doc View Source

baseTexture

Declaration
protected Texture2D baseTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

baseTextureName

Declaration
protected const string baseTextureName = "REST00I0.IMG"
Field Value
Type Description
String
| Improve this Doc View Source

cityCampingIllegal

Declaration
protected const int cityCampingIllegal = 17
Field Value
Type Description
Int32
| Improve this Doc View Source

counterLabel

Declaration
protected TextLabel counterLabel
Field Value
Type Description
TextLabel
| Improve this Doc View Source

counterPanel

Declaration
protected Panel counterPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

endedRest

Declaration
protected bool endedRest
Field Value
Type Description
Boolean
| Improve this Doc View Source

enemyBrokeRest

Declaration
protected bool enemyBrokeRest
Field Value
Type Description
Boolean
| Improve this Doc View Source

healedButton

Declaration
protected Button healedButton
Field Value
Type Description
Button
| Improve this Doc View Source

hoursPastTexture

Declaration
protected Texture2D hoursPastTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

hoursPastTextureName

Declaration
protected const string hoursPastTextureName = "REST01I0.IMG"
Field Value
Type Description
String
| Improve this Doc View Source

hoursRemaining

Declaration
protected int hoursRemaining
Field Value
Type Description
Int32
| Improve this Doc View Source

hoursRemainingTexture

Declaration
protected Texture2D hoursRemainingTexture
Field Value
Type Description
Texture2D
| Improve this Doc View Source

hoursRemainingTextureName

Declaration
protected const string hoursRemainingTextureName = "REST02I0.IMG"
Field Value
Type Description
String
| Improve this Doc View Source

hud

Declaration
protected DaggerfallHUD hud
Field Value
Type Description
DaggerfallHUD
| Improve this Doc View Source

ignoreAllocatedBed

Declaration
protected bool ignoreAllocatedBed
Field Value
Type Description
Boolean
| Improve this Doc View Source

loiterButton

Declaration
protected Button loiterButton
Field Value
Type Description
Button
| Improve this Doc View Source

loiterWaitTimePerHour

Declaration
protected const float loiterWaitTimePerHour = 1.25F
Field Value
Type Description
Single
| Improve this Doc View Source

mainPanel

Declaration
protected Panel mainPanel
Field Value
Type Description
Panel
| Improve this Doc View Source

minutesOfHour

Declaration
protected int minutesOfHour
Field Value
Type Description
Int32
| Improve this Doc View Source

minutesPerTick

Declaration
protected const int minutesPerTick = 10
Field Value
Type Description
Int32
| Improve this Doc View Source

playerEntity

Declaration
protected PlayerEntity playerEntity
Field Value
Type Description
PlayerEntity
| Improve this Doc View Source

preventedRestMessage

Declaration
protected string preventedRestMessage
Field Value
Type Description
String
| Improve this Doc View Source

remainingHoursRented

Declaration
protected int remainingHoursRented
Field Value
Type Description
Int32
| Improve this Doc View Source

restWaitTimePerHour

Declaration
protected const float restWaitTimePerHour = 0.75F
Field Value
Type Description
Single
| Improve this Doc View Source

stopButton

Declaration
protected Button stopButton
Field Value
Type Description
Button
| Improve this Doc View Source

toggleClosedBinding

Declaration
protected KeyCode toggleClosedBinding
Field Value
Type Description
KeyCode
| Improve this Doc View Source

totalHours

Declaration
protected int totalHours
Field Value
Type Description
Int32
| Improve this Doc View Source

waitTimer

Declaration
protected float waitTimer
Field Value
Type Description
Single
| Improve this Doc View Source

whileButton

Declaration
protected Button whileButton
Field Value
Type Description
Button

Properties

| Improve this Doc View Source

currentRestMode

Declaration
protected DaggerfallRestWindow.RestModes currentRestMode { get; set; }
Property Value
Type Description
DaggerfallRestWindow.RestModes

Methods

| Improve this Doc View Source

AbortRestForEnemySpawn()

Manually abort rest for enemy spawn.

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

Draw()

Declaration
public override void Draw()
Overrides
DaggerfallPopupWindow.Draw()
| Improve this Doc View Source

OnPop()

Declaration
public override void OnPop()
Overrides
UserInterfaceWindow.OnPop()
| Improve this Doc View Source

OnPush()

Declaration
public override void OnPush()
Overrides
UserInterfaceWindow.OnPush()
| Improve this Doc View Source

Setup()

Declaration
protected override void Setup()
Overrides
DaggerfallPopupWindow.Setup()
| Improve this Doc View Source

StopButton_OnKeyboardEvent(BaseScreenComponent, Event)

Declaration
protected void StopButton_OnKeyboardEvent(BaseScreenComponent sender, Event keyboardEvent)
Parameters
Type Name Description
BaseScreenComponent sender
Event keyboardEvent
| Improve this Doc View Source

Update()

Declaration
public override void Update()
Overrides
DaggerfallPopupWindow.Update()

Events

| Improve this Doc View Source

OnSleepEnd

Declaration
public static event DaggerfallRestWindow.OnSleepEndEventHandler OnSleepEnd
Event Type
Type Description
DaggerfallRestWindow.OnSleepEndEventHandler
| Improve this Doc View Source

OnSleepTick

Declaration
public static event DaggerfallRestWindow.OnOnSleepTickEventHandler OnSleepTick
Event Type
Type Description
DaggerfallRestWindow.OnOnSleepTickEventHandler

Implements

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