Files
obligaron ccaf8d1dac Use uint8_t in msg/multi/sync and fix MSVC warnings (#6856)
* 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
2023-12-16 18:56:06 +01:00

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