From 3b63fd4ef7c4687eb6029e980cadced2730f16b7 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 13 Apr 2024 15:17:15 +0800 Subject: [PATCH] 1 --- server/mailserver/common/types.go | 1 + server/mailserver/mail/mailmgr.go | 4 ++++ third_party/q5 | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/server/mailserver/common/types.go b/server/mailserver/common/types.go index 145271d5..fd052c99 100644 --- a/server/mailserver/common/types.go +++ b/server/mailserver/common/types.go @@ -10,6 +10,7 @@ type App interface { type Player interface { Lock() UnLock() + GetHashCode() uint32 } type PlayerMgr interface{ diff --git a/server/mailserver/mail/mailmgr.go b/server/mailserver/mail/mailmgr.go index fc88a55b..af495338 100644 --- a/server/mailserver/mail/mailmgr.go +++ b/server/mailserver/mail/mailmgr.go @@ -49,3 +49,7 @@ func (this *mailMgr) caGetAttachment(common.Player, *gin.Context) { func (this *mailMgr) caDeleteMails(common.Player, *gin.Context) { } + +func (this *mailMgr) traversePlayerMail(hum common.Player, cb func(*mail) bool) { + +} diff --git a/third_party/q5 b/third_party/q5 index 3eeb9788..9ab4817e 160000 --- a/third_party/q5 +++ b/third_party/q5 @@ -1 +1 @@ -Subproject commit 3eeb9788ce26daaa6aa2053ea27dad3a01638804 +Subproject commit 9ab4817ec5c2ac6bae916ad3f7249f7fc34ad6f5