forked from overextended/ox_doorlock
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtypes.lua
More file actions
23 lines (22 loc) · 740 Bytes
/
types.lua
File metadata and controls
23 lines (22 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---@class DrawSpriteProps
---@field [1] string textureDict
---@field [2] string textureName
---@field [3] number screenX
---@field [4] number screenY
---@field [5] number width
---@field [6] number height
---@field [7] number heading
---@field [8] integer red
---@field [9] integer green
---@field [10] integer blue
---@field [11] integer alpha
---@class DoorlockConfig
---@field Notify boolean
---@field DrawTextUI boolean
---@field CommandPrincipal string
---@field PlayerAceAuthorised boolean
---@field LockDifficulty SkillCheckDifficulity | SkillCheckDifficulity[]
---@field CanPickUnlockedDoors boolean
---@field LockpickItems string[]
---@field NativeAudio boolean
---@field DrawSprite { [0]: DrawSpriteProps, [1]: DrawSpriteProps }