IGameStickerCatalog.IsStickerOwned method
True when the account OWNS sticker configId and may therefore send it — i.e. a free sticker (not unlock-gated) OR a gated one the server has synced as unlocked for this character. Mirrors the game’s own chat_main_vm.GetChatEmojiUnlock(emojiId) predicate, queried through the framework Lua bridge. Lets a picker hide unowned gated stickers (the server rejects sending them) while keeping owned gated packs usable. A free sticker is already covered by DefaultUnlocked, so a caller only needs this for the gated rows (short-circuit on DefaultUnlocked first).
FAIL-CLOSED. Any failure — the Lua bridge not ready yet (pre-login), the chat VM not created, a nil / false / non-boolean / missing result — returns false (treated as not owned), so a sticker that cannot be confirmed owned is hidden rather than shown. Cheap (one Lua call); intended to be called once per gated sticker at catalog build. Main-thread only (it drives the game’s Lua stack).
public bool IsStickerOwned(int configId)See Also
Section titled “See Also”- interface IGameStickerCatalog
- namespace Stellar.Abstractions.Services