mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
144 lines
2.9 KiB
Lua
144 lines
2.9 KiB
Lua
local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
|
|
L0_1 = {}
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2
|
|
L2_2 = singletonManager
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.GetSingletonInstance
|
|
L4_2 = A1_2
|
|
L2_2 = L2_2(L3_2, L4_2)
|
|
if L2_2 == nil then
|
|
L3_2 = print
|
|
L4_2 = "Get Singleton "
|
|
L5_2 = A1_2
|
|
L6_2 = " Failed"
|
|
L4_2 = L4_2 .. L5_2 .. L6_2
|
|
L3_2(L4_2)
|
|
end
|
|
return L2_2
|
|
end
|
|
L0_1.GetSingleton = L1_1
|
|
L1_1 = nil
|
|
function L2_1(A0_2)
|
|
local L1_2, L2_2, L3_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.GetSingleton
|
|
L3_2 = "MoleMole.LuaManager"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L1_1 = L1_2
|
|
end
|
|
L0_1.Init = L2_1
|
|
L2_1 = nil
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2
|
|
L2_2 = A0_2
|
|
L1_2 = A0_2.GetSingleton
|
|
L3_2 = "MoleMole.EntityManager"
|
|
L1_2 = L1_2(L2_2, L3_2)
|
|
L2_1 = L1_2
|
|
end
|
|
L0_1.OnSceneLoaded = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2
|
|
L1_2 = print
|
|
L2_2 = "Here local avatar loaded!"
|
|
L1_2(L2_2)
|
|
end
|
|
L0_1.OnFinishLoadScene = L3_1
|
|
L3_1 = {}
|
|
L4_1 = {}
|
|
L5_1 = CutsceneType
|
|
L5_1 = L5_1.TIME_LINE_PREFAB
|
|
L4_1.type = L5_1
|
|
L4_1.canSkip = true
|
|
L4_1.resPath = "ART/Cutscene/Cs_Opening_CutScene2_Convert"
|
|
L5_1 = CutsceneInitPosType
|
|
L5_1 = L5_1.FREE
|
|
L4_1.startPosType = L5_1
|
|
L5_1 = {}
|
|
L6_1 = 0
|
|
L7_1 = 0
|
|
L8_1 = 0
|
|
L5_1[1] = L6_1
|
|
L5_1[2] = L7_1
|
|
L5_1[3] = L8_1
|
|
L4_1.startOffset = L5_1
|
|
L4_1.keepCamera = true
|
|
L4_1.modifyLastPoseOffset = true
|
|
L5_1 = {}
|
|
L6_1 = CutsceneType
|
|
L6_1 = L6_1.TIME_LINE_PREFAB
|
|
L5_1.type = L6_1
|
|
L5_1.canSkip = true
|
|
L5_1.castListPath = "Cs_CastList_Q354"
|
|
L5_1.roleSheetPath = ""
|
|
L5_1.resPath = "ART/Cutscene/Cs_DragonInMDCity_CutScene_Convert"
|
|
L6_1 = CutsceneInitPosType
|
|
L6_1 = L6_1.FREE
|
|
L5_1.startPosType = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0
|
|
L6_1.y = 0
|
|
L6_1.z = 0
|
|
L5_1.startOffset = L6_1
|
|
L3_1[1] = L4_1
|
|
L3_1[2] = L5_1
|
|
L0_1.CutsceneTestDic = L3_1
|
|
function L3_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2
|
|
L2_2 = print
|
|
L3_2 = "Here test cutscene!"
|
|
L2_2(L3_2)
|
|
L2_2 = print
|
|
L3_2 = A1_2
|
|
L2_2(L3_2)
|
|
L2_2 = globalActor
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.PlayCutscene
|
|
L4_2 = L0_1.CutsceneTestDic
|
|
L4_2 = L4_2[A1_2]
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L0_1.Cutscene = L3_1
|
|
function L3_1(A0_2)
|
|
local L1_2, L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L1_2 = actorUtils
|
|
L1_2 = L1_2.GetAvatarPos
|
|
L1_2 = L1_2()
|
|
L2_2 = globalActor
|
|
L3_2 = L2_2
|
|
L2_2 = L2_2.PlayFreeCutscene
|
|
L4_2 = {}
|
|
L5_2 = CutsceneType
|
|
L5_2 = L5_2.TIME_LINE_PREFAB
|
|
L4_2.type = L5_2
|
|
L4_2.roleSheetPath = ""
|
|
L4_2.resPath = "ART/CameraAni/Quest/Ca_Quest_MQ361_DragonFlyT_Test"
|
|
L5_2 = CutsceneInitPosType
|
|
L5_2 = L5_2.FREE
|
|
L4_2.startPosType = L5_2
|
|
L5_2 = {}
|
|
L6_2 = L1_2.x
|
|
L5_2.x = L6_2
|
|
L6_2 = L1_2.y
|
|
L6_2 = L6_2 + 15
|
|
L5_2.y = L6_2
|
|
L6_2 = L1_2.z
|
|
L6_2 = L6_2 + 10
|
|
L5_2.z = L6_2
|
|
L4_2.startOffset = L5_2
|
|
L4_2.useTargetPos = true
|
|
L5_2 = {}
|
|
L6_2 = 2450
|
|
L7_2 = 200
|
|
L8_2 = -1174
|
|
L5_2[1] = L6_2
|
|
L5_2[2] = L7_2
|
|
L5_2[3] = L8_2
|
|
L4_2.targetPos = L5_2
|
|
L4_2.syncLoad = true
|
|
L2_2(L3_2, L4_2)
|
|
end
|
|
L0_1.FreeCutscene = L3_1
|
|
return L0_1
|