forked from FAForever/fa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCUIWorldView.lua
100 lines (80 loc) · 1.78 KB
/
CUIWorldView.lua
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
93
94
95
96
97
98
99
100
---@meta
---@class moho.UIWorldView : moho.control_methods
local CUIWorldView = {}
---
---@param parentControl Control
---@param cameraName string
---@param depth number
---@param isMiniMap boolean
---@param trackCamera boolean
function CUIWorldView:__init(parentControl, cameraName, depth, isMiniMap, trackCamera)
end
---
function CUIWorldView:CameraReset()
end
---
---@param enable boolean
function CUIWorldView:EnableResourceRendering(enable)
end
---
---@return string
function CUIWorldView:GetRightMouseButtonOrder()
end
---
---@param unit Unit
---@return Vector2 | nil
function CUIWorldView:GetScreenPos(unit)
end
---
---@param getsCommands boolean
function CUIWorldView:GetsGlobalCameraCommands(getsCommands)
end
---
---@return boolean
function CUIWorldView:HasHighlightCommand()
end
---
---@return boolean
function CUIWorldView:IsCartographic()
end
---
---@param camera Camera
function CUIWorldView:IsInputLocked(camera)
end
---
---@return boolean
function CUIWorldView:IsResourceRenderingEnabled()
end
---
---@param camera Camera
function CUIWorldView:LockInput(camera)
end
--- Given a point in world space, project the point to control space
---@param position Vector
---@return Vector2
function CUIWorldView:Project(position)
end
---
---@param cartographic boolean
function CUIWorldView:SetCartographic(cartographic)
end
---
---@param enabled boolean
function CUIWorldView:SetHighlightEnabled(enabled)
end
---
---@return boolean
function CUIWorldView:ShowConvertToPatrolCursor()
end
---
---@param camera Camera
function CUIWorldView:UnlockInput(camera)
end
--- Cause the world to zoom based on wheel rotation event
---@param x number
---@param y number
---@param wheelRot number
---@param wheelDelta number
function CUIWorldView:ZoomScale(x, y, wheelRot, wheelDelta)
end
return CUIWorldView