Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent
Type JSONpublic class in Candide.CandideUI.Components.Holder
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.Components.Holder - Base type
System.Object - Interfaces
Candide.CandideUI.Components.Holder.ICandideDraggableHolderContent - Hash
C2E09E0689E044F0071C88787EB86DBE90B8D39EF9F436EA50ABE6D79AB40AAB
Relationships
Base type
System.Object
Interfaces
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
InventoryId# | public | public System.Guid InventoryId |
_inventoryIndex# | private | private System.Int32 _inventoryIndex |
_isInvalid# | private | private System.Boolean _isInvalid |
Properties
| Name | Visibility | Signature |
|---|---|---|
ContentType# | public | public Candide.CandideUI.Components.Holder.CandideHolderContentType ContentType |
IconData# | public | public CandideCreator.Shared.Graphics.IconData IconData |
ItemInstance# | public | public Shared.Models.Items.ItemInstanceModel ItemInstance |
Parent# | public | public Candide.CandideUI.Components.Holder.CandideHolderBase Parent |
Methods
CheckSpecialOffHandMainHandConditions
#
private System.Boolean CheckSpecialOffHandMainHandConditions(Candide.CandideUI.Components.Holder.CandideEquipmentSlot targetEquipmentSlot)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
FFEDCFBBDB81C28E15C51106F6041B6829993A9412E014BB474FCE9278E35B6A - Body hash
AE13895C928F72531D8B11225CD2D99AF166E679D5AE0F8EC84B1B9B4D6560FF - IL size233
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Items.SimpleInventory>::TryGetValue(!0, !1&)Shared.Models.Items.ItemInstanceModel::get_Data()Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::<CheckSpecialOffHandMainHandConditions>g__CanEquipInMainHand|19_0(Shared.Models.Items.EquippableItem)Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::<CheckSpecialOffHandMainHandConditions>g__CanEquipInOffHand|19_1(Shared.Models.Items.EquippableItem)
GetStackInfo
#
public System.String GetStackInfo()
Method metadata
- Visibilitypublic
- Return type
System.String - StaticFalse
- VirtualTrue
- Hash
B0F7894E128D58E243290334C9FA8E7621213251DB6B43FC64B34DB25FE5AFFC - Body hash
E32F4EE796C7918221022BE7AA85D5F5F9ADF76B6F6EE45104DFDD359DD92F02 - IL size47
Referenced calls
Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::get_ItemInstance()Shared.Models.Items.ItemInstanceModel::get_Data()System.Int32::ToString()
IsValidComponent
#
private System.Boolean IsValidComponent(Candide.GameModels.Models.Items.SimpleInventory inventory, Candide.CandideUI.Components.Holder.CandideHolderBase parent, System.Int32 inventoryIndex)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
23A24F692F045168B0B68FA2AA67B6DF8C4F2428F7CEE7DEA6C7D80DD0A62EB1 - Body hash
BEB0627B7DE5BB0C90123CFBB239C04EF3E9DD32CE4652B41E2296D24E4B87A4 - IL size76
Referenced calls
Called by
String literals
ItemCandideDraggableHolderContent: No inventory is setItemCandideDraggableHolderContent: Inventory index is larger than the inventory slots lengthItemCandideDraggableHolderContent: No inventory index is setItemCandideDraggableHolderContent: Parent is null
OnDropped
#
public System.Boolean OnDropped()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
69E4D654C4B8526E420AF78C0DE1CF795A6C473D43AAE334541A8EA4C8280E94 - Body hash
A4D2679F3E969F0E600C6678B43331E43E123874C8C12EC23FAB11920FA15DE9 - IL size137
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Items.SimpleInventory>::TryGetValue(!0, !1&)Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::get_Parent()Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::IsValidComponent(Candide.GameModels.Models.Items.SimpleInventory, Candide.CandideUI.Components.Holder.CandideHolderBase, System.Int32)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)CandideServer.ServerServices.DropItemMessage::.ctor()Candide.GameModels.Services.SimpleInventoryService::SendDropItem(CandideServer.ServerServices.DropItemMessage)
String literals
Dropped item was null
OnDroppedOnHolder
#
public System.Boolean OnDroppedOnHolder(Candide.CandideUI.Components.Holder.CandideHolderBase holder)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
E4F7429B5C3B198BA6956009B990F195AAF4F8160FC8B069FFC79C109F1A9337 - Body hash
5D463745084D4D30468A790B48B4DB1816CEF8C0CBE230621E119E941194B71F - IL size1754
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Items.SimpleInventory>::TryGetValue(!0, !1&)Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::get_Parent()Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::IsValidComponent(Candide.GameModels.Models.Items.SimpleInventory, Candide.CandideUI.Components.Holder.CandideHolderBase, System.Int32)Candide.CandideUI.Components.Holder.CandideHolderBase::get_Type()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)System.Guid::op_Equality(System.Guid, System.Guid)Shared.Models.Items.ItemInstanceModel::get_Data()System.Enum::HasFlag(System.Enum)Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)Candide.GameModels.Managers.SimpleInventoryManager::ItemSwapAction(System.Guid, System.Int32, System.Guid, System.Int32)Candide.GameModels.Managers.EquipmentManager::TryEquipAndSwapAction(System.Guid, System.Int32, System.Guid, System.Int32, System.Boolean)Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)System.NotImplementedException::.ctor(System.String)Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::CheckSpecialOffHandMainHandConditions(Candide.CandideUI.Components.Holder.CandideEquipmentSlot)System.ArgumentOutOfRangeException::.ctor()Candide.GameModels.Managers.ShopManager::TrySellItem(System.Guid, System.Int32, System.Nullable<System.Int32>)Candide.GameModels.Managers.HotBarManager::AssignSlot(Candide.CandideUI.Components.Holder.CandideHotBarSlot, Shared.Models.Items.ItemInstanceModel)System.Nullable<System.UInt64>::get_HasValue()Candide.GameModels.GameState::TryGetActiveInventory(System.Guid, Candide.GameModels.Models.Items.SimpleInventory&)Candide.GameModels.Managers.SimpleInventoryManager::LootItemAmountIntoMoney(Candide.GameModels.Models.Items.SimpleInventory, System.Int32, Candide.GameModels.Models.Items.SimpleInventory, System.Int32)System.Nullable<System.Guid>::.ctor(!0)Candide.CandideUI.Components.Holder.ItemGiftSlot::SetCommittedGift(System.Nullable<System.Guid>, Shared.Models.Items.ItemInstanceModel, System.Nullable<System.Int32>)
String literals
Target holder was of typebut notCandideInventorySlotevent:/items/coin_pickupItemCandideDraggableHolderContent should never be able to have a parent with Undefined type.Implement more xDCandideEquipmentSlotCandideItemShopSlotCandideHotBarSlotCoinSlotItemGiftSlot
OnInventoriesChanged
#
private System.Void OnInventoriesChanged(Candide.GameModels.Controllers.GameStateActiveInventoriesArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6ABC25526323658C18609F27B98015AF615CD52DFBA282D3AB0BC24A6D513744 - Body hash
3186375BAE10DCAA3CC0BCE9836DB323F5763F0D76AD502FED62233E86B7C963 - IL size112
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)Candide.CandideUI.Components.Holder.ItemCandideDraggableHolderContent::get_ItemInstance()Shared.Models.Items.SharedInventoryModel::TryGetSlotIndex(System.Guid, System.Int32&)Candide.CandideUI.CandideExtendedInteractionsHandler::get_DraggedContent()Candide.CandideUI.CandideExtendedInteractionsHandler::ResetDraggedContent()