mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
87 lines
1.8 KiB
Lua
87 lines
1.8 KiB
Lua
local L0_1, L1_1, L2_1, L3_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 = "Quest350"
|
|
L3_1 = L0_1
|
|
L1_1 = L1_1(L2_1, L3_1)
|
|
L1_1.defaultAlias = "Quest350"
|
|
L2_1 = require
|
|
L3_1 = "Quest/Client/Q350ClientConfig"
|
|
L2_1 = L2_1(L3_1)
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subStartHandlers = L1_2
|
|
L1_2 = A0_2.subStartHandlers
|
|
L2_2 = A0_2.OnSubStart35001
|
|
L1_2["35001"] = L2_2
|
|
end
|
|
L1_1.OnSubStartHandlerBuild = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = {}
|
|
A0_2.subFinishHandlers = L1_2
|
|
L1_2 = A0_2.subFinishHandlers
|
|
L2_2 = A0_2.OnSubFinish35001
|
|
L1_2["35001"] = L2_2
|
|
end
|
|
L1_1.OnSubFinishHandlerBuild = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "35001 Start : Creat Limit Region"
|
|
L2_2(L3_2)
|
|
L2_2 = actorMgr
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.GetActor
|
|
L4_2 = "LimitRegionGlobal"
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
L4_2 = L2_2
|
|
L3_2 = L2_2.UseFreshmeatRegion
|
|
L3_2(L4_2)
|
|
end
|
|
L1_1.OnSubStart35001 = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "35001 Finish : Destroy Limit Region"
|
|
L2_2(L3_2)
|
|
L3_2 = A0_2
|
|
L2_2 = A0_2.ActionSafeCall
|
|
function L4_2(A0_3)
|
|
local L1_3, L2_3, L3_3, L4_3
|
|
L1_3 = actorMgr
|
|
L2_3 = L1_3
|
|
L1_3 = L1_3.GetActorInternal
|
|
L3_3 = "LimitRegionGlobal"
|
|
L1_3 = L1_3(L2_3, L3_3)
|
|
if L1_3 == nil then
|
|
return
|
|
end
|
|
L3_3 = L1_3
|
|
L2_3 = L1_3.FinishLimitRegion
|
|
L2_3(L3_3)
|
|
L2_3 = actorMgr
|
|
L3_3 = L2_3
|
|
L2_3 = L2_3.UnregisteSubGlobal
|
|
L4_3 = "LimitRegionGlobal"
|
|
L2_3(L3_3, L4_3)
|
|
end
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L1_1.OnSubFinish35001 = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.Start = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2
|
|
end
|
|
L1_1.OnDestroy = L3_1
|
|
return L1_1
|