Pollinator namespace
Classes
- struct cAchievementDefinition
- class cAchievementsManager
- Manages the achievements of the game.
- class cAssetMetadata
- The class representation of
.pollen_metadata
files, which represent the metadata (name, author, time created,...) of a creation. - class cSPAchievementSerializer
Functions
- ASSERT_SIZE(cAchievementsManager, 0xA8)
- auto Addresses(cAchievementsManager) -> namespace
- 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
- ASSERT_SIZE(cAchievementDefinition, 0xC)
- ASSERT_SIZE(cSPAchievementSerializer, 0xBC)
Function documentation
Pollinator:: ASSERT_SIZE(cAchievementsManager,
0xA8)
namespace Pollinator:: Addresses(cAchievementsManager)
Pollinator:: ASSERT_SIZE(cAssetMetadata,
0xD8)
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()); }
namespace Pollinator:: Addresses(cAssetMetadata)
Pollinator:: ASSERT_SIZE(cAchievementDefinition,
0xC)
Pollinator:: ASSERT_SIZE(cSPAchievementSerializer,
0xBC)