devilutionX/Source/dthread.h
Gleb Mazovetskiy 7e1fea6f76 clang-format all files in {Source,test}/
Also includes a few manual tweaks to comments and newlines for better results.

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-11-24 23:44:12 +01:00

19 lines
425 B
C++

/**
* @file dthread.h
*
* Interface of functions for updating game state from network commands.
*/
#pragma once
#include <memory>
#include "utils/stdcompat/cstddef.hpp"
namespace devilution {
void dthread_remove_player(uint8_t pnum);
void dthread_send_delta(int pnum, _cmd_id cmd, std::unique_ptr<byte[]> data, uint32_t len);
void dthread_start();
void DThreadCleanup();
} // namespace devilution