Skip to content
Version 2.32.0
↓ Get the launcher

IGameAssets.LoadStickerIcon method

Atlas/texture handle for a chat picture-emoji / sticker, async-loaded via ZResLoader from the ChatStickersTable row’s Res (path “ui/textures/chat_emoji/<Res>”). Returns null while loading, on failure, or when the config id is unknown / the table isn’t loaded yet; uv is the sub-rect ((0,0,1,1) until resolved). Safe to call every frame (result cached).

public object? LoadStickerIcon(int stickerConfigId, out UvRect uv)
parameter description
stickerConfigId The ChatPictureEmoji config_id (= ChatMessage.StickerId).
uv The UV sub-rect for the sticker within its atlas, or full-rect ((0,0,1,1)) until resolved.