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 11, 2024
1 parent d0bcff7 commit 4a7d056
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21254,6 +21254,26 @@ <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_get_metadata">set_pre_get_metadata(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;int&gt; get_metadata(Entity self)</code><br/>Virtual function docs:<br/>e.g. for turkey: stores health, poison/curse state, for mattock: remaining swings (returned value is transferred)</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_get_metadata">set_post_get_metadata(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil get_metadata(Entity self)</code><br/>Virtual function docs:<br/>e.g. for turkey: stores health, poison/curse state, for mattock: remaining swings (returned value is transferred)</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_metadata">set_pre_apply_metadata(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool apply_metadata(Entity self, int metadata)</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_metadata">set_post_apply_metadata(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil apply_metadata(Entity self, int metadata)</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>
Expand Down Expand Up @@ -30451,6 +30471,16 @@ <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.GET_METADATA">GET_METADATA</a></td>
<td>27</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.APPLY_METADATA">APPLY_METADATA</a></td>
<td>28</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>
Expand Down
30 changes: 30 additions & 0 deletions docs/light.html
Original file line number Diff line number Diff line change
Expand Up @@ -21254,6 +21254,26 @@ <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_get_metadata">set_pre_get_metadata(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>optional&lt;int&gt; get_metadata(Entity self)</code><br/>Virtual function docs:<br/>e.g. for turkey: stores health, poison/curse state, for mattock: remaining swings (returned value is transferred)</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_get_metadata">set_post_get_metadata(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil get_metadata(Entity self)</code><br/>Virtual function docs:<br/>e.g. for turkey: stores health, poison/curse state, for mattock: remaining swings (returned value is transferred)</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_metadata">set_pre_apply_metadata(function fun)</a></td>
<td>Hooks before the virtual function.<br/>The callback signature is <code>bool apply_metadata(Entity self, int metadata)</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_metadata">set_post_apply_metadata(function fun)</a></td>
<td>Hooks after the virtual function.<br/>The callback signature is <code>nil apply_metadata(Entity self, int metadata)</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>
Expand Down Expand Up @@ -30451,6 +30471,16 @@ <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.GET_METADATA">GET_METADATA</a></td>
<td>27</td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com/spelunky-fyi/overlunky/search?l=Lua&amp;q=ENTITY_OVERRIDE.APPLY_METADATA">APPLY_METADATA</a></td>
<td>28</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>
Expand Down

0 comments on commit 4a7d056

Please sign in to comment.