IItemSystem

Interface to the Item system

C++
struct IItemSystem {
};
File

IItemSystem.h

IItemSystem::~IItemSystem Destructor
C++
virtual ~IItemSystem();
IItemSystem::AddItem Method
C++
virtual void AddItem(EntityId itemId, IItem * pItem) = 0;
IItemSystem::CacheGeometry Method
C++
virtual void CacheGeometry(const IItemParamsNode * geometry) = 0;
IItemSystem::CacheItemGeometry Method
C++
virtual void CacheItemGeometry(const char * className) = 0;
IItemSystem::CacheItemSound Method
C++
virtual void CacheItemSound(const char * className) = 0;
IItemSystem::CacheObject Method
C++
virtual void CacheObject(const char * fileName, bool useCgfStreaming) = 0;
IItemSystem::CanSocketBeEmpty Method
C++
virtual bool CanSocketBeEmpty(const char* item, const char* socket) const = 0;
IItemSystem::ClearGeometryCache Method
C++
virtual void ClearGeometryCache() = 0;
IItemSystem::ClearSoundCache Method
C++
virtual void ClearSoundCache() = 0;
IItemSystem::CreateParams Method
C++
virtual IItemParamsNode * CreateParams() = 0;
IItemSystem::DropActorAccessory Method
C++
virtual void DropActorAccessory(IActor * pActor, EntityId itemId) = 0;
IItemSystem::DropActorItem Method
C++
virtual void DropActorItem(IActor * pActor, EntityId itemId) = 0;
IItemSystem::GetCachedCharacter Method
C++
virtual ICharacterInstance * GetCachedCharacter(const char * fileName) = 0;
IItemSystem::GetCachedObject Method
C++
virtual IStatObj * GetCachedObject(const char * fileName) = 0;
IItemSystem::GetConfiguration Method
C++
virtual const char * GetConfiguration() const = 0;
IItemSystem::GetFirstItemClass Method
C++
virtual const char* GetFirstItemClass() = 0;
IItemSystem::GetIEquipmentManager Method
C++
virtual IEquipmentManager* GetIEquipmentManager() = 0;
IItemSystem::GetItem Method
C++
virtual IItem * GetItem(EntityId itemId) const = 0;
IItemSystem::GetItemCategory Method
C++
virtual const char * GetItemCategory(const char * item) const = 0;
IItemSystem::GetItemParamName Method
C++
virtual const char* GetItemParamName(int index) const = 0;
IItemSystem::GetItemParams Method
C++
virtual const IItemParamsNode * GetItemParams(const char * itemName) const = 0;
IItemSystem::GetItemParamsCount Method
C++
virtual int GetItemParamsCount() const = 0;
IItemSystem::GetItemParamsDescriptionFile Method
C++
virtual const char* GetItemParamsDescriptionFile(const char * itemName) const = 0;
IItemSystem::GetItemPriority Method
C++
virtual uint8 GetItemPriority(const char * item) const = 0;
IItemSystem::GetItemSocketCompatibility Method
C++
virtual bool GetItemSocketCompatibility(const char* item, const char* socket) const = 0;
IItemSystem::GetItemSocketCount Method
C++
virtual uint32 GetItemSocketCount(const char* item) const = 0;
IItemSystem::GetItemSocketName Method
C++
virtual const char* GetItemSocketName(const char* item, int idx) const = 0;
IItemSystem::GetItemUniqueId Method
C++
virtual uint8 GetItemUniqueId(const char * item) const = 0;
IItemSystem::GetNextItemClass Method
C++
virtual const char* GetNextItemClass() = 0;
IItemSystem::GiveItem Method
C++
virtual EntityId GiveItem(IActor * pActor, const char * item, bool sound, bool select, bool keepHistory, const char * setup = NULL, EEntityFlags entityFlags = (EEntityFlags)0) = 0;
IItemSystem::IsCompatible Method
C++
virtual bool IsCompatible(const char* item, const char* attachment) const = 0;
IItemSystem::IsItemClass Method
C++
virtual bool IsItemClass(const char * name) const = 0;
IItemSystem::PostReload Method
C++
virtual void PostReload() = 0;
IItemSystem::PreReload Method
C++
virtual void PreReload() = 0;
IItemSystem::Query Method
C++
virtual void* Query(IItemSystemQuery query, const void* param = NULL) = 0;
IItemSystem::RegisterForCollection Method
C++
virtual void RegisterForCollection(EntityId itemId) = 0;
IItemSystem::RegisterListener Method
C++
virtual void RegisterListener(IItemSystemListener * pListener) = 0;
IItemSystem::Reload Method
C++
virtual void Reload() = 0;
IItemSystem::RemoveItem Method
C++
virtual void RemoveItem(EntityId itemId, const char* itemName = NULL) = 0;
IItemSystem::Reset Method
C++
virtual void Reset() = 0;
IItemSystem::Scan Method
C++
virtual void Scan(const char * folderName) = 0;
IItemSystem::Serialize Method
C++
virtual void Serialize(TSerialize ser) = 0;
IItemSystem::SetActorAccessory Method
C++
virtual void SetActorAccessory(IActor * pActor, EntityId itemId, bool keepHistory = true) = 0;
IItemSystem::SetActorItem Method (IActor *, EntityId, bool)
C++
virtual void SetActorItem(IActor * pActor, EntityId itemId, bool keepHistory = true) = 0;
IItemSystem::SetActorItem Method (IActor *, char *, bool)
C++
virtual void SetActorItem(IActor * pActor, const char * name, bool keepHistory = true) = 0;
IItemSystem::SetConfiguration Method
C++
virtual void SetConfiguration(const char * name) = 0;
IItemSystem::UnregisterForCollection Method
C++
virtual void UnregisterForCollection(EntityId itemId) = 0;
IItemSystem::UnregisterListener Method
C++
virtual void UnregisterListener(IItemSystemListener * pListener) = 0;