We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e925c commit e448b9fCopy full SHA for e448b9f
1 file changed
library/snapshot.lua
@@ -109,8 +109,9 @@ local snap = {}
109
110
---Allocates a new id for a snapshot item.
111
---Make sure to free it if you no longer send the snap item.
112
+---Can return nil if no more ids are left.
113
---Using `ddnetpp.snap.free_id(id)`
----@return integer snap_item_id # the next free id that can be used for snapshot items
114
+---@return integer|nil snap_item_id # the next free id that can be used for snapshot items
115
function snap.new_id() end
116
117
---Frees an snapshot item id that was allocated
0 commit comments