Pollinator namespace

Contents

Classes

class cAssetMetadata
The class representation of .pollen_metadata files, which represent the metadata (name, author, time created,...) of a creation.

Functions

ASSERT_SIZE(cAssetMetadata, 0xD8)
auto GetMetadata(uint32_t instanceID, uint32_t groupID, cAssetMetadataPtr& dst) -> bool
Used to get the metadata of a creation, if it exists.
auto Addresses(cAssetMetadata) -> namespace

Function documentation

bool Pollinator::GetMetadata(uint32_t instanceID, uint32_t groupID, cAssetMetadataPtr& dst)

Used to get the metadata of a creation, if it exists.

Example usage:

cAssetMetadataPtr metadata;
if (Pollinator::GetMetadata(0x07ed7d9f, GroupIDs::BuildingModels, metadata)) {
    App::ConsolePrintF("%ls", metadata->GetName().c_str());
}