From c929834099d87bb3caacb827fa7b0caa90f17177 Mon Sep 17 00:00:00 2001 From: boyce Date: Wed, 9 Dec 2020 18:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8E=9F=E5=A7=8B=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=8C=85=E8=AE=BE=E7=BD=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network/processor/pbrawprocessor.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/network/processor/pbrawprocessor.go b/network/processor/pbrawprocessor.go index 10414a1..6a67b07 100644 --- a/network/processor/pbrawprocessor.go +++ b/network/processor/pbrawprocessor.go @@ -115,4 +115,9 @@ func (slf *PBRawPackInfo) GetPackType() uint16 { func (slf *PBRawPackInfo) GetMsg() []byte { return slf.rawMsg +} + +func (slf *PBRawPackInfo) SetPackInfo(typ uint16,rawMsg []byte){ + slf.typ = typ + slf.rawMsg = rawMsg } \ No newline at end of file