rename HudDefinition -> HUDDefinition

This commit is contained in:
Van
2026-06-16 13:44:40 +03:00
parent e3eaa126b3
commit 5272c8e5a8
2 changed files with 4 additions and 4 deletions

View File

@@ -243,7 +243,7 @@ function Player:set_physics_override(override_table) end
function Player:get_physics_override() end
--- Add a HUD element described by HUD def, returns ID number on success.
--- @param hud_definition HudDefinition
--- @param hud_definition HUDDefinition
--- @return integer
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.
--- @param id integer
--- @return HudDefinition
--- @return HUDDefinition
function Player:hud_get(id) end
--- @class Player.hud_flags

View File

@@ -1,8 +1,8 @@
--- @meta
--- @class HudDefinition
local HudDefinition = {
--- @class HUDDefinition
local HUDDefinition = {
--- Name of the HUD element.
---
--- The `name` field is not yet used, but should contain a description of what the HUD element represents.