cocolabs / pz-zdoc

ZomboidDoc is a Lua library compiler for Project Zomboid.
GNU General Public License v3.0
26 stars 10 forks source link

Missing member documentation #65

Closed matshou closed 3 years ago

matshou commented 3 years ago

Fields and methods are missing documentation comments.

For example method InventoryItem#getCurrentCondition() is missing documentation.

API doc:

public float getCurrentCondition()

Return the real condition of the weapon, based on this calcul : Condition/ConditionMax * 100

Returns:
    float 

Compiled:

---@public
---@return float
function InventoryItem:getCurrentCondition() end
matshou commented 3 years ago

Resolved by #72 and #73.