mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
port map: updateInvisibilityStatus is guest_body's invisible flag
Row 133 cited crates/horizon-client/src/game/lan.rs::Game::lan_host_state, which is not a fn in that file. The spectator-and-effect invisibility that ServerPlayer.updateInvisibilityStatus decides is lan/hub.rs::guest_body's invisible flag, which shared_flags sends as the shared-flag bit 0x20 whenever it changes. The row stays inline; its empty note now says what it is folded into. map-check tools/port_map/game-002.tsv: 146 rows, no problems.
This commit is contained in:
1 parent
714c70cb70
commit
efa9d63169
1 file changed
+1
-1
@@ -130,7 +130,7 @@ ServerPlayer.getIpAddress skip:server for ban-ip and the dedicated server log
|
||||
ServerPlayer.updateOptions port crates/horizon-client/src/lan/hub.rs::Hub::process_inbox the ClientInformation arm: view distance, main hand, model parts and chat visibility are kept
|
||||
ServerPlayer.clientInformation skip:java getter
|
||||
ServerPlayer.sendServerStatus port crates/horizon-client/src/lan/hub.rs::Hub::place_new_player ServerData with the motd and icon at join
|
||||
ServerPlayer.updateInvisibilityStatus inline crates/horizon-client/src/game/lan.rs::Game::lan_host_state
|
||||
ServerPlayer.updateInvisibilityStatus inline crates/horizon-client/src/lan/hub.rs::guest_body a spectator is always invisible, else the invisibility effect decides; guest_body feeds the shared flags sent by ServerEntity.sendDirtyEntityData (shared_flags)
|
||||
ServerPlayer.drop port crates/horizon-client/src/game.rs::Game::player_drop item_dropped and drop statistics, thrower set
|
||||
ServerPlayer.calculateGameModeForNewPlayer port crates/horizon-client/src/game/lan.rs::Game::lan_guest_joined default or forced game mode for a new or force-gamemode guest
|
||||
ServerPlayer.storeGameTypes port crates/horizon-client/src/save.rs::Level::player_tag both are saved: playerGameType, and previousPlayerGameType (absent when unset, as storeNullable is), read back into previous_game_mode
|
||||
|
||||
|
Reference in new issue
Block a user