App::Thumbnail_cImportExport class

A class related with the .PNG files of creations.

It can be used to get the path to the My Spore Creations folder:

string16 path;
App::Thumbnail_cImportExport::Get()->GetFolderPath(TypeIDs::crt, path);
// Now path is something like 'C:\Users\...\My Documents\My Spore Creations\Creatures'

Base classes

class IUnmanagedMessageListener
Same as App::IMessageListener, but this one does not use ref-counting.

Public static functions

static auto Get() -> Thumbnail_cImportExport*

Public functions

auto GetFolderPath(uint32_t creationType, string16& dst) -> bool
Gets the filepath of the folder where the .PNGs of the creation type are stored.

Function documentation

bool App::Thumbnail_cImportExport::GetFolderPath(uint32_t creationType, string16& dst)

Gets the filepath of the folder where the .PNGs of the creation type are stored.

Parameters
creationType One of the types in TypeIDs, such as 'crt', 'bld',...
dst out The string where the path will be written.