Candide.CandideUI.Hotbar.HotBarWindow
Type JSONpublic class in Candide.CandideUI.Hotbar
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.Hotbar - Base type
Candide.CandideUI.Containers.CandideWindow - Hash
22D8A7508E78A955C378FF6270BA35B8D9A18806ADBA0F1C67C3C4B0CA82BCAA
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
Slots# | public | public System.Int32 Slots |
_controllerEnabled# | private | private System.Boolean _controllerEnabled |
_grid# | private | private Candide.CandideUI.Containers.CandidePanel _grid |
_hotBarSlots# | private | private Candide.Entities.PlayerState.HotBarSlot[] _hotBarSlots |
_initialized# | private | private System.Boolean _initialized |
_slots# | private | private Candide.CandideUI.Components.Holder.CandideHotBarSlot[] _slots |
Methods
BuildUi
#
private System.Void BuildUi()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8936C7BC7AA7D102B211E0BD71BE9142950A15DC5D65A1B015735488F7254682 - Body hash
A4A26F1C7315BCA80E7864FE9ABFC8D014D8B0C0FFF80DA80342D2A4CB44AA88 - IL size471
Referenced calls
Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.CandideUI.CandideUiContainerMultipleItems::ClearChildren()Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)Candide.CandideUI.CandideUiElement::set_VerticalAlignment(Candide.CandideUI.VerticalAlignment)Candide.CandideUI.CandideThickness::.ctor(System.Int32, System.Int32)Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)System.Nullable<System.Int32>::.ctor(!0)Candide.CandideUI.CandideUiElement::set_Width(System.Nullable<System.Int32>)Candide.CandideUI.CandideUiElement::set_Height(System.Nullable<System.Int32>)Candide.CandideUI.Components.Holder.CandideHotBarSlot::.ctor(Candide.Entities.PlayerState.HotBarSlot[], System.Int32)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)Candide.CandideUI.CandideUiElement::set_Left_Pixels(System.Nullable<System.Int32>)Candide.CandideUI.Components.Holder.CandideHotBarSlot::SlotHasChanged()
GetFocusable
#
public Candide.CandideUI.CandideUiElement GetFocusable()
Method metadata
- Visibilitypublic
- Return type
Candide.CandideUI.CandideUiElement - StaticFalse
- VirtualTrue
- Hash
88ACC9C505BF81CD0AC030A41B7650F847400CF2A7656440AEF112A443C400BA - Body hash
AE76C39D2039063323310B19B3E2663FFA6694D6BC1F099933ECD973F5E4790D - IL size2
OnInventoriesChanged
#
private System.Void OnInventoriesChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
64B1B2A200A098EC7C341B33133ED14A9B1D89167E81D24687C421BF0D4D5512 - Body hash
766F1EAC494FA7344CB9B4C0F9FFD9E74AE8E82BE62C07C4885B1CB77F3717A3 - IL size78
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)Candide.CandideUI.Components.Holder.CandideHotBarSlot::InventoriesHasChanged()
OnWindowClosed
#
protected System.Void OnWindowClosed()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
DC0F06DE04EB6F5D9129D0A87B9F609C7ECAA34557A3F2E646694B5F3AB5E192 - Body hash
00CFE63C9FDCD4962E5BD1B7DD17778C9099867A193DEFDC1076F1E33E71A865 - IL size24
Referenced calls
Candide.CandideUI.Hotbar.HotBarWindow::OnInventoriesChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs)SimpleInventoryController.GameStateActiveInventoriesChanged::.ctor(System.Object, System.IntPtr)Candide.GameModels.Controllers.SimpleInventoryController::remove_InventoriesChanged(SimpleInventoryController.GameStateActiveInventoriesChanged)Candide.CandideUI.Containers.CandideWindow::OnWindowClosed()
OnWindowShown
#
protected System.Void OnWindowShown()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
0B90E57106A8D06E060577EAC45F39686CC6D56751A08F7838D473AC34DAF3A2 - Body hash
20916106D07D473A1F5465FBCD3786548F4FA5890C14016C80CB7F7424AE4063 - IL size24
Referenced calls
Candide.CandideUI.Hotbar.HotBarWindow::OnInventoriesChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs)SimpleInventoryController.GameStateActiveInventoriesChanged::.ctor(System.Object, System.IntPtr)Candide.GameModels.Controllers.SimpleInventoryController::add_InventoriesChanged(SimpleInventoryController.GameStateActiveInventoriesChanged)Candide.CandideUI.Containers.CandideWindow::OnWindowShown()
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
7BD6423ABA2EAD5C24DF0DA6BD8BFF5AAE2BCCCE982AEC6036CF0E6194BF539E - Body hash
63CAD16B49633E2E0AF7E7244164296F710C93D2D47CF6F5C93EDC3253136F81 - IL size122
Referenced calls
Candide.CandideUI.Hotbar.HotBarWindow::UpdateSlots()Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.CandideUI.Hotbar.HotBarWindow::BuildUi()Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)Candide.CandideUI.Containers.CandideWindow::Update(Microsoft.Xna.Framework.GameTime)
UpdateSlotHasChanged
#
public System.Void UpdateSlotHasChanged(System.Int32 index)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CF64E3A1F89493E8EC3BC9E6B762261A549C6FEE969251636C737EA70EA42BCE - Body hash
58A4C75EE436BF0EBC8769F2540F03B3B7C871869AC0558599167138F32F6788 - IL size14
UpdateSlots
#
public System.Void UpdateSlots()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
AE10526B9F9982F27FC3253C8875D65C399958AC61C57BD2D27591573F72A58B - Body hash
3CC8CE92DB38378E8CD082204A88578424C9EE4B3B41302F222A6DCD2147F0F2 - IL size26