summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/library/cc.MenuItem.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 20:51:43 +0800
commit8fefb8f3e100976235dc83d6ae3785952d11c710 (patch)
tree459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/library/cc.MenuItem.lua
parentb6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff)
downloadlua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.MenuItem.lua')
-rw-r--r--meta/3rd/Cocos4.0/library/cc.MenuItem.lua37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.MenuItem.lua b/meta/3rd/Cocos4.0/library/cc.MenuItem.lua
new file mode 100644
index 00000000..8405b5a2
--- /dev/null
+++ b/meta/3rd/Cocos4.0/library/cc.MenuItem.lua
@@ -0,0 +1,37 @@
+---@meta
+
+---@class cc.MenuItem :cc.Node
+local MenuItem={ }
+cc.MenuItem=MenuItem
+
+
+
+
+---* Enables or disables the item.
+---@param value boolean
+---@return self
+function MenuItem:setEnabled (value) end
+---* Activate the item.
+---@return self
+function MenuItem:activate () end
+---* Returns whether or not the item is enabled.
+---@return boolean
+function MenuItem:isEnabled () end
+---* The item was selected (not activated), similar to "mouse-over".
+---@return self
+function MenuItem:selected () end
+---* Returns whether or not the item is selected.
+---@return boolean
+function MenuItem:isSelected () end
+---* The item was unselected.
+---@return self
+function MenuItem:unselected () end
+---* Returns the outside box.
+---@return rect_table
+function MenuItem:rect () end
+---* js NA
+---@return string
+function MenuItem:getDescription () end
+---* js ctor
+---@return self
+function MenuItem:MenuItem () end \ No newline at end of file