Skip to content

Commit

Permalink
update slate[no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 9, 2023
1 parent bf9f2bd commit d3b3d93
Show file tree
Hide file tree
Showing 4 changed files with 462 additions and 0 deletions.
210 changes: 210 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18640,6 +18640,16 @@ <h3 id='Entity'>Entity</h3>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_create_rendering_info">set_pre_create_rendering_info(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool create_rendering_info(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_create_rendering_info">set_post_create_rendering_info(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil create_rendering_info(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_update_state_machine">set_pre_update_state_machine(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool update_state_machine(Entity self)</code></td>
</tr>
Expand Down Expand Up @@ -18680,6 +18690,46 @@ <h3 id='Entity'>Entity</h3>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_can_be_pushed">set_pre_can_be_pushed(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;bool&gt; can_be_pushed(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_can_be_pushed">set_post_can_be_pushed(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil can_be_pushed(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_is_in_liquid">set_pre_is_in_liquid(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;bool&gt; is_in_liquid(Entity self)</code><br/>Virtual function docs:<br/>Returns true if entity is in water/lava</td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_is_in_liquid">set_post_is_in_liquid(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil is_in_liquid(Entity self)</code><br/>Virtual function docs:<br/>Returns true if entity is in water/lava</td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_set_invisible">set_pre_set_invisible(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool set_invisible(Entity self, bool value)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_set_invisible">set_post_set_invisible(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil set_invisible(Entity self, bool value)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_friction">set_pre_friction(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;float&gt; friction(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_friction">set_post_friction(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil friction(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_get_held_entity">set_pre_get_held_entity(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;Entity&gt; get_held_entity(Entity self)</code></td>
</tr>
Expand All @@ -18700,6 +18750,16 @@ <h3 id='Entity'>Entity</h3>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_activate">set_pre_activate(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool activate(Entity self, Entity activator)</code><br/>Virtual function docs:<br/>Activates a button prompt (with the Use door/Buy button), e.g. buy shop item, activate drill, read sign, interact in camp, ... <code>get_entity(&lt;udjat socket uid&gt;):activate(players[1])</code> (make sure player 1 has the udjat eye though)</td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_activate">set_post_activate(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil activate(Entity self, Entity activator)</code><br/>Virtual function docs:<br/>Activates a button prompt (with the Use door/Buy button), e.g. buy shop item, activate drill, read sign, interact in camp, ... <code>get_entity(&lt;udjat socket uid&gt;):activate(players[1])</code> (make sure player 1 has the udjat eye though)</td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_on_collision2">set_pre_on_collision2(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool on_collision2(Entity self, Entity other_entity)</code></td>
</tr>
Expand All @@ -18708,6 +18768,56 @@ <h3 id='Entity'>Entity</h3>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_on_collision2">set_post_on_collision2(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil on_collision2(Entity self, Entity other_entity)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_walked_on">set_pre_walked_on(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool walked_on(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_walked_on">set_post_walked_on(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil walked_on(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_walked_off">set_pre_walked_off(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool walked_off(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_walked_off">set_post_walked_off(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil walked_off(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_ledge_grab">set_pre_ledge_grab(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool ledge_grab(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_ledge_grab">set_post_ledge_grab(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil ledge_grab(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_stood_on">set_pre_stood_on(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool stood_on(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_stood_on">set_post_stood_on(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil stood_on(Entity self, Entity*)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_init">set_pre_init(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool init(Entity self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_init">set_post_init(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil init(Entity self)</code></td>
</tr>
</tbody></table>
<h3 id='IceSlidingSound'>IceSlidingSound</h3>
<p>Derived from <a href="#Entity">Entity</a> <a href="#LogicalSound">LogicalSound</a></p>
Expand Down Expand Up @@ -25024,6 +25134,36 @@ <h3 id='Movable'>Movable</h3>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_damage">set_post_damage(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil damage(Movable self, int damage_dealer_uid, int damage_amount, int stun_time, float velocity_x, float velocity_y, int iframes)</code><br/>Virtual function docs:<br/>Damage the movable by the specified amount, stuns and gives it invincibility for the specified amount of frames and applies the velocities<br/>Returns: true if entity was affected, damage_dealer should break etc. false if the event should be ignored by damage_dealer?</td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_apply_movement">set_pre_apply_movement(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool apply_movement(Movable self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_apply_movement">set_post_apply_movement(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil apply_movement(Movable self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_check_is_falling">set_pre_check_is_falling(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool check_is_falling(Movable self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_check_is_falling">set_post_check_is_falling(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil check_is_falling(Movable self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_pre_process_input">set_pre_process_input(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool process_input(Movable self)</code></td>
</tr>
<tr>
<td><a href="#Aliases">CallbackId</a></td>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=set_post_process_input">set_post_process_input(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil process_input(Movable self)</code></td>
</tr>
</tbody></table>
<h3 id='MovingIcon'>MovingIcon</h3>
<p>Derived from <a href="#Entity">Entity</a> <a href="#Movable">Movable</a></p>
Expand Down Expand Up @@ -27362,6 +27502,11 @@ <h2 id='ENTITY_OVERRIDE'>ENTITY_OVERRIDE</h2>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.CREATE_RENDERING_INFO">CREATE_RENDERING_INFO</a></td>
<td>1</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.UPDATE_STATE_MACHINE">UPDATE_STATE_MACHINE</a></td>
<td>2</td>
<td></td>
Expand All @@ -27382,6 +27527,26 @@ <h2 id='ENTITY_OVERRIDE'>ENTITY_OVERRIDE</h2>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.CAN_BE_PUSHED">CAN_BE_PUSHED</a></td>
<td>10</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.IS_IN_LIQUID">IS_IN_LIQUID</a></td>
<td>12</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.SET_INVISIBLE">SET_INVISIBLE</a></td>
<td>15</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.FRICTION">FRICTION</a></td>
<td>17</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.GET_HELD_ENTITY">GET_HELD_ENTITY</a></td>
<td>22</td>
<td></td>
Expand All @@ -27392,16 +27557,61 @@ <h2 id='ENTITY_OVERRIDE'>ENTITY_OVERRIDE</h2>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.ACTIVATE">ACTIVATE</a></td>
<td>25</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.ON_COLLISION2">ON_COLLISION2</a></td>
<td>26</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.WALKED_ON">WALKED_ON</a></td>
<td>29</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.WALKED_OFF">WALKED_OFF</a></td>
<td>30</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.LEDGE_GRAB">LEDGE_GRAB</a></td>
<td>31</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.STOOD_ON">STOOD_ON</a></td>
<td>32</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.INIT">INIT</a></td>
<td>36</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.DAMAGE">DAMAGE</a></td>
<td>48</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.APPLY_MOVEMENT">APPLY_MOVEMENT</a></td>
<td>71</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.CHECK_IS_FALLING">CHECK_IS_FALLING</a></td>
<td>75</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.PROCESS_INPUT">PROCESS_INPUT</a></td>
<td>77</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.FLOOR_UPDATE">FLOOR_UPDATE</a></td>
<td>38</td>
<td></td>
Expand Down
Loading

0 comments on commit d3b3d93

Please sign in to comment.