22 #ifndef STARK_RESOURCES_RESOURCE_REFERENCE_H 23 #define STARK_RESOURCES_RESOURCE_REFERENCE_H 25 #include "common/array.h" 26 #include "common/stream.h" 28 #include "engines/stark/resources/object.h" 73 uint16 getIndex()
const {
return _index; }
85 return Resources::Object::cast<T>(
resolve());
90 #endif // STARK_RESOURCES_RESOURCE_REFERENCE_H
T * resolve() const
Definition: resourcereference.h:84
void loadFromStream(Common::ReadStream *stream)
Definition: resourcereference.h:39
void buildFromResource(Resources::Object *resource)
void saveToStream(Common::WriteStream *stream)