Resource::ResourceObject class

A type of object that is used as a resource.

This object contains a ResourceKey used to identify it.

Base classes

class Object
This class represents a basic reference counted object.

Derived classes

class Editors::cCreatureDataResource
class Graphics::GmdlRenderAsset
template<typename ObjClass, uint32_t TYPE_ID>
class Graphics::cRwDirectResource
class Pollinator::cAssetMetadata
The class representation of .pollen_metadata files, which represent the metadata (name, author, time created,...) of a creation.
class RenderWare::RenderWareFile
class CachedResourceObject
class Simulator::Cell::cCellResource
class Simulator::ConversationResource
class Simulator::cConversation
class Simulator::cScenarioResource
class Sporepedia::OTDB::ParameterResource
class Swarm::CollectionResource
A Resource object used to retrieve an effect collection (that is, an EffectDirectory, .effdir file).
class Terrain::cTerrainSphere

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators


Public functions

auto AddRef() -> int override
auto Release() -> int override
auto Cast(uint32_t typeID) const -> void* override
auto GetReferenceCount() -> int virtual
auto GetResourceKey() const -> ResourceKey
auto SetResourceKey(const ResourceKey& key) -> void

Protected variables

int mnRefCount
ResourceKey mNameKey