IResourceList

C++
struct IResourceList : public _reference_target_t {
};
File

ICryPak.h

Description

The IResourceList provides an access to the collection of the resource`s file names. Client can add a new file names to the resource list and check if resource already in the list.

IResourceList::Add Method
C++
virtual void Add(const char * sResourceFile) = 0;
Description

Adds a new resource to the list.

IResourceList::Clear Method
C++
virtual void Clear() = 0;
Description

Clears resource list.

IResourceList::GetFirst Method
C++
virtual const char* GetFirst() = 0;
Description

Returns the file name of the first resource or NULL if resource list is empty.

IResourceList::GetMemoryStatistics Method
C++
virtual void GetMemoryStatistics(class ICrySizer * pSizer) = 0;
Description

Return memory usage stats.

IResourceList::GetNext Method
C++
virtual const char* GetNext() = 0;
Description

Returns the file name of the next resource or NULL if reached the end. Client must call GetFirst before calling GetNext.

IResourceList::IsExist Method
C++
virtual bool IsExist(const char * sResourceFile) = 0;
Description

Checks if specified resource exist in the list.

IResourceList::Load Method
C++
virtual bool Load(const char * sResourceListFilename) = 0;
Description

Loads a resource list from the resource list file.