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::cEditorResource
class Graphics::GmdlRenderAsset
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 SpecialResourceObject
class Simulator::cConversation
class Simulator::ConversationResource
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::Sphere::cTerrainSphere

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators

ResourceObject()

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
void SetResourceKey(const ResourceKey& key)

Protected variables

int mnRefCount
ResourceKey mNameKey