22 lines
363 B
C++
22 lines
363 B
C++
/**
|
|
* @file sync.h
|
|
*
|
|
* Interface of functionality for syncing game state with other players.
|
|
*/
|
|
#pragma once
|
|
|
|
namespace devilution {
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
Uint32 sync_all_monsters(const Uint8 *pbBuf, Uint32 dwMaxLen);
|
|
Uint32 sync_update(int pnum, const Uint8 *pbBuf);
|
|
void sync_init();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
}
|