From 52097b6ee7cc8f5a770eb851902560b5b8592218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Feb 2021 21:05:36 +0800 Subject: add meta/3rd with acknowledgement --- meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua | 55 +++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua (limited to 'meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua') diff --git a/meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua b/meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua new file mode 100644 index 00000000..32c7278a --- /dev/null +++ b/meta/3rd/Cocos4.0/ccs.ActionTimelineCache.lua @@ -0,0 +1,55 @@ + +---@class ccs.ActionTimelineCache +local ActionTimelineCache={ } +ccs.ActionTimelineCache=ActionTimelineCache + + + + +---* Clone a action with the specified name from the container. +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:createActionFromJson (fileName) end +---* +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:createActionWithFlatBuffersFile (fileName) end +---* +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:loadAnimationActionWithFlatBuffersFile (fileName) end +---* +---@param fileName string +---@param content string +---@return ccs.ActionTimeline +function ActionTimelineCache:createActionFromContent (fileName,content) end +---* +---@return self +function ActionTimelineCache:purge () end +---* +---@return self +function ActionTimelineCache:init () end +---* +---@param fileName string +---@param content string +---@return ccs.ActionTimeline +function ActionTimelineCache:loadAnimationActionWithContent (fileName,content) end +---* +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:loadAnimationActionWithFile (fileName) end +---* Remove action with filename, and also remove other resource relate with this file +---@param fileName string +---@return self +function ActionTimelineCache:removeAction (fileName) end +---* +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:createActionWithFlatBuffersForSimulator (fileName) end +---* Destroys the singleton +---@return self +function ActionTimelineCache:destroyInstance () end +---* +---@param fileName string +---@return ccs.ActionTimeline +function ActionTimelineCache:createAction (fileName) end \ No newline at end of file -- cgit v1.2.3