Files
2025-05-11 04:47:25 +01:00

21 lines
428 B
C++

/**
* @file sync.h
*
* Interface of functionality for syncing game state with other players.
*/
#pragma once
#include <cstddef>
#include <cstdint>
#include "msg.h"
#include "player.h"
namespace devilution {
size_t sync_all_monsters(std::byte *pbBuf, size_t dwMaxLen);
size_t OnSyncData(const TSyncHeader &header, size_t maxCmdSize, const Player &player);
void sync_init();
} // namespace devilution