rename HudDefinition -> HUDDefinition
This commit is contained in:
@@ -243,7 +243,7 @@ function Player:set_physics_override(override_table) end
|
|||||||
function Player:get_physics_override() end
|
function Player:get_physics_override() end
|
||||||
|
|
||||||
--- Add a HUD element described by HUD def, returns ID number on success.
|
--- Add a HUD element described by HUD def, returns ID number on success.
|
||||||
--- @param hud_definition HudDefinition
|
--- @param hud_definition HUDDefinition
|
||||||
--- @return integer
|
--- @return integer
|
||||||
function Player:hud_add(hud_definition) end
|
function Player:hud_add(hud_definition) end
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ function Player:hud_change(id, stat, value) end
|
|||||||
|
|
||||||
--- Gets the HUD element definition structure of the specified ID.
|
--- Gets the HUD element definition structure of the specified ID.
|
||||||
--- @param id integer
|
--- @param id integer
|
||||||
--- @return HudDefinition
|
--- @return HUDDefinition
|
||||||
function Player:hud_get(id) end
|
function Player:hud_get(id) end
|
||||||
|
|
||||||
--- @class Player.hud_flags
|
--- @class Player.hud_flags
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
--- @meta
|
--- @meta
|
||||||
|
|
||||||
|
|
||||||
--- @class HudDefinition
|
--- @class HUDDefinition
|
||||||
local HudDefinition = {
|
local HUDDefinition = {
|
||||||
--- Name of the HUD element.
|
--- Name of the HUD element.
|
||||||
---
|
---
|
||||||
--- The `name` field is not yet used, but should contain a description of what the HUD element represents.
|
--- The `name` field is not yet used, but should contain a description of what the HUD element represents.
|
||||||
|
|||||||
Reference in New Issue
Block a user