Files
Endfield-Data/LuaScripts/UI/Widgets/SNSFriendChatEmotionRight.lua
2025-12-02 20:37:18 +07:00

20 lines
429 B
Lua

local UIWidgetBase = require_ex('Common/Core/UIWidgetBase')
SNSFriendChatEmotionRight = HL.Class('SNSFriendChatEmotionRight', UIWidgetBase)
SNSFriendChatEmotionRight.InitSNSFriendChatEmotionRight = HL.Method(HL.String) << function(self, imgPath)
if not string.isEmpty(imgPath) then
self.view.stickerImage:LoadSprite(imgPath)
end
end
HL.Commit(SNSFriendChatEmotionRight)
return SNSFriendChatEmotionRight