doc: update README
This commit is contained in:
parent
c40277657e
commit
c1d15d6bd5
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
|
@ -44,6 +44,27 @@ cmake --build build
|
|||
- DatabaseManager: 비동기 데이터베이스 작업 및 락 제어
|
||||
- Packet: Protobuf 기반 직렬화 프로토콜 (proto/Protocol.proto)
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
Client("Python GUI Client") <-->|"Protobuf (Packet)"| NetworkService
|
||||
|
||||
subgraph Server ["C++20 Sword Game Server"]
|
||||
NetworkService["NetworkService(io_context 이벤트 루프)"]
|
||||
SessionManager["SessionManager(글로벌 세션 관리 및 브로드캐스팅)"]
|
||||
Session["Session(개별 클라이언트 비동기 송수신)"]
|
||||
PacketHandler["PacketHandler(패킷 ID별 로직 디스패칭)"]
|
||||
DatabaseManager["DatabaseManager(비동기 DB 작업 및 락 제어)"]
|
||||
|
||||
NetworkService -->|"Connection Accept"| Session
|
||||
SessionManager -.->|"Manage & Broadcast"| Session
|
||||
Session <-->|"Dispatch / Response"| PacketHandler
|
||||
PacketHandler <-->|"Request DB Operation"| DatabaseManager
|
||||
PacketHandler -->|"Broadcast Request"| SessionManager
|
||||
end
|
||||
|
||||
DatabaseManager <-->|"SQL / 비동기 통신"| MySQL[(MySQL DB)]
|
||||
```
|
||||
|
||||
## Python GUI 클라이언트
|
||||
|
||||
[README.md](https://git.bumpsoo.dev/bumpsoo/sword_game/src/branch/main/client/README.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue