Candide.CandideUI.UserControls.EquipmentControl
Type JSONpublic class in Candide.CandideUI.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.UserControls - Base type
Candide.CandideUI.CandideUiContainerSingleItem - Hash
3101DAF1070800CA11EBFF0EE943D453628551B41A3CD16B09E91A2B570CF4F6
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
OnInventoryError# | private | private System.EventHandler OnInventoryError |
OnMouseSpecialClickFunc# | public | public System.Func<Candide.CandideUI.UserControls.InventoryControlOnMouseSpecialClickArgs, System.Boolean> OnMouseSpecialClickFunc |
_entityId# | private | private System.Nullable<System.Guid> _entityId |
_errorTextWrapper# | private | private Candide.CandideUI.Components.CandideErrorTextWrapper _errorTextWrapper |
_inventory# | private | private Candide.GameModels.Models.Items.SimpleInventory _inventory |
_slots# | private | private System.Collections.Generic.List<Candide.CandideUI.Components.Holder.CandideEquipmentSlot> _slots |
_slotsPanel# | private | private Candide.CandideUI.Containers.CandidePanel _slotsPanel |
Properties
| Name | Visibility | Signature |
|---|---|---|
EntityId# | public | public System.Nullable<System.Guid> EntityId |
Inventory# | public | public Candide.GameModels.Models.Items.SimpleInventory Inventory |
Events
| Name | Visibility | Signature |
|---|---|---|
OnInventoryError# | public | public System.EventHandler OnInventoryError |
Methods
CreateSlot
#
private Candide.CandideUI.Components.Holder.CandideEquipmentSlot CreateSlot(System.Int32 x, System.Int32 y, System.Int32 i)
Method metadata
- Visibilityprivate
- Return type
Candide.CandideUI.Components.Holder.CandideEquipmentSlot - StaticFalse
- VirtualFalse
- Hash
008A5F105A00B8463FF3FAC55EA0CCCBE5E5BDA5D16EBE8860F1356E1CA03E33 - Body hash
2E4FB1D43FAE3BA729DC937C1613DBEFC3238B1A77414792C9046896956129CF - IL size119
Referenced calls
Candide.CandideUI.UserControls.EquipmentControl::get_Inventory()Candide.CandideUI.Components.Holder.CandideEquipmentSlot::.ctor(Candide.GameModels.Models.Items.SimpleInventory, System.Int32)Candide.CandideUI.UserControls.EquipmentControl::Slot_OnMouseRightClick(Candide.CandideUI.Components.Holder.CandideInventorySlot)System.Func<Candide.CandideUI.Components.Holder.CandideInventorySlot, System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.UserControls.EquipmentControl::Slot_OnMouseSpecialClick(Candide.CandideUI.Components.Holder.CandideInventorySlot)EquipmentControl.<>c::<CreateSlot>b__15_0()System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)Candide.CandideUI.CandideUiSystem::get_Scale()Candide.CandideUI.CandideUiElement::set_Left(System.Int32)Candide.CandideUI.CandideUiElement::set_Top(System.Int32)
DisplayErrorMessage
#
public System.Void DisplayErrorMessage(System.String message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
22690AF3CC10831FE0F039249131B8D38D10255BD9155E7F66299F360FF9AF94 - Body hash
F4AFA8EF300A22D6BCB3C62D9F312374FD96C3409F4BD9F15801A1FBDB7300C7 - IL size13
InvalidateSlots
#
private System.Void InvalidateSlots()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8DBFEDAD536545418DDD52613BD55FD45103DB1A641F4E8F5BF9A395AF07E7EA - Body hash
81F7FB7BEE979ECE8E885E9A22F6B8F0C082FFB41DC28C44EF9607B61A72E0DA - IL size1774
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::Clear()Candide.CandideUI.CandideUiContainerMultipleItems::ClearChildren()Candide.CandideUI.CandideUiElement::InvalidateMeasure()Candide.CandideUI.UserControls.EquipmentControl::get_Inventory()Candide.CandideUI.UserControls.EquipmentControl::CreateSlot(System.Int32, System.Int32, System.Int32)System.Collections.Generic.List<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::Add(!0)System.Collections.Generic.List<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::get_Item(System.Int32)Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_0()System.Func<System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_1()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_2()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_3()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_4()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_5()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_6()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_7()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_8()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_9()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_10()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_11()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_12()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_13()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_14()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_15()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_16()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_17()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_18()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_19()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_20()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_21()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_22()Candide.CandideUI.UserControls.EquipmentControl::<InvalidateSlots>b__17_23()
OnDismount
#
protected System.Void OnDismount()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F000D764710F6FC6E00E72452983D356AF1F734F9E8525E37DF1D8CA844AB3DD - Body hash
532BE4D9B0D32C04FEDCF0473EFC0872AD6CFCB45B2FEE4906F16F2A48BED79F - IL size24
Referenced calls
Candide.CandideUI.UserControls.EquipmentControl::OnInventoryChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs)SimpleInventoryController.GameStateActiveInventoriesChanged::.ctor(System.Object, System.IntPtr)Candide.GameModels.Controllers.SimpleInventoryController::remove_InventoriesChanged(SimpleInventoryController.GameStateActiveInventoriesChanged)Candide.CandideUI.CandideUiElement::OnDismount()
OnInventoryChanged
#
private System.Void OnInventoryChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
757DF947BDFE1505C29089BA0CCC424CB9184DDE058D2A3203FD42D9DA74B502 - Body hash
A50839E329CFB773F38015293B96DF89060DDE20142DD0A07AA06BC99D44A167 - IL size85
Referenced calls
Candide.CandideUI.UserControls.EquipmentControl::get_Inventory()System.Guid::op_Equality(System.Guid, System.Guid)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.EventHandler::Invoke(System.Object, System.EventArgs)Candide.CandideUI.UserControls.EquipmentControl::UpdateSlots()
Called by
String literals
EquipmentWindow: Unexpected null Inventory
OnMount
#
protected System.Void OnMount()
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C241541B08CA59422BA20C4B26AE057E9FB0E9922637239940D1733450901484 - Body hash
04317B427458C22382B3F32CBF5310920A8FCB4265737DC6325242A832849F24 - IL size55
Referenced calls
Candide.CandideUI.CandideUiElement::OnMount()Candide.CandideUI.UserControls.EquipmentControl::OnInventoryChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs)SimpleInventoryController.GameStateActiveInventoriesChanged::.ctor(System.Object, System.IntPtr)Candide.GameModels.Controllers.SimpleInventoryController::add_InventoriesChanged(SimpleInventoryController.GameStateActiveInventoriesChanged)Candide.Multiplayer.Models.LocalPlayer::get_Inventory()Candide.GameModels.GameState::TryGetActiveInventory(System.Guid, Candide.GameModels.Models.Items.SimpleInventory&)Candide.CandideUI.UserControls.EquipmentControl::set_Inventory(Candide.GameModels.Models.Items.SimpleInventory)
Slot_OnMouseRightClick
#
private System.Boolean Slot_OnMouseRightClick(Candide.CandideUI.Components.Holder.CandideInventorySlot slot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
D1D9C4D1E222B2F4B2F24F605B2525CE8195224E7BD182A63D077A0227A42CC6 - Body hash
003949A5C69B3A806F0253E4C731314741DB139AC691DE03CCBF89FAF808D152 - IL size73
Referenced calls
Candide.CandideUI.UserControls.EquipmentControl::get_Inventory()Candide.CandideUI.CandideExtendedInteractionsHandler::get_DraggedContent()Candide.GameModels.GameState::TryGetLocalPlayerInventory(Candide.GameModels.Models.Items.SimpleInventory&)Candide.GameModels.Managers.EquipmentManager::TryUnequipItem(Candide.GameModels.Models.Items.SimpleInventory, Candide.GameModels.Models.Items.SimpleInventory, System.Int32)
Slot_OnMouseSpecialClick
#
private System.Boolean Slot_OnMouseSpecialClick(Candide.CandideUI.Components.Holder.CandideInventorySlot slot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
F2C987487EFAC4C15D6A6E60CB8CF3CBBCA77B6C4559DABA1530F26771DBC5DC - Body hash
D3C1F78293E4847A92B4C9B96EAF5665B1D237FEA5DDB64982C8587F1D8A6E56 - IL size106
Referenced calls
Candide.CandideUI.CandideExtendedInteractionsHandler::get_DraggedContent()Candide.CandideUI.UserControls.InventoryControlOnMouseSpecialClickArgs::.ctor()System.Func<Candide.CandideUI.UserControls.InventoryControlOnMouseSpecialClickArgs, System.Boolean>::Invoke(!0)
UpdateSlots
#
public System.Void UpdateSlots()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
41DA25061AB56EBD71FCCAD29C9A32557006E2DCBA70A9581F92C4A61D65073B - Body hash
02C004378E8F2899AA287A0986C996D614CF7FD18018B505EF2742D8F45BEB82 - IL size199
Referenced calls
Candide.CandideUI.UserControls.EquipmentControl::get_Inventory()System.Collections.Generic.List<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::GetEnumerator()List.Enumerator<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::get_Current()Candide.CandideUI.Components.Holder.CandideInventorySlot::Update()Shared.Models.Items.ItemInstanceModel::get_Data()System.Nullable<Shared.Models.Items.EquipmentType>::get_HasValue()System.Nullable<Shared.Models.Items.EquipmentType>::get_Value()CandideServer.Helpers.EquipmentSimpleInventoryHelper::GetInventorySlotIndexForType(Shared.Models.Items.EquipmentType)Candide.CandideUI.Components.Holder.CandideEquipmentSlot::set_IsLocked(System.Boolean)List.Enumerator<Candide.CandideUI.Components.Holder.CandideEquipmentSlot>::MoveNext()System.IDisposable::Dispose()