Show / Hide Table of Contents

Class DaggerfallCourtWindow

Implements popup window for when player is in court for a crime.

Inheritance
Object
UserInterfaceWindow
DaggerfallBaseWindow
DaggerfallPopupWindow
DaggerfallCourtWindow
Implements
IUserInterfaceWindow
Inherited Members
DaggerfallPopupWindow.ScreenDimColor
DaggerfallPopupWindow.AllowCancel
DaggerfallPopupWindow.Cancelled
DaggerfallPopupWindow.PreviousWindow
DaggerfallPopupWindow.Draw()
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.OnPush()
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 DaggerfallCourtWindow : DaggerfallPopupWindow, IUserInterfaceWindow

Constructors

| Improve this Doc View Source

DaggerfallCourtWindow(IUserInterfaceManager, IUserInterfaceWindow)

Declaration
public DaggerfallCourtWindow(IUserInterfaceManager uiManager, IUserInterfaceWindow previousWindow = null)
Parameters
Type Name Description
IUserInterfaceManager uiManager
IUserInterfaceWindow previousWindow

Fields

| Improve this Doc View Source

BasePenaltyAmounts

Declaration
protected short[] BasePenaltyAmounts
Field Value
Type Description
Int16[]
| Improve this Doc View Source

courtPanel

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

courtTextBanished

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

courtTextDB

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

courtTextExecuted

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

courtTextFoundGuilty

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

courtTextFreeToGo

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

courtTextHowConvince

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

courtTextStart

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

courtTextTG

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

daysInPrison

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

daysInPrisonLeft

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

daysUntilFreedomLabel

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

fine

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

MaximumPenaltyAmounts

Declaration
protected short[] MaximumPenaltyAmounts
Field Value
Type Description
Int16[]
| Improve this Doc View Source

MinimumPenaltyAmounts

Declaration
protected short[] MinimumPenaltyAmounts
Field Value
Type Description
Int16[]
| Improve this Doc View Source

nativeImgName

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

nativeImgName2

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

nativeTexture

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

PenaltyPerLegalRepPoint

Declaration
protected byte[] PenaltyPerLegalRepPoint
Field Value
Type Description
Byte[]
| Improve this Doc View Source

playerEntity

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

prisonUpdateInterval

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

prisonUpdateTimer

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

punishmentType

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

regionIndex

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

repositionPlayer

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

state

Declaration
protected int state
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

DaysInPrison

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

Fine

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

PunishmentType

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

Methods

| Improve this Doc View Source

DebateLie_OnButtonClick(DaggerfallMessageBox, DaggerfallMessageBox.MessageBoxButtons)

Declaration
protected virtual void DebateLie_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
Parameters
Type Name Description
DaggerfallMessageBox sender
DaggerfallMessageBox.MessageBoxButtons messageBoxButton
| Improve this Doc View Source

GuiltyNotGuilty_OnButtonClick(DaggerfallMessageBox, DaggerfallMessageBox.MessageBoxButtons)

Declaration
protected virtual void GuiltyNotGuilty_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
Parameters
Type Name Description
DaggerfallMessageBox sender
DaggerfallMessageBox.MessageBoxButtons messageBoxButton
| Improve this Doc View Source

HandleCourtLogic()

Declaration
protected virtual void HandleCourtLogic()
| Improve this Doc View Source

OnPop()

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

PositionPlayerAtLocationEntrance()

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

RaiseOnCourtScreenEvent()

Declaration
protected virtual void RaiseOnCourtScreenEvent()
| Improve this Doc View Source

RaiseOnEndPrisonTimeEvent()

Declaration
protected virtual void RaiseOnEndPrisonTimeEvent()
| Improve this Doc View Source

ReleaseFromPrison()

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

Setup()

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

SwitchToPrisonScreen()

Declaration
protected virtual void SwitchToPrisonScreen()
| Improve this Doc View Source

Update()

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

UpdatePrisonScreen()

Declaration
public void UpdatePrisonScreen()

Events

| Improve this Doc View Source

OnCourtScreen

Declaration
public static event DaggerfallCourtWindow.OnCourtScreenEventHandler OnCourtScreen
Event Type
Type Description
DaggerfallCourtWindow.OnCourtScreenEventHandler
| Improve this Doc View Source

OnEndPrisonTime

Declaration
public static event DaggerfallCourtWindow.OnCourtScreenEventHandler OnEndPrisonTime
Event Type
Type Description
DaggerfallCourtWindow.OnCourtScreenEventHandler

Implements

IUserInterfaceWindow
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DaggerfallCourtWindow(IUserInterfaceManager, IUserInterfaceWindow)
  • Fields
    • BasePenaltyAmounts
    • courtPanel
    • courtTextBanished
    • courtTextDB
    • courtTextExecuted
    • courtTextFoundGuilty
    • courtTextFreeToGo
    • courtTextHowConvince
    • courtTextStart
    • courtTextTG
    • daysInPrison
    • daysInPrisonLeft
    • daysUntilFreedomLabel
    • fine
    • MaximumPenaltyAmounts
    • MinimumPenaltyAmounts
    • nativeImgName
    • nativeImgName2
    • nativeTexture
    • PenaltyPerLegalRepPoint
    • playerEntity
    • prisonUpdateInterval
    • prisonUpdateTimer
    • punishmentType
    • regionIndex
    • repositionPlayer
    • state
  • Properties
    • DaysInPrison
    • Fine
    • PunishmentType
  • Methods
    • DebateLie_OnButtonClick(DaggerfallMessageBox, DaggerfallMessageBox.MessageBoxButtons)
    • GuiltyNotGuilty_OnButtonClick(DaggerfallMessageBox, DaggerfallMessageBox.MessageBoxButtons)
    • HandleCourtLogic()
    • OnPop()
    • PositionPlayerAtLocationEntrance()
    • RaiseOnCourtScreenEvent()
    • RaiseOnEndPrisonTimeEvent()
    • ReleaseFromPrison()
    • Setup()
    • SwitchToPrisonScreen()
    • Update()
    • UpdatePrisonScreen()
  • Events
    • OnCourtScreen
    • OnEndPrisonTime
  • Implements
Back to top Generated by DocFX