You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
428 B
20 lines
428 B
/** |
|
* @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
|
|
|