mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-08 08:09:09 -10:00
* Fix MSVC warnings in msg.cpp * Move TBuffer to multi.cpp * Fix MSVC warnings in multi.cpp * SNet* change databytes to size_t * msg/muli/sync: Change playerId to uint8_t
18 lines
361 B
C++
18 lines
361 B
C++
/**
|
|
* @file sync.h
|
|
*
|
|
* Interface of functionality for syncing game state with other players.
|
|
*/
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
namespace devilution {
|
|
|
|
size_t sync_all_monsters(std::byte *pbBuf, size_t dwMaxLen);
|
|
uint32_t OnSyncData(const TCmd *pCmd, const Player &player);
|
|
void sync_init();
|
|
|
|
} // namespace devilution
|