IGameStickerCatalog interface
Chat-sticker CATALOG concern of IGameAssets (which inherits this). Split out so IGameAssets stays within the framework’s interface-width budget while keeping the whole surface reachable through a single _services.GameAssets handle — the sticker THUMBNAIL loader (LoadStickerIcon) stays on IGameAssets; the catalog ENUMERATION lives here.
public interface IGameStickerCatalogMembers
Section titled “Members”| name | description |
|---|---|
| GetSendableStickers() | Enumerates the game’s chat picture-emoji / sticker catalog (ChatStickersTable) for building a send picker. Returns ALL rows — both freely-sendable and unlock-gated — each tagged with DefaultUnlocked (the framework resolves the gating quirk); the caller filters. The list is built once by reflection and cached (the table is a static singleton); an empty result (the table hasn’t loaded yet — it loads lazily at boot) is NOT cached, so a later call rebuilds until it populates. Safe to call every frame. |
| IsStickerOwned(…) | 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). |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services