| 
   
    PC Stable Documentation 
   | 
 |

represents base for cargo storage for entities More...
Private Member Functions | |
| proto native EntityAI | GetCargoOwner () | 
| get the entity that owns the cargo   | |
| proto native int | GetOwnerCargoIndex () | 
| proto native bool | IsProxyCargo () | 
| proto native int | GetItemCount () | 
| proto native EntityAI | GetItem (int index) | 
| proto native int | GetWidth () | 
| proto native int | GetHeight () | 
| proto bool | GetItemRowCol (int index, out int row, out int col) | 
| proto bool | GetItemSize (int index, out int w, out int h) | 
| proto native int | FindEntityInCargo (notnull EntityAI e) | 
| private void | CargoBase () | 
| private void | ~CargoBase () | 
| bool | CanReceiveItemIntoCargo (EntityAI item) | 
| condition EntityAI::CanReceiveItemIntoCargo for Cargo.   | |
| bool | CanSwapItemInCargo (EntityAI child_entity, EntityAI new_entity) | 
| condition EntityAI::CanSwapItemInCargo for Cargo.   | |
| proto native int | GetUserReservedLocationCount () | 
| proto bool | GetUserReservedLocation (int index, out EntityAI eai, out int row, out int col, out int w, out int h, out int flp) | 
| proto native void | SetUserReservedLocation (notnull EntityAI eai) | 
| proto native void | ClearUserReservedLocation (notnull EntityAI eai) | 
represents base for cargo storage for entities
@NOTE: rows == y axis
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  inlineprivate | 
condition EntityAI::CanReceiveItemIntoCargo for Cargo.
condition EntityAI::CanSwapItemInCargo for Cargo.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
get the entity that owns the cargo
Referenced by VicinityContainer::UpdateInterval().
      
  | 
  private | 
Referenced by ClosableContainer::DraggingOverGrid(), AttachmentCategoriesRow::DraggingOverGrid(), ClosableContainer::DraggingOverGrid(), ClosableContainer::DropReceived(), HandsContainer::DropReceived(), AttachmentCategoriesRow::DropReceived(), ClosableContainer::DropReceived(), and Container::GetMaxCargoCapacity().
      
  | 
  private | 
Referenced by Container::AddedToCargoEx(), BurnItemsInFireplace(), CookWithEquipment(), InventoryItem::EEHealthLevelChanged(), Container::GetIcon(), Entity::GetInventoryAndCargoWeight(), GetItemTypeFromCargo(), ActionUnpackGift::OnFinishProgressServer(), Barrel_ColorBase::OnFreezeStateChangeServer(), OnFreezeStateChangeServer(), Container::RemovedFromCargo(), Container::SetEntity(), StopCooling(), and TerminateCookingSounds().
      
  | 
  private | 
Referenced by Container::AddedToCargoEx(), ActionTargetsCursor::AttachmentsWithInventoryOrCargoCount(), BurnItemsInFireplace(), InventoryItem::CanReceiveAttachment(), CookWithEquipment(), ClosableContainer::DraggingOverGrid(), ClosableContainer::DropReceived(), HandsContainer::DropReceived(), ClosableContainer::DropReceived(), InventoryItem::EEHealthLevelChanged(), Container::GetCargoCapacity(), Container::GetIcon(), Entity::GetInventoryAndCargoWeight(), GetItemTypeFromCargo(), Entity::HasAnyCargo(), ActionUnpackGift::OnFinishProgressServer(), Barrel_ColorBase::OnFreezeStateChangeServer(), OnFreezeStateChangeServer(), Container::RemovedFromCargo(), Container::SetEntity(), StopCooling(), and TerminateCookingSounds().
| [out] | row | returned row of the item at internal index | 
| [out] | col | returned col. 0 on xbox | 
| [out] | w | returned width of the item at internal index | 
| [out] | h | returned height of the item at internal index | 
Referenced by Container::GetCargoCapacity().
      
  | 
  private | 
Referenced by VicinityContainer::UpdateInterval().
      
  | 
  private | 
| [in] | idx | index of the user reserved location | 
| [out] | eai | returned entity of the user reservation at internal index | 
| [out] | row | returned row of the user reservation at internal index | 
| [out] | col | returned col | 
| [out] | w | returned width of the user reservation at internal index | 
| [out] | h | returned height of the user reservation at internal index | 
| [out] | flp | returned flip | 
      
  | 
  private | 
      
  | 
  private | 
Referenced by ClosableContainer::DraggingOverGrid(), AttachmentCategoriesRow::DraggingOverGrid(), ClosableContainer::DraggingOverGrid(), ClosableContainer::DropReceived(), HandsContainer::DropReceived(), AttachmentCategoriesRow::DropReceived(), ClosableContainer::DropReceived(), and Container::GetMaxCargoCapacity().
      
  | 
  private | 
      
  | 
  private |