mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
Refactor shared health to have a separate counter.
This commit is contained in:
parent
8ecb96606f
commit
37851b18cf
7 changed files with 46 additions and 12 deletions
|
@ -3,6 +3,8 @@
|
|||
- `ctx.hook.on_world_update()`
|
||||
- `ctx.hook.on_world_update_client()`
|
||||
- `ctx.hook.on_world_update_host()`
|
||||
- `ctx.hook.on_new_player_seen(new_playerdata)` - called the first time player with this peer_id has entered the world
|
||||
- `ctx.hook.on_local_player_spawn(my_player)`
|
||||
- `ctx.hook.on_client_spawned(peer_id, new_playerdata)`
|
||||
- `ctx.hook.on_should_send_updates()` - called either when we connect, or somebody else connects (and sends "welcome" message)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue