Class DaggerfallSpellBookWindow
Spellbook UI for both casting spells and purchasing spells from guilds.
Inheritance
DaggerfallSpellBookWindow
Assembly: Assembly-CSharp.dll
Syntax
public class DaggerfallSpellBookWindow : DaggerfallPopupWindow, IUserInterfaceWindow, IMacroContextProvider
Constructors
|
Improve this Doc
View Source
DaggerfallSpellBookWindow(IUserInterfaceManager, DaggerfallBaseWindow, Boolean)
Declaration
public DaggerfallSpellBookWindow(IUserInterfaceManager uiManager, DaggerfallBaseWindow previous = null, bool buyMode = false)
Parameters
Fields
|
Improve this Doc
View Source
buildingDiscoveryData
Declaration
protected PlayerGPS.DiscoveredBuilding buildingDiscoveryData
Field Value
|
Improve this Doc
View Source
Declaration
protected Button buyButton
Field Value
|
Improve this Doc
View Source
buyMode
Declaration
Field Value
|
Improve this Doc
View Source
closeSpellBook
Declaration
protected const SoundClips closeSpellBook = SoundClips.PageTurn
Field Value
|
Improve this Doc
View Source
Declaration
protected Button deleteButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect deleteOrBuyButtonRect
Field Value
|
Improve this Doc
View Source
deleteSpellIndex
Declaration
protected int deleteSpellIndex
Field Value
|
Improve this Doc
View Source
Declaration
protected Button downArrowButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect downArrowButtonRect
Field Value
|
Improve this Doc
View Source
Declaration
protected Button downButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect downButtonRect
Field Value
|
Improve this Doc
View Source
editSpellBook
Declaration
protected const SoundClips editSpellBook = SoundClips.PageTurn
Field Value
|
Improve this Doc
View Source
effect1PanelRect
Declaration
protected Rect effect1PanelRect
Field Value
|
Improve this Doc
View Source
effect2PanelRect
Declaration
protected Rect effect2PanelRect
Field Value
|
Improve this Doc
View Source
effect3PanelRect
Declaration
protected Rect effect3PanelRect
Field Value
|
Improve this Doc
View Source
Declaration
protected Button exitButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect exitButtonRect
Field Value
|
Improve this Doc
View Source
goldLabel
Declaration
protected TextLabel goldLabel
Field Value
|
Improve this Doc
View Source
goldLabelPos
Declaration
protected Vector2 goldLabelPos
Field Value
|
Improve this Doc
View Source
iconPicker
Declaration
protected SpellIconPickerWindow iconPicker
Field Value
|
Improve this Doc
View Source
isCloseWindowDeferred
Declaration
protected bool isCloseWindowDeferred
Field Value
|
Improve this Doc
View Source
mainPanel
Declaration
protected Panel mainPanel
Field Value
|
Improve this Doc
View Source
mainPanelRect
Declaration
protected Rect mainPanelRect
Field Value
|
Improve this Doc
View Source
noSpellBook
Declaration
protected const int noSpellBook = 1703
Field Value
|
Improve this Doc
View Source
offeredSpells
Declaration
protected List<EffectBundleSettings> offeredSpells
Field Value
|
Improve this Doc
View Source
openSpellBook
Declaration
protected const SoundClips openSpellBook = SoundClips.OpenBook
Field Value
|
Improve this Doc
View Source
openSpellBookBuyMode
Declaration
protected const SoundClips openSpellBookBuyMode = SoundClips.ButtonClick
Field Value
|
Improve this Doc
View Source
presentedCost
Declaration
protected int presentedCost
Field Value
|
Improve this Doc
View Source
renamedSpellSettings
Declaration
protected EffectBundleSettings renamedSpellSettings
Field Value
|
Improve this Doc
View Source
Declaration
protected Button sortButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect sortButtonRect
Field Value
|
Improve this Doc
View Source
spellBookBuyModeTextureFilename
Declaration
protected const string spellBookBuyModeTextureFilename = "SPBK01I0.IMG"
Field Value
|
Improve this Doc
View Source
spellBookTextureFilename
Declaration
protected const string spellBookTextureFilename = "SPBK00I0.IMG"
Field Value
|
Improve this Doc
View Source
spellCostLabel
Declaration
protected TextLabel spellCostLabel
Field Value
|
Improve this Doc
View Source
spellCostLabelPos
Declaration
protected Vector2 spellCostLabelPos
Field Value
|
Improve this Doc
View Source
spellEffectLabels
Declaration
protected TextLabel[] spellEffectLabels
Field Value
|
Improve this Doc
View Source
spellElementIconPanel
Declaration
protected Panel spellElementIconPanel
Field Value
|
Improve this Doc
View Source
spellElementIconPanelRect
Declaration
protected Rect spellElementIconPanelRect
Field Value
|
Improve this Doc
View Source
spellIconPanel
Declaration
protected Panel spellIconPanel
Field Value
|
Improve this Doc
View Source
spellIconPanelRect
Declaration
protected Rect spellIconPanelRect
Field Value
|
Improve this Doc
View Source
spellNameLabel
Declaration
protected TextLabel spellNameLabel
Field Value
|
Improve this Doc
View Source
spellNameLabelPos
Declaration
protected Vector2 spellNameLabelPos
Field Value
|
Improve this Doc
View Source
spellPointsLabel
Declaration
protected TextLabel spellPointsLabel
Field Value
|
Improve this Doc
View Source
spellPointsLabelPos
Declaration
protected Vector2 spellPointsLabelPos
Field Value
|
Improve this Doc
View Source
spellsFilename
Declaration
protected const string spellsFilename = "SPELLS.STD"
Field Value
|
Improve this Doc
View Source
spellsListBox
Declaration
protected ListBox spellsListBox
Field Value
|
Improve this Doc
View Source
spellsListBoxRect
Declaration
protected Rect spellsListBoxRect
Field Value
|
Improve this Doc
View Source
Declaration
protected VerticalScrollBar spellsListScrollBar
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect spellsListScrollBarRect
Field Value
|
Improve this Doc
View Source
spellTargetIconPanel
Declaration
protected Panel spellTargetIconPanel
Field Value
|
Improve this Doc
View Source
spellTargetPanelRect
Declaration
protected Rect spellTargetPanelRect
Field Value
|
Improve this Doc
View Source
toggleClosedBinding
Declaration
protected KeyCode toggleClosedBinding
Field Value
|
Improve this Doc
View Source
Declaration
protected Button upArrowButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect upArrowButtonRect
Field Value
|
Improve this Doc
View Source
Declaration
protected Button upButton
Field Value
|
Improve this Doc
View Source
Declaration
protected Rect upButtonRect
Field Value
Methods
|
Improve this Doc
View Source
Declaration
protected virtual void BuyButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
ClearEffectLabels()
Declaration
protected virtual void ClearEffectLabels()
|
Improve this Doc
View Source
Declaration
protected virtual void ConfirmTrade_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void DeleteButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void DeleteSpellConfirm_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void DownArrowButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void ExitButton_OnKeyboardEvent(BaseScreenComponent sender, Event keyboardEvent)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void ExitButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
GetEffectLabels(Int32)
Declaration
protected virtual TextLabel[] GetEffectLabels(int panelIndex)
Parameters
Type |
Name |
Description |
Int32 |
panelIndex |
|
Returns
|
Improve this Doc
View Source
GetElementDescription(ElementTypes)
Declaration
protected virtual string GetElementDescription(ElementTypes elementType)
Parameters
Returns
|
Improve this Doc
View Source
GetMacroDataSource()
Declaration
public MacroDataSource GetMacroDataSource()
Returns
|
Improve this Doc
View Source
GetSpellElementIcon(ElementTypes)
Declaration
protected virtual Texture2D GetSpellElementIcon(ElementTypes elementType)
Parameters
Returns
|
Improve this Doc
View Source
GetSpellIcon(SpellIcon)
Declaration
protected virtual Texture2D GetSpellIcon(SpellIcon icon)
Parameters
Returns
|
Improve this Doc
View Source
GetSpellTargetIcon(TargetTypes)
Declaration
protected virtual Texture2D GetSpellTargetIcon(TargetTypes targetType)
Parameters
Returns
|
Improve this Doc
View Source
GetTargetTypeDescription(TargetTypes)
Declaration
protected virtual string GetTargetTypeDescription(TargetTypes targetType)
Parameters
Returns
|
Improve this Doc
View Source
GetTradePrice()
Declaration
protected virtual int GetTradePrice()
Returns
|
Improve this Doc
View Source
IconPicker_OnClose()
Declaration
protected virtual void IconPicker_OnClose()
|
Improve this Doc
View Source
LoadSpellsForSale()
Declaration
protected virtual void LoadSpellsForSale()
|
Improve this Doc
View Source
LoadTextures()
Declaration
protected virtual void LoadTextures()
|
Improve this Doc
View Source
OnPop()
Declaration
public override void OnPop()
Overrides
|
Improve this Doc
View Source
OnPush()
Declaration
public override void OnPush()
Overrides
|
Improve this Doc
View Source
PopulateSpellsList(List<EffectBundleSettings>, Nullable<Int32>)
Declaration
protected virtual void PopulateSpellsList(List<EffectBundleSettings> spells, int? availableSpellPoints = null)
Parameters
|
Improve this Doc
View Source
RefreshSpellsList(Boolean)
Declaration
protected virtual void RefreshSpellsList(bool preservePosition)
Parameters
Type |
Name |
Description |
Boolean |
preservePosition |
|
|
Improve this Doc
View Source
Declaration
public void RenameSpellPromptHandler(DaggerfallInputMessageBox sender, string input)
Parameters
|
Improve this Doc
View Source
SetDefaults()
Declaration
protected virtual void SetDefaults()
|
Improve this Doc
View Source
SetEffectLabels(String, Int32)
Declaration
protected virtual void SetEffectLabels(string key, int effectIndex)
Parameters
|
Improve this Doc
View Source
Setup()
Declaration
protected override void Setup()
Overrides
|
Improve this Doc
View Source
Declaration
protected virtual void SetupButtons()
|
Improve this Doc
View Source
SetupIcons()
Declaration
protected virtual void SetupIcons()
|
Improve this Doc
View Source
SetupLabels()
Declaration
protected virtual void SetupLabels()
|
Improve this Doc
View Source
SetupMain()
Declaration
protected virtual void SetupMain()
|
Improve this Doc
View Source
ShowEffectPopup(IEntityEffect)
Declaration
protected virtual void ShowEffectPopup(IEntityEffect effect)
Parameters
|
Improve this Doc
View Source
ShowIcons(Boolean)
Declaration
protected virtual void ShowIcons(bool show)
Parameters
|
Improve this Doc
View Source
Declaration
public void SortButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void SortSpellsConfirm_OnButtonClick(DaggerfallMessageBox sender, DaggerfallMessageBox.MessageBoxButtons messageBoxButton)
Parameters
|
Improve this Doc
View Source
SpellEffectPanelClick(BaseScreenComponent, Vector2)
Declaration
protected virtual void SpellEffectPanelClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
SpellIconPanel_OnMouseClick(BaseScreenComponent, Vector2)
Declaration
protected virtual void SpellIconPanel_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
SpellNameLabel_OnMouseClick(BaseScreenComponent, Vector2)
Declaration
public void SpellNameLabel_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void SpellsListBox_OnMouseScroll(BaseScreenComponent sender)
Parameters
|
Improve this Doc
View Source
SpellsListBox_OnSelectItem()
Declaration
protected virtual void SpellsListBox_OnSelectItem()
|
Improve this Doc
View Source
SpellsListBox_OnUseSelectedItem()
Declaration
protected virtual void SpellsListBox_OnUseSelectedItem()
|
Improve this Doc
View Source
Declaration
protected virtual void SpellsListScrollBar_OnScroll()
|
Improve this Doc
View Source
Declaration
protected virtual void SwapButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void UpArrowButton_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Update()
Declaration
public override void Update()
Overrides
|
Improve this Doc
View Source
UpdateGold()
Declaration
protected virtual void UpdateGold()
|
Improve this Doc
View Source
UpdateSelection()
Declaration
protected virtual void UpdateSelection()
Implements