Мелочи
This commit is contained in:
@@ -179,7 +179,7 @@ protected:
|
||||
};
|
||||
|
||||
class AsyncSocket : public AsyncObject {
|
||||
NetPool::Array<16> RecvBuffer, SendBuffer;
|
||||
NetPool::Array<32> RecvBuffer, SendBuffer;
|
||||
size_t RecvPos = 0, RecvSize = 0, SendSize = 0;
|
||||
bool ReadShutdowned = false;
|
||||
tcp::socket Socket;
|
||||
|
||||
@@ -81,6 +81,7 @@ class GameServer : public AsyncObject {
|
||||
// Вычисляет окружности обозримой области
|
||||
// depth ограничивает глубину входа в ContentBridges
|
||||
std::vector<ContentViewCircle> accumulateContentViewCircles(ContentViewCircle circle, int depth = 2);
|
||||
// Вынести в отдельный поток
|
||||
static ContentViewGlobal makeContentViewGlobal(const std::vector<ContentViewCircle> &views);
|
||||
ContentViewGlobal makeContentViewGlobal(ContentViewCircle circle, int depth = 2) {
|
||||
return makeContentViewGlobal(accumulateContentViewCircles(circle, depth));
|
||||
|
||||
Reference in New Issue
Block a user