Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/votv-coop/include/coop/interactables/atv_sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,8 @@ void Tick();
// single-player), then clear the index + interp state.
void OnDisconnect();

} // namespace coop::atv_sync
// Interaction query: true iff `actor` is indexed as an ATV currently occupied by another network
// peer (occupantSlot != 0xFF && occupantSlot != LocalSlot()). Populates `outOccupantSlot` if non-null.
bool IsOccupiedByOther(void* actor, uint8_t* outOccupantSlot = nullptr);

} // namespace coop::atv_sync
Loading