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 7395047 commit 635c596Copy full SHA for 635c596
1 file changed
library/snapshot.lua
@@ -43,11 +43,11 @@
43
44
---@class SnapItemPlayerInfo
45
---@field id integer # Snap item id that should be unique per snap item, use `ddnetpp.snap.new_id()` for that
46
----@field is_local boolean # If set to true the snap receiver will use this as its own info
+---@field is_local? boolean # If set to true the snap receiver will use this as its own info
47
---@field client_id integer
48
----@field team integer # See ddnetpp.team.* constants for possible values (but without team.ALL xd)
49
----@field score integer
50
----@field latency integer
+---@field team? integer # See ddnetpp.team.* constants for possible values (but without team.ALL xd)
+---@field score? integer
+---@field latency? integer
51
52
---@class Snapshot
53
local snap = {}
0 commit comments