Re-ran autogen

This commit is contained in:
MysterD 2022-08-07 15:26:32 -07:00
parent d87dd73db1
commit b3923f0b5f
5 changed files with 17 additions and 2 deletions

View File

@ -7845,6 +7845,17 @@ WATER_STEP_HIT_WALL = 4
--- @type integer
WATER_STEP_NONE = 0
--- @class LuaActionHookType
--- @type LuaActionHookType
ACTION_HOOK_EVERY_FRAME = 0
--- @type LuaActionHookType
ACTION_HOOK_GRAVITY = 1
--- @type LuaActionHookType
ACTION_HOOK_MAX = 2
--- @class LuaHookedEventType
--- @type LuaHookedEventType

View File

@ -772,6 +772,7 @@
--- @field public currLevelAreaSeqId integer
--- @field public currLevelNum integer
--- @field public currLevelSyncValid boolean
--- @field public currPositionValid boolean
--- @field public description string
--- @field public descriptionA integer
--- @field public descriptionB integer

View File

@ -1110,6 +1110,7 @@
| currLevelAreaSeqId | `integer` | read-only |
| currLevelNum | `integer` | read-only |
| currLevelSyncValid | `boolean` | read-only |
| currPositionValid | `boolean` | read-only |
| description | `string` | read-only |
| descriptionA | `integer` | read-only |
| descriptionB | `integer` | read-only |

View File

@ -891,7 +891,7 @@ static struct LuaObjectField sModeTransitionInfoFields[LUA_MODE_TRANSITION_INFO_
{ "transitionStart", LVT_COBJECT, offsetof(struct ModeTransitionInfo, transitionStart), true, LOT_LINEARTRANSITIONPOINT },
};
#define LUA_NETWORK_PLAYER_FIELD_COUNT 28
#define LUA_NETWORK_PLAYER_FIELD_COUNT 29
static struct LuaObjectField sNetworkPlayerFields[LUA_NETWORK_PLAYER_FIELD_COUNT] = {
{ "connected", LVT_BOOL, offsetof(struct NetworkPlayer, connected), true, LOT_NONE },
{ "currActNum", LVT_S16, offsetof(struct NetworkPlayer, currActNum), true, LOT_NONE },
@ -901,6 +901,7 @@ static struct LuaObjectField sNetworkPlayerFields[LUA_NETWORK_PLAYER_FIELD_COUNT
{ "currLevelAreaSeqId", LVT_U16, offsetof(struct NetworkPlayer, currLevelAreaSeqId), true, LOT_NONE },
{ "currLevelNum", LVT_S16, offsetof(struct NetworkPlayer, currLevelNum), true, LOT_NONE },
{ "currLevelSyncValid", LVT_BOOL, offsetof(struct NetworkPlayer, currLevelSyncValid), true, LOT_NONE },
{ "currPositionValid", LVT_BOOL, offsetof(struct NetworkPlayer, currPositionValid), true, LOT_NONE },
{ "description", LVT_STRING, offsetof(struct NetworkPlayer, description), true, LOT_NONE },
{ "descriptionA", LVT_U8, offsetof(struct NetworkPlayer, descriptionA), true, LOT_NONE },
{ "descriptionB", LVT_U8, offsetof(struct NetworkPlayer, descriptionB), true, LOT_NONE },

View File

@ -2819,7 +2819,8 @@ char gSmluaConstants[] = ""
"HOOK_ON_OBJECT_RENDER = 20\n"
"HOOK_ON_DEATH = 21\n"
"HOOK_ON_PACKET_RECEIVE = 22\n"
"HOOK_MAX = 23\n"
"HOOK_USE_ACT_SELECT = 23\n"
"HOOK_MAX = 24\n"
"ACTION_HOOK_EVERY_FRAME = 0\n"
"ACTION_HOOK_GRAVITY = 1\n"
"ACTION_HOOK_MAX = 2\n"