IEquipmentManager

Used to give predefined inventory to actors

C++
struct IEquipmentManager {
  struct IListener {
  };
  struct IEquipmentPackIterator {
  };
};
File

IItemSystem.h

IEquipmentManager::IEquipmentPackIterator Structure
C++
struct IEquipmentPackIterator {
};
File

IItemSystem.h

IEquipmentManager::IEquipmentPackIterator::~IEquipmentPackIterator Destructor
C++
IEquipmentManager::IEquipmentPackIterator::AddRef Method
C++
virtual void AddRef() = 0;
IEquipmentManager::IEquipmentPackIterator::GetCount Method
C++
virtual int GetCount() = 0;
IEquipmentManager::IEquipmentPackIterator::Next Method
C++
virtual const char* Next() = 0;
IEquipmentManager::IEquipmentPackIterator::Release Method
C++
virtual void Release() = 0;
IEquipmentManager::IListener Structure
C++
struct IListener {
};
File

IItemSystem.h

IEquipmentManager::IListener::~IListener Destructor
C++
virtual ~IListener();
IEquipmentManager::IListener::OnBeginGiveEquipmentPack Method
C++
virtual void OnBeginGiveEquipmentPack();
IEquipmentManager::IListener::OnEndGiveEquipmentPack Method
C++
virtual void OnEndGiveEquipmentPack();
IEquipmentManager::~IEquipmentManager Destructor
C++
virtual ~IEquipmentManager();
IEquipmentManager::CreateEquipmentPackIterator Method
C++
virtual IEquipmentManager::IEquipmentPackIteratorPtr CreateEquipmentPackIterator() = 0;
Description

return iterator with all available equipment packs

IEquipmentManager::DeleteAllEquipmentPacks Method
C++
virtual void DeleteAllEquipmentPacks() = 0;
Description

Clear all equipment packs

IEquipmentManager::GiveEquipmentPack Method
C++
virtual bool GiveEquipmentPack(IActor* pActor, const char* packName, bool bAdd, bool bSelectPrimary) = 0;
Description

Give an equipment pack (resp. items/ammo) to an actor

IEquipmentManager::LoadEquipmentPack Method
C++
virtual bool LoadEquipmentPack(const XmlNodeRef& rootNode, bool bOverrideExisiting = true) = 0;
Description

Load an equipment pack from an XML node

IEquipmentManager::LoadEquipmentPacks Method
C++
virtual void LoadEquipmentPacks(const XmlNodeRef& rootNode) = 0;
Description

Loads equipment packs from rootNode

IEquipmentManager::LoadEquipmentPacksFromPath Method
C++
virtual void LoadEquipmentPacksFromPath(const char* path) = 0;
Description

Load all equipment packs from a certain path

IEquipmentManager::PreCacheEquipmentPackResources Method
C++
virtual void PreCacheEquipmentPackResources(const char* packName, IEquipmentPackPreCacheCallback& preCacheCallback) = 0;
Description

Pre-cache all resources needed for the items included in the given pack

IEquipmentManager::RegisterListener Method
C++
virtual void RegisterListener(IListener * pListener) = 0;
IEquipmentManager::UnregisterListener Method
C++
virtual void UnregisterListener(IListener * pListener) = 0;
IEquipmentManager::IEquipmentPackIteratorPtr Nested Type
C++
typedef _smart_ptr<IEquipmentPackIterator> IEquipmentPackIteratorPtr;