20 lines
429 B
Lua
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
|
|
|