Candide.CandideUI.UserControls.InventoryControl
Type JSONpublic class in Candide.CandideUI.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.UserControls - Base type
Candide.CandideUI.CandideUiContainerSingleItem - Hash
FB893BE1653884BD61AEC14BE95AE20509881E580D067D2AF4908543CC25CDF4
Relationships
Base type
Referenced by types
Candide.CandideUI.Components.InventoryQuickActionsPanelCandide.CandideUI.JobUiNew.UserControls.JobResourcesAndItemsUserControlCandide.CandideUI.JobUiNew.UserControls.SubControls.JobInventoryStorageControlCandide.CandideUI.JobUiNew.UserControls.SubControls.JobOutputInventoryUserControlCandide.CandideUI.ProximityWindows.InventoryWindowCandide.CandideUI.UserControls.EquipmentControlCandide.CandideUI.UserControls.PlayerInventoryUserControlCandide.CandideUI.UserControls.ShopDisplayControlCandide.CandideUI.Windows.ItemProcessingWindowCandide.CandideUI.WorshipUi.Altar2.NewOfferingView
Fields
| Name | Visibility | Signature |
|---|---|---|
Grid# | public | public Candide.CandideUI.Containers.CandideGrid Grid |
MoneyDisplay# | public | public Candide.CandideUI.Components.Displays.MoneyDisplay MoneyDisplay |
Money_OnMouseRightClickFunc# | public | public System.Func<Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseRightClickArgs, System.Boolean> Money_OnMouseRightClickFunc |
Money_OnMouseSpecialClickFunc# | public | public System.Func<Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseSpecialClickArgs, System.Boolean> Money_OnMouseSpecialClickFunc |
OnMouseRightClickFunc# | public | public System.Func<Candide.CandideUI.UserControls.InventoryControlOnMouseRightClickArgs, System.Boolean> OnMouseRightClickFunc |
OnMouseSpecialClickFunc# | public | public System.Func<Candide.CandideUI.UserControls.InventoryControlOnMouseSpecialClickArgs, System.Boolean> OnMouseSpecialClickFunc |
PreferredTooltipGrowthDirection# | public | public Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection PreferredTooltipGrowthDirection |
ShowMoneyValue# | public | public System.Boolean ShowMoneyValue |
_columnCount# | private | private System.Int32 _columnCount |
_errorTextWrapper# | private | private Candide.CandideUI.Components.CandideErrorTextWrapper _errorTextWrapper |
_inventory# | private | private Candide.GameModels.Models.Items.SimpleInventory _inventory |
_mainPanel# | private | private Candide.CandideUI.Containers.CandideVerticalStackPanel _mainPanel |
Properties
| Name | Visibility | Signature |
|---|---|---|
ColumnCount# | public | public System.Int32 ColumnCount |
Inventory# | public | public Candide.GameModels.Models.Items.SimpleInventory Inventory |
Methods
DisplayErrorMessage
#
public System.Void DisplayErrorMessage(System.String message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
759C75B00B8B9E66583B1400CBB96B888E2AE208A95C1BA52A7287DB22D51444 - Body hash
2B76F14DEA394E610FED0E946473D837255F035E50ADE36673A2A8DDA3160D90 - IL size13
InvalidateMoneyDisplay
#
private System.Void InvalidateMoneyDisplay()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A71343D5D6732EE77617757B96820942B3AFE7C3A31CC64EA54592605B49CFB8 - Body hash
87E3340F587442864292A98D55D0FE9CD55226DD931EEDB68EE90FD29C247048 - IL size643
Referenced calls
System.Nullable<System.UInt64>::get_HasValue()Candide.CandideUI.UserControls.InventoryControl::OnDropMoney(Candide.CandideUI.Components.Holder.CoinSlot, System.UInt64)System.Func<Candide.CandideUI.Components.Holder.CoinSlot, System.UInt64, System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.UserControls.InventoryControl::OnMoneyRightClick(Candide.CandideUI.Components.Holder.CoinSlot)System.Func<Candide.CandideUI.Components.Holder.CoinSlot, System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.UserControls.InventoryControl::OnMoneySpecialClick(Candide.CandideUI.Components.Holder.CoinSlot)Candide.CandideUI.CandideUiElement::set_Enabled(System.Boolean)Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)System.Nullable<System.UInt64>::get_Value()Candide.CandideUI.Components.Displays.MoneyDisplay::SetMoney(System.UInt64, System.Boolean)
InvalidateSlots
#
public System.Void InvalidateSlots()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4BD2F934730175D752D2AB8F066AA9C37FD523D6A99EAAE2ABDD33187B9BFF15 - Body hash
D22123F76B144295FF78050CA5174FFDD9CF0C06A035542912D92C639777F72A - IL size229
Referenced calls
Candide.CandideUI.UserControls.InventoryControl::get_ColumnCount()Candide.CandideUI.Containers.CandideGrid::ClearChildren()Candide.CandideUI.UserControls.InventoryControl::get_Inventory()Candide.CandideUI.Components.Holder.CandideInventorySlot::.ctor(Candide.GameModels.Models.Items.SimpleInventory, System.Int32)Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)Candide.CandideUI.CandideUiElement::set_GridRow(System.Int32)Candide.CandideUI.CandideThickness::.ctor(System.Int32)Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)Candide.CandideUI.UserControls.InventoryControl::Slot_OnMouseRightClick(Candide.CandideUI.Components.Holder.CandideInventorySlot)System.Func<Candide.CandideUI.Components.Holder.CandideInventorySlot, System.Boolean>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.UserControls.InventoryControl::Slot_OnMouseSpecialClick(Candide.CandideUI.Components.Holder.CandideInventorySlot)Candide.CandideUI.UserControls.InventoryControl::<InvalidateSlots>b__23_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.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)Candide.CandideUI.Components.Holder.CandideInventorySlot::Update()Candide.CandideUI.CandideUiElement::InvalidateMeasure()
String literals
event:/interface/player inventory/ui_inventory_trash
OnDropMoney
#
private System.Boolean OnDropMoney(Candide.CandideUI.Components.Holder.CoinSlot arg1, System.UInt64 amount)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
A49B8505D7B457070DF916273B5E0B19A8838B3C9F93E1FF6FA468B46AD36776 - Body hash
4598501CFAB5E24C470B910D968174B1236BBB32116D16E28FA302E65B0D78E3 - IL size143
Referenced calls
System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::GetValueOrDefault()System.Nullable<System.UInt64>::get_Value()Candide.CandideUI.Components.Displays.MoneyDisplay::SetMoney(System.UInt64, System.Boolean)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionTo8Direction(System.Single)Candide.GameModels.Managers.SimpleInventoryManager::DropMoney(Candide.GameModels.Models.Items.SimpleInventory, System.UInt64, System.Single)
OnMoneyRightClick
#
private System.Boolean OnMoneyRightClick(Candide.CandideUI.Components.Holder.CoinSlot arg)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
AD17A2F65FE6C0BB285F81E34BB9621DF815DBE4004D3BEAA066958D52F78326 - Body hash
337ECDA13F4D7D547AF3BE04DD1BC8F7094296146E9C658F119563C2C6118A27 - IL size64
Referenced calls
Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseRightClickArgs::.ctor()System.Func<Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseRightClickArgs, System.Boolean>::Invoke(!0)
OnMoneySpecialClick
#
private System.Boolean OnMoneySpecialClick(Candide.CandideUI.Components.Holder.CoinSlot arg)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
9A98E5614D5A53855DECCA75F7079618D30DFA6AD0A63A94AABCECDD94B21F58 - Body hash
7BA27F411EA6C4B0796A3CD7FD58DB9D32E8279072B9B817A539D86BB89DDB88 - IL size64
Referenced calls
Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseSpecialClickArgs::.ctor()System.Func<Candide.CandideUI.UserControls.InventoryControlMoney_OnMouseSpecialClickArgs, System.Boolean>::Invoke(!0)
ResetErrorMessage
#
public System.Void ResetErrorMessage()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
8AABF3195778816325BF6D2AE2DE185170F1964571E4C67505B36621DEC4203D - Body hash
1A28381FD10081E0AC2D479E37E357ABDE1EF90C62F39A6065F48C0FA06E55BC - IL size13
Referenced calls
Candide.CandideUI.Components.CandideErrorTextWrapper::set_ShowingError(System.Boolean)
Slot_OnMouseRightClick
#
private System.Boolean Slot_OnMouseRightClick(Candide.CandideUI.Components.Holder.CandideInventorySlot slot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
1663227DECB5C270E37D8F8FCCC47E1DE410B00517B65CD7F580CE712088EF47 - Body hash
67CC214E195642BFF08BFA8190C63B66F1CF5EB8D94C6E0EDFD7365A81E36A7C - IL size106
Referenced calls
Candide.CandideUI.CandideExtendedInteractionsHandler::get_DraggedContent()Candide.CandideUI.UserControls.InventoryControlOnMouseRightClickArgs::.ctor()System.Func<Candide.CandideUI.UserControls.InventoryControlOnMouseRightClickArgs, System.Boolean>::Invoke(!0)
Slot_OnMouseSpecialClick
#
private System.Boolean Slot_OnMouseSpecialClick(Candide.CandideUI.Components.Holder.CandideInventorySlot slot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
3F0495CC56C35A73ACB78022332A75BF229AAEAC036FF09F45476CAF47E92C70 - Body hash
1F1EF16EF2746AC429815F9EB4E25605EEA81D50FBD4862CEC53F3148F052A83 - 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
1AAE340BC9C3B12877B174AFF4D274132DD7D5C4F69F4C574F77C9DA36842FFD - Body hash
0B52451976D2FA282A3004B563624D83A276A21CE2CBA5975B584CDB99B9DE14 - IL size138
Referenced calls
Candide.CandideUI.UserControls.InventoryControl::get_Inventory()Candide.CandideUI.CandideUiContainerMultipleItems::get_ChildrenEnumerable()System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>::GetEnumerator()System.Collections.Generic.IEnumerator<Candide.CandideUI.CandideUiElement>::get_Current()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.Components.Holder.CandideInventorySlot::Update()System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Nullable<System.UInt64>::get_HasValue()System.Nullable<System.UInt64>::get_Value()Candide.CandideUI.Components.Displays.MoneyDisplay::SetMoney(System.UInt64, System.Boolean)
Called by
Candide.CandideUI.JobUiNew.UserControls.JobResourcesAndItemsUserControl::SetStateCandide.CandideUI.JobUiNew.UserControls.SubControls.JobInventoryStorageControl::UpdateSlotsCandide.CandideUI.JobUiNew.UserControls.SubControls.JobOutputInventoryUserControl::SetStateCandide.CandideUI.ProximityWindows.InventoryWindow::OnInventoryChangedCandide.CandideUI.UserControls.PlayerInventoryUserControl::OnInventoryChangedCandide.CandideUI.Windows.ItemProcessingWindow::OnInventoryChangedCandide.CandideUI.WorshipUi.Altar2.NewOfferingView::OnOfferingInventoryChangedCandide.CandideUI.WorshipUi.Altar2.NewOfferingView::SetState
String literals
InventoryControl: Child wasn't CandideInventorySlot