fix: broken mermaid block in Mail/Inbox section
+5
-9
@@ -214,15 +214,11 @@ flowchart TD
|
||||
Merge --> Filter[Filter by: not deleted,<br/>within date range,<br/>not expired]
|
||||
Filter --> Response[Return to client]
|
||||
|
||||
Client -->|claim_mail_reward| CW{
|
||||
[Back to top](#top)
|
||||
---
|
||||
|
||||
## Mail/Inbox System
|
||||
|
||||
```mermaid
|
||||
flowchart TD
|
||||
Admin[Admin RPC] -->|admin_send_mail| Global[Global Mail<br/>config/global_mail<br/>system user]
|
||||
Client -->|claim_mail_reward| CW{Check claimed_ids}
|
||||
CW -->|Already claimed| Err[error: Reward already claimed]
|
||||
CW -->|Not claimed| Grant[Grant rewards:<br/>gold/star -> wallet<br/>fragments -> fragment storage<br/>skins -> inventory storage]
|
||||
Grant --> UpdateState[Update state:<br/>add mailId to claimed_ids]
|
||||
```[Global Mail<br/>config/global_mail<br/>system user]
|
||||
Admin -->|admin_send_mail<br/>with target_user_id| Personal[Personal Mail<br/>inbox/personal<br/>per user]
|
||||
|
||||
Client -->|get_mail| Merge[Merge global + personal]
|
||||
|
||||
Reference in New Issue
Block a user