PGRData/Resources/Scripts/XMovieActions/XMovieActionDelaySkip.lua
2022-12-26 14:06:01 +05:30

14 lines
No EOL
457 B
Lua

local XMovieActionDelaySkip = XClass(XMovieActionBase, "XMovieActionDelaySkip")
function XMovieActionDelaySkip:Ctor(actionData)
local params = actionData.Params
local paramToNumber = XDataCenter.MovieManager.ParamToNumber
self.DelaySelectKey = paramToNumber(params[1])
end
function XMovieActionDelaySkip:GetDelaySelectActionId()
return XDataCenter.MovieManager.GetDelaySelectActionId(self.DelaySelectKey)
end
return XMovieActionDelaySkip