forked from endernon/PGRData
15 lines
No EOL
391 B
Lua
15 lines
No EOL
391 B
Lua
local XMovieActionInterrupt = XClass(XMovieActionBase, "XMovieActionInterrupt")
|
|
|
|
function XMovieActionInterrupt:Ctor(actionData)
|
|
local params = actionData.Params
|
|
local paramToNumber = XDataCenter.MovieManager.ParamToNumber
|
|
|
|
self.CueId = paramToNumber(params[1])
|
|
end
|
|
|
|
function XMovieActionInterrupt:OnRunning()
|
|
XSoundManager.Stop(self.CueId)
|
|
end
|
|
|
|
|
|
return XMovieActionInterrupt |