1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

add some gift id

This commit is contained in:
wdvxdr 2020-11-13 20:42:32 +08:00
parent 19f539df44
commit 4cfc7adb72
4 changed files with 26 additions and 23 deletions

View File

@ -203,18 +203,16 @@ type (
}
imageUploadResponse struct {
ResultCode int32
Message string
IsExists bool
FileId int64
Width int32
Height int32
ResourceId string
UploadKey []byte
UploadIp []int32
UploadPort []int32
ResourceId string
Message string
FileId int64
Width int32
Height int32
ResultCode int32
IsExists bool
}
pttUploadResponse struct {

View File

@ -72,12 +72,12 @@ type groupMessageBuilder struct {
}
type versionInfo struct {
ApkId string
AppId uint32
SortVersionName string
BuildTime uint32
ApkSign []byte
ApkId string
SortVersionName string
SdkVersion string
AppId uint32
BuildTime uint32
SSOVersion uint32
MiscBitmap uint32
SubSigmap uint32

View File

@ -101,15 +101,20 @@ const (
LightApp
RedBag
SweetWink GroupGift = 285
HappyCola GroupGift = 289
LuckyBracelet GroupGift = 290
Cappuccino GroupGift = 299
CatWatch GroupGift = 302
FleeceGloves GroupGift = 307
RainbowCandy GroupGift = 308
Stronger GroupGift = 313
LoveMicrophone GroupGift = 367
HoldingYourHand GroupGift = 280
CuteCat GroupGift = 281
MysteryMask GroupGift = 284
SweetWink GroupGift = 285
ImBusy GroupGift = 286
HappyCola GroupGift = 289
LuckyBracelet GroupGift = 290
Cappuccino GroupGift = 299
CatWatch GroupGift = 302
FleeceGloves GroupGift = 307
RainbowCandy GroupGift = 308
LoveMask GroupGift = 312
Stronger GroupGift = 313
LoveMicrophone GroupGift = 367
)
func (s *Sender) IsAnonymous() bool {

View File

@ -146,7 +146,7 @@ func (e *LightAppElement) Pack() (r []*msg.Elem) {
r = []*msg.Elem{}
r = append(r, &msg.Elem{
LightApp: &msg.LightAppElem{
Data: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
Data: append([]byte{1}, binary.ZlibCompress([]byte(e.Content))...),
// MsgResid: []byte{1},
},
})