29 lines
588 B
Lua
29 lines
588 B
Lua
---@class WBP_ActiveMonsterTalk_C:ObjectPositionWidget
|
|
---@field TextBlock_Talk UTextBlock
|
|
--Edit Below--
|
|
local WBP_ActiveMonsterTalk = { bInitDoOnce = false; };
|
|
|
|
--[==[ Construct
|
|
function WBP_ActiveMonsterTalk:Construct()
|
|
|
|
end
|
|
-- Construct ]==]
|
|
|
|
-- function WBP_ActiveMonsterTalk:Tick(MyGeometry, InDeltaTime)
|
|
|
|
-- end
|
|
|
|
-- function WBP_ActiveMonsterTalk:Destruct()
|
|
|
|
-- end
|
|
|
|
function WBP_ActiveMonsterTalk:SetTalkText(InType)
|
|
local Talk = MonsterTalkContent[InType]
|
|
if Talk == nil then
|
|
return
|
|
else
|
|
self.TextBlock_Talk:SetText(Talk.Content);
|
|
end
|
|
end
|
|
|
|
return WBP_ActiveMonsterTalk; |