TorDB.xyz Owner & Developer
- User ID
- 79083
- Messages
- 6
- Reactions
- 6
- Level
- 1
I take absolutely no credit for this.
Code:
auto& stickerKits(void) const {
return * reinterpret_cast<UtlMap<int, StickerKit * >*>(std::uintptr_t(this) + 0x318); //m_mapStickerKits
}
StickerKit* GetStickerKitDefinition(int iStickerKitID)
{
std::optional<StickerKit*> sticker_in_map = stickerKits().FindByKey(iStickerKitID);
if (sticker_in_map.has_value())
return sticker_in_map.value();
return NULL;
}
Last edited by a moderator: