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/cc.EventCustom.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/3rd/Cocos4.0/cc.EventCustom.lua (limited to 'meta/3rd/Cocos4.0/cc.EventCustom.lua') diff --git a/meta/3rd/Cocos4.0/cc.EventCustom.lua b/meta/3rd/Cocos4.0/cc.EventCustom.lua new file mode 100644 index 00000000..c22bf161 --- /dev/null +++ b/meta/3rd/Cocos4.0/cc.EventCustom.lua @@ -0,0 +1,18 @@ + +---@class cc.EventCustom :cc.Event +local EventCustom={ } +cc.EventCustom=EventCustom + + + + +---* Gets event name.
+---* return The name of the event. +---@return string +function EventCustom:getEventName () end +---* Constructor.
+---* param eventName A given name of the custom event.
+---* js ctor +---@param eventName string +---@return self +function EventCustom:EventCustom (eventName) end \ No newline at end of file -- cgit v1.2.3