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

19 lines
422 B
Lua

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