mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix: types
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
---@field coords vector3
|
||||
---@field distance number
|
||||
---@field currentDistance number
|
||||
---@field isClosest boolean?
|
||||
---@field isClosest? boolean
|
||||
---@field remove fun()
|
||||
---@field onEnter fun(self: CPoint)?
|
||||
---@field onExit fun(self: CPoint)?
|
||||
---@field nearby fun(self: CPoint)?
|
||||
---@field onEnter? fun(self: CPoint)
|
||||
---@field onExit? fun(self: CPoint)
|
||||
---@field nearby? fun(self: CPoint)
|
||||
---@field [string] any
|
||||
|
||||
local points = {}
|
||||
local nearbyPoints = {}
|
||||
|
||||
@@ -9,6 +9,7 @@ local glm = require 'glm'
|
||||
---@field onEnter fun(self: CZone)?
|
||||
---@field onExit fun(self: CZone)?
|
||||
---@field inside fun(self: CZone)?
|
||||
---@field [string] any
|
||||
|
||||
---@type { [number]: CZone }
|
||||
Zones = {}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
---@field duration? number
|
||||
---@field position? NotificationPosition
|
||||
---@field type? NotificationType
|
||||
---@field style? string
|
||||
---@field style? { [string]: any }
|
||||
---@field icon? string;
|
||||
---@field iconColor? string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user