From 2d9c4a9f389a8fc243b7fe9209f83dcab884e305 Mon Sep 17 00:00:00 2001 From: Rolln Date: Tue, 20 Aug 2024 16:33:26 -0600 Subject: [PATCH] Added a wsType class needed for some of the Export functions. --- library/mission/types.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/library/mission/types.lua b/library/mission/types.lua index 6becd73..c5295fb 100644 --- a/library/mission/types.lua +++ b/library/mission/types.lua @@ -20,25 +20,31 @@ ---@field weapon_name string? ---`vec2.x = vec3.x = north`
`vec2.y = vec3.z = east` ----@class vec2 +---@class (exact) vec2 ---@field x number positive x is north ---@field y number positive y is east ---`vec3.x = north`
`vec3.y = up`
`vec3.z = east`
---![](https://www.digitalcombatsimulator.com/upload/medialibrary/c96/Pos3_illustration2.jpg) ----@class vec3 +---@class (exact) vec3 ---@field x number positive x is north ---@field y number positive y is up ---@field z number positive z is east ---A table describing how a unit's local nose, up, right axes translate to world axes using three unit vectors. Also contains its location.
`pos.x = vec3` unit vector of nose direction
`pos.y = vec3` unit vector of up direction
`pos.z = vec3` unit vector of right direction
`pos.p = vec3` location of the object
---![](https://www.digitalcombatsimulator.com/upload/medialibrary/c96/Pos3_illustration2.jpg) ----@class pos3 +---@class (exact) pos3 ---@field x vec3 nose unit vector ---@field y vec3 up unit vector ---@field z vec3 right unit vector ---@field p vec3 location vector ----@class zone +---@class (exact) zone ---@field point vec3 ----@field radius number \ No newline at end of file +---@field radius number + +---@class (exact) wsType +---@field level1 integer Level 1 type. +---@field level2 integer Level 2 type. +---@field level3 integer Level 3 type. +---@field level4 integer Level 4 type. \ No newline at end of file