2022-04-29 16:40:51 +02:00

84 lines
1.5 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1
L0_1 = require
L1_1 = "Actor/ActorCommon"
L0_1(L1_1)
L0_1 = require
L1_1 = "Actor/Quest/QuestActorProxy"
L0_1 = L0_1(L1_1)
L1_1 = class
L2_1 = "Quest41316"
L3_1 = L0_1
L1_1 = L1_1(L2_1, L3_1)
L1_1.defaultAlias = "Quest41316"
L2_1 = nil
L3_1 = nil
L4_1 = nil
function L5_1(A0_2)
local L1_2
L1_2 = A0_2.clientData
L2_1 = L1_2
L1_2 = L2_1.MainID
L3_1 = L1_2
L1_2 = L2_1.ActorAlias
L4_1 = L1_2
end
L1_1.OnDataLoaded = L5_1
function L5_1(A0_2)
local L1_2, L2_2
L1_2 = print
L2_2 = "Start"
L1_2(L2_2)
end
L1_1.Start = L5_1
function L5_1(A0_2)
local L1_2, L2_2
L1_2 = print
L2_2 = "OnDestroy"
L1_2(L2_2)
end
L1_1.OnDestroy = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = print
L3_2 = "OnMainFinished"
L2_2(L3_2)
end
L1_1.OnMainFinished = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = print
L3_2 = "OnMainFailed"
L2_2(L3_2)
end
L1_1.OnMainFailed = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = print
L3_2 = "OnMainCanceled"
L2_2(L3_2)
end
L1_1.OnMainCanceled = L5_1
function L5_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2, L6_2
L2_2 = param
if L2_2 == 1 then
L2_2 = print
L3_2 = "Talk 41316 Invoke"
L2_2(L3_2)
L2_2 = actorMgr
L3_2 = L2_2
L2_2 = L2_2.GetActor
L4_2 = L2_1.ActorAlias
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= nil then
L4_2 = L2_2
L3_2 = L2_2.FinishQuestID
L5_2 = false
L6_2 = 4131601
L3_2(L4_2, L5_2, L6_2)
end
end
end
L1_1.InvokeOnInteraction = L5_1
return L1_1