autogen
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run

This commit is contained in:
PeachyPeachSM64 2026-02-19 18:45:42 +01:00
parent 0ce4163519
commit 692c61f361
5 changed files with 7 additions and 2 deletions

View file

@ -8191,6 +8191,9 @@ HOOK_MAX = 60 --- @type LuaHookedEventType
--- | `HOOK_ON_PACKET_BYTESTRING_RECEIVE`
--- | `HOOK_MAX`
--- @type integer
MAX_HOOKED_BEHAVIORS = 1024
HUD_DISPLAY_LIVES = 0 --- @type HudDisplayValue
HUD_DISPLAY_COINS = 1 --- @type HudDisplayValue
HUD_DISPLAY_STARS = 2 --- @type HudDisplayValue

View file

@ -3030,7 +3030,7 @@ end
--- @param name string
--- @return BehaviorId
--- gets a behavior ID from a behavior name
--- Gets a behavior ID from a behavior name
function get_id_from_behavior_name(name)
-- ...
end

View file

@ -3525,6 +3525,7 @@
| HOOK_ON_CLEAR_AREAS | 58 |
| HOOK_ON_PACKET_BYTESTRING_RECEIVE | 59 |
| HOOK_MAX | 60 |
- MAX_HOOKED_BEHAVIORS
[:arrow_up_small:](#)

View file

@ -261,7 +261,7 @@ Gets a behavior name from a behavior ID (bhvMyGreatMODCustom004)
## [get_id_from_behavior_name](#get_id_from_behavior_name)
### Description
gets a behavior ID from a behavior name
Gets a behavior ID from a behavior name
### Lua Example
`local enumValue = get_id_from_behavior_name(name)`

View file

@ -3493,6 +3493,7 @@ char gSmluaConstants[] = ""
"HOOK_ON_CLEAR_AREAS=58\n"
"HOOK_ON_PACKET_BYTESTRING_RECEIVE=59\n"
"HOOK_MAX=60\n"
"MAX_HOOKED_BEHAVIORS=1024\n"
"HUD_DISPLAY_LIVES=0\n"
"HUD_DISPLAY_COINS=1\n"
"HUD_DISPLAY_STARS=2\n"