-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcc.lua
More file actions
92 lines (69 loc) · 1.89 KB
/
Copy pathcc.lua
File metadata and controls
92 lines (69 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---@meta
---@class cc
local cc = {}
---@class CCOptions
local CCOptions = {}
---@class CCWeights
local CCWeights = {}
---@class CCBot
local CCBot = {}
---@return CCOptions
---@return CCWeights
function cc.getDefaultConfig() end
---@param options CCOptions
---@param weights CCWeights
---@return CCBot
function cc.launchAsync(options, weights) end
---@return string
function cc.about() end
---@param bot CCBot
---@param field boolean[]
---@param b2b integer
---@param combo integer
---@param pc_combo integer
---@param lines integer
---@param spawn integer
function CCBot:reset(bot, field, b2b, combo, pc_combo, lines, spawn) end
---@param piece integer
function CCBot:addNext(piece) end
---@param incoming? integer
function CCBot:think(incoming) end
---@return integer status
---@return boolean hold
---@return integer[][] target
---@return integer[] move
---@return integer b2b_gauge
---@return integer attack
---@return integer extra
---@return integer spawn
function CCBot:getMove() end
---@return integer status
---@return boolean hold
---@return integer[][] target
---@return integer[] move
---@return integer b2b_gauge
---@return integer attack
---@return integer extra
---@return integer spawn
function CCBot:blockNextMove() end
function CCOptions.defaultOptions() end
---@param canhold boolean
---@param is20g boolean
---@param isbag7 boolean
function CCOptions:setOptions(canhold, is20g, isbag7) end
---@param canhold boolean
function CCOptions:setHold(canhold) end
---@param is20g boolean
function CCOptions:set20G(is20g) end
---@param isbag7 boolean
function CCOptions:setBag(isbag7) end
---@param ispcloop boolean
function CCOptions:setPCLoop(ispcloop) end
---@param nodes integer
function CCOptions:setNode(nodes) end
function CCWeights:defaultWeights() end
---@param key string
---@param value number
function CCWeights:setWeights(key, value) end
function CCWeights:fastWeights() end
return cc