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