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 { imageUploadResponse struct {
ResultCode int32
Message string
IsExists bool
FileId int64
Width int32
Height int32
ResourceId string
UploadKey []byte UploadKey []byte
UploadIp []int32 UploadIp []int32
UploadPort []int32 UploadPort []int32
ResourceId string
Message string
FileId int64
Width int32
Height int32
ResultCode int32
IsExists bool
} }
pttUploadResponse struct { pttUploadResponse struct {

View File

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

View File

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

View File

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