mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 01:23:51 +00:00
memory, threading, network hardening
Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
This commit is contained in:
parent
312994be83
commit
2e8856bacd
9 changed files with 135 additions and 24 deletions
|
|
@ -361,6 +361,8 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
// MAIN-THREAD-ONLY: all entity map mutations happen via dispatchQueuedPackets()
|
||||
// which runs on the main thread. Do NOT access from the async network pump thread.
|
||||
std::unordered_map<uint64_t, std::shared_ptr<Entity>> entities;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue