Documentation ¶
Index ¶
- type DelMsgInfo
- type FriendInfo
- type FriendListRequest
- type HeadData
- type IJceStruct
- type JceReader
- func (r *JceReader) ReadAny(tag int) interface{}
- func (r *JceReader) ReadAvailable() []byte
- func (r *JceReader) ReadBool(tag int) bool
- func (r *JceReader) ReadByte(tag int) byte
- func (r *JceReader) ReadFloat32(tag int) float32
- func (r *JceReader) ReadFloat64(tag int) float64
- func (r *JceReader) ReadInt16(tag int) int16
- func (r *JceReader) ReadInt32(tag int) int32
- func (r *JceReader) ReadInt64(tag int) int64
- func (r *JceReader) ReadMapF(tag int, f func(interface{}, interface{}))
- func (r *JceReader) ReadObject(i interface{}, tag int)
- func (r *JceReader) ReadSlice(i interface{}, tag int)
- func (r *JceReader) ReadString(tag int) string
- func (r *JceReader) SkipField(c int)
- type JceWriter
- func (w *JceWriter) Bytes() []byte
- func (w *JceWriter) WriteBool(b bool, tag int)
- func (w *JceWriter) WriteByte(b byte, tag int)
- func (w *JceWriter) WriteBytes(l []byte, tag int)
- func (w *JceWriter) WriteFloat32(n float32, tag int)
- func (w *JceWriter) WriteFloat64(n float64, tag int)
- func (w *JceWriter) WriteInt16(n int16, tag int)
- func (w *JceWriter) WriteInt32(n int32, tag int)
- func (w *JceWriter) WriteInt64(n int64, tag int)
- func (w *JceWriter) WriteInt64Slice(l []int64, tag int)
- func (w *JceWriter) WriteJceStruct(s IJceStruct, tag int)
- func (w *JceWriter) WriteJceStructRaw(s IJceStruct)
- func (w *JceWriter) WriteJceStructSlice(l []IJceStruct, tag int)
- func (w *JceWriter) WriteMap(m interface{}, tag int)
- func (w *JceWriter) WriteObject(i interface{}, tag int)
- func (w *JceWriter) WriteString(s string, tag int)
- type ModifyGroupCardRequest
- type PushMessageInfo
- type RequestDataVersion2
- type RequestDataVersion3
- type RequestPacket
- type SsoServerInfo
- type SummaryCardReq
- type SvcDevLoginInfo
- type SvcReqGetDevLoginInfo
- type SvcReqRegister
- type SvcRespPushMsg
- type TroopListRequest
- type TroopMemberInfo
- type TroopMemberListRequest
- type TroopNumber
- type UinInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DelMsgInfo ¶
type DelMsgInfo struct { IJceStruct FromUin int64 `jceId:"0"` MsgTime int64 `jceId:"1"` MsgSeq int16 `jceId:"2"` MsgCookies []byte `jceId:"3"` Cmd int16 `jceId:"4"` MsgType int64 `jceId:"5"` AppId int64 `jceId:"6"` SendTime int64 `jceId:"7"` SsoSeq int32 `jceId:"8"` SsoIp int32 `jceId:"9"` ClientIp int32 `jceId:"10"` }
type FriendInfo ¶
type FriendInfo struct { FriendUin int64 `jceId:"0"` GroupId byte `jceId:"1"` FaceId int16 `jceId:"2"` Remark string `jceId:"3"` QQType byte `jceId:"4"` Status byte `jceId:"5"` MemberLevel byte `jceId:"6"` IsMqqOnLine byte `jceId:"7"` QQOnlineState byte `jceId:"8"` IsIphoneOnline byte `jceId:"9"` DetailStatusFlag byte `jceId:"10"` QQOnlineStateV2 byte `jceId:"11"` ShowName string `jceId:"12"` IsRemark byte `jceId:"13"` Nick string `jceId:"14"` SpecialFlag byte `jceId:"15"` IMGroupID []byte `jceId:"16"` MSFGroupID []byte `jceId:"17"` TermType int32 `jceId:"18"` Network byte `jceId:"20"` Ring []byte `jceId:"21"` AbiFlag int64 `jceId:"22"` FaceAddonId int64 `jceId:"23"` NetworkType int32 `jceId:"24"` VipFont int64 `jceId:"25"` IconType int32 `jceId:"26"` TermDesc string `jceId:"27"` ColorRing int64 `jceId:"28"` ApolloFlag byte `jceId:"29"` ApolloTimestamp int64 `jceId:"30"` Sex byte `jceId:"31"` FounderFont int64 `jceId:"32"` EimId string `jceId:"33"` EimMobile string `jceId:"34"` OlympicTorch byte `jceId:"35"` ApolloSignTime int64 `jceId:"36"` LaviUin int64 `jceId:"37"` TagUpdateTime int64 `jceId:"38"` GameLastLoginTime int64 `jceId:"39"` GameAppId int64 `jceId:"40"` CardID []byte `jceId:"41"` BitSet int64 `jceId:"42"` KingOfGloryFlag byte `jceId:"43"` KingOfGloryRank int64 `jceId:"44"` MasterUin string `jceId:"45"` LastMedalUpdateTime int64 `jceId:"46"` FaceStoreId int64 `jceId:"47"` FontEffect int64 `jceId:"48"` DOVId string `jceId:"49"` BothFlag int64 `jceId:"50"` CentiShow3DFlag byte `jceId:"51"` IntimateInfo []byte `jceId:"52"` ShowNameplate byte `jceId:"53"` NewLoverDiamondFlag byte `jceId:"54"` ExtSnsFrdData []byte `jceId:"55"` MutualMarkData []byte `jceId:"56"` }
func (*FriendInfo) ReadFrom ¶
func (pkt *FriendInfo) ReadFrom(r *JceReader)
type FriendListRequest ¶
type FriendListRequest struct { IJceStruct Reqtype int32 `jceId:"0"` IfReflush byte `jceId:"1"` Uin int64 `jceId:"2"` StartIndex int16 `jceId:"3"` FriendCount int16 `jceId:"4"` GroupId byte `jceId:"5"` IfGetGroupInfo byte `jceId:"6"` GroupStartIndex byte `jceId:"7"` GroupCount byte `jceId:"8"` IfGetMSFGroup byte `jceId:"9"` IfShowTermType byte `jceId:"10"` Version int64 `jceId:"11"` UinList []int64 `jceId:"12"` AppType int32 `jceId:"13"` IfGetDOVId byte `jceId:"14"` IfGetBothFlag byte `jceId:"15"` D50 []byte `jceId:"16"` D6B []byte `jceId:"17"` SnsTypeList []int64 `jceId:"18"` }
func (*FriendListRequest) ToBytes ¶
func (pkt *FriendListRequest) ToBytes() []byte
type IJceStruct ¶
type IJceStruct interface { //ToBytes() []byte ReadFrom(*JceReader) }
type JceReader ¶
type JceReader struct {
// contains filtered or unexported fields
}
func NewJceReader ¶
func (*JceReader) ReadAvailable ¶
func (*JceReader) ReadFloat32 ¶
func (*JceReader) ReadFloat64 ¶
func (*JceReader) ReadObject ¶
func (*JceReader) ReadString ¶
type JceWriter ¶
type JceWriter struct {
// contains filtered or unexported fields
}
func NewJceWriter ¶
func NewJceWriter() *JceWriter
func (*JceWriter) WriteBytes ¶
func (*JceWriter) WriteFloat32 ¶
func (*JceWriter) WriteFloat64 ¶
func (*JceWriter) WriteInt16 ¶
func (*JceWriter) WriteInt32 ¶
func (*JceWriter) WriteInt64 ¶
func (*JceWriter) WriteInt64Slice ¶
func (*JceWriter) WriteJceStruct ¶
func (w *JceWriter) WriteJceStruct(s IJceStruct, tag int)
func (*JceWriter) WriteJceStructRaw ¶
func (w *JceWriter) WriteJceStructRaw(s IJceStruct)
func (*JceWriter) WriteJceStructSlice ¶
func (w *JceWriter) WriteJceStructSlice(l []IJceStruct, tag int)
func (*JceWriter) WriteObject ¶
func (*JceWriter) WriteString ¶
type ModifyGroupCardRequest ¶
type ModifyGroupCardRequest struct { IJceStruct Zero int64 `jceId:"0"` GroupCode int64 `jceId:"1"` NewSeq int64 `jceId:"2"` UinInfo []IJceStruct `jceId:"3"` }
func (*ModifyGroupCardRequest) ToBytes ¶
func (pkt *ModifyGroupCardRequest) ToBytes() []byte
type PushMessageInfo ¶
type PushMessageInfo struct { FromUin int64 `jceId:"0"` MsgTime int64 `jceId:"1"` MsgType int16 `jceId:"2"` MsgSeq int16 `jceId:"3"` Msg string `jceId:"4"` RealMsgTime int32 `jceId:"5"` VMsg []byte `jceId:"6"` MsgCookies []byte `jceId:"8"` MsgUid int64 `jceId:"10"` LastChangeTime int64 `jceId:"11"` FromInstId int64 `jceId:"14"` RemarkOfSender []byte `jceId:"15"` FromMobile string `jceId:"16"` FromName string `jceId:"17"` }
func (*PushMessageInfo) ReadFrom ¶
func (pkt *PushMessageInfo) ReadFrom(r *JceReader)
type RequestDataVersion2 ¶
func (*RequestDataVersion2) ReadFrom ¶
func (pkt *RequestDataVersion2) ReadFrom(r *JceReader)
type RequestDataVersion3 ¶
func (*RequestDataVersion3) ReadFrom ¶
func (pkt *RequestDataVersion3) ReadFrom(r *JceReader)
func (*RequestDataVersion3) ToBytes ¶
func (pkt *RequestDataVersion3) ToBytes() []byte
type RequestPacket ¶
type RequestPacket struct { IVersion int16 `jceId:"1"` CPacketType byte `jceId:"2"` IMessageType int32 `jceId:"3"` IRequestId int32 `jceId:"4"` SServantName string `jceId:"5"` SFuncName string `jceId:"6"` SBuffer []byte `jceId:"7"` ITimeout int32 `jceId:"8"` Context map[string]string `jceId:"9"` Status map[string]string `jceId:"10"` }
func (*RequestPacket) ReadFrom ¶
func (pkt *RequestPacket) ReadFrom(r *JceReader)
func (*RequestPacket) ToBytes ¶
func (pkt *RequestPacket) ToBytes() []byte
type SsoServerInfo ¶ added in v0.1.0
type SsoServerInfo struct { Server string `jceId:"1"` Port int32 `jceId:"2"` Location string `jceId:"8"` }
func (*SsoServerInfo) ReadFrom ¶ added in v0.1.0
func (pkt *SsoServerInfo) ReadFrom(r *JceReader)
type SummaryCardReq ¶ added in v0.1.0
type SummaryCardReq struct { IJceStruct Uin int64 `jceId:"0"` ComeFrom int32 `jceId:"1"` QzoneFeedTimestamp int64 `jceId:"2"` IsFriend byte `jceId:"3"` GroupCode int64 `jceId:"4"` GroupUin int64 `jceId:"5"` //Seed []byte`jceId:"6"` //SearchName string`jceId:"7"` GetControl int64 `jceId:"8"` AddFriendSource int32 `jceId:"9"` SecureSig []byte `jceId:"10"` TinyId int64 `jceId:"15"` LikeSource int64 `jceId:"16"` ReqMedalWallInfo byte `jceId:"18"` Req0x5ebFieldId []int64 `jceId:"19"` ReqNearbyGodInfo byte `jceId:"20"` ReqExtendCard byte `jceId:"22"` }
func (*SummaryCardReq) ToBytes ¶ added in v0.1.0
func (pkt *SummaryCardReq) ToBytes() []byte
type SvcDevLoginInfo ¶ added in v0.1.0
type SvcDevLoginInfo struct { AppId int64 Guid []byte LoginTime int64 LoginPlatform int64 LoginLocation string DeviceName string DeviceTypeInfo string TerType int64 ProductType int64 CanBeKicked int64 }
func (*SvcDevLoginInfo) ReadFrom ¶ added in v0.1.0
func (pkt *SvcDevLoginInfo) ReadFrom(r *JceReader)
type SvcReqGetDevLoginInfo ¶ added in v0.1.0
type SvcReqGetDevLoginInfo struct { IJceStruct Guid []byte `jceId:"0"` AppName string `jceId:"1"` LoginType int64 `jceId:"2"` Timestamp int64 `jceId:"3"` NextItemIndex int64 `jceId:"4"` RequireMax int64 `jceId:"5"` GetDevListType int64 `jceId:"6"` // 1: getLoginDevList 2: getRecentLoginDevList 4: getAuthLoginDevList }
func (*SvcReqGetDevLoginInfo) ToBytes ¶ added in v0.1.0
func (pkt *SvcReqGetDevLoginInfo) ToBytes() []byte
type SvcReqRegister ¶
type SvcReqRegister struct { IJceStruct Uin int64 `jceId:"0"` Bid int64 `jceId:"1"` ConnType byte `jceId:"2"` Other string `jceId:"3"` Status int32 `jceId:"4"` OnlinePush byte `jceId:"5"` IsOnline byte `jceId:"6"` IsShowOnline byte `jceId:"7"` KickPC byte `jceId:"8"` KickWeak byte `jceId:"9"` Timestamp int64 `jceId:"10"` IOSVersion int64 `jceId:"11"` NetType byte `jceId:"12"` BuildVer string `jceId:"13"` RegType byte `jceId:"14"` DevParam []byte `jceId:"15"` Guid []byte `jceId:"16"` LocaleId int32 `jceId:"17"` SilentPush byte `jceId:"18"` DevName string `jceId:"19"` DevType string `jceId:"20"` OSVer string `jceId:"21"` OpenPush byte `jceId:"22"` LargeSeq int64 `jceId:"23"` LastWatchStartTime int64 `jceId:"24"` OldSSOIp int64 `jceId:"26"` NewSSOIp int64 `jceId:"27"` ChannelNo string `jceId:"28"` CPID int64 `jceId:"29"` VendorName string `jceId:"30"` VendorOSName string `jceId:"31"` IOSIdfa string `jceId:"32"` B769 []byte `jceId:"33"` IsSetStatus byte `jceId:"34"` ServerBuf []byte `jceId:"35"` SetMute byte `jceId:"36"` }
func (*SvcReqRegister) ToBytes ¶
func (pkt *SvcReqRegister) ToBytes() []byte
type SvcRespPushMsg ¶
type SvcRespPushMsg struct { IJceStruct Uin int64 `jceId:"0"` DelInfos []IJceStruct `jceId:"1"` Svrip int32 `jceId:"2"` PushToken []byte `jceId:"3"` ServiceType int32 `jceId:"4"` }
func (*SvcRespPushMsg) ToBytes ¶
func (pkt *SvcRespPushMsg) ToBytes() []byte
type TroopListRequest ¶
type TroopListRequest struct { IJceStruct Uin int64 `jceId:"0"` GetMSFMsgFlag byte `jceId:"1"` Cookies []byte `jceId:"2"` GroupInfo []int64 `jceId:"3"` GroupFlagExt byte `jceId:"4"` Version int32 `jceId:"5"` CompanyId int64 `jceId:"6"` VersionNum int64 `jceId:"7"` GetLongGroupName byte `jceId:"8"` }
func (*TroopListRequest) ToBytes ¶
func (pkt *TroopListRequest) ToBytes() []byte
type TroopMemberInfo ¶
type TroopMemberInfo struct { MemberUin int64 `jceId:"0"` FaceId int16 `jceId:"1"` Age byte `jceId:"2"` Gender byte `jceId:"3"` Nick string `jceId:"4"` Status byte `jceId:"5"` ShowName string `jceId:"6"` Name string `jceId:"8"` Memo string `jceId:"12"` AutoRemark string `jceId:"13"` MemberLevel int64 `jceId:"14"` JoinTime int64 `jceId:"15"` LastSpeakTime int64 `jceId:"16"` CreditLevel int64 `jceId:"17"` Flag int64 `jceId:"18"` FlagExt int64 `jceId:"19"` Point int64 `jceId:"20"` Concerned byte `jceId:"21"` Shielded byte `jceId:"22"` SpecialTitle string `jceId:"23"` SpecialTitleExpireTime int64 `jceId:"24"` Job string `jceId:"25"` ApolloFlag byte `jceId:"26"` ApolloTimestamp int64 `jceId:"27"` GlobalGroupLevel int64 `jceId:"28"` TitleId int64 `jceId:"29"` ShutUpTimestap int64 `jceId:"30"` GlobalGroupPoint int64 `jceId:"31"` RichCardNameVer byte `jceId:"33"` VipType int64 `jceId:"34"` VipLevel int64 `jceId:"35"` BigClubLevel int64 `jceId:"36"` BigClubFlag int64 `jceId:"37"` Nameplate int64 `jceId:"38"` GroupHonor []byte `jceId:"39"` }
func (*TroopMemberInfo) ReadFrom ¶
func (pkt *TroopMemberInfo) ReadFrom(r *JceReader)
type TroopMemberListRequest ¶
type TroopMemberListRequest struct { IJceStruct Uin int64 `jceId:"0"` GroupCode int64 `jceId:"1"` NextUin int64 `jceId:"2"` GroupUin int64 `jceId:"3"` Version int64 `jceId:"4"` ReqType int64 `jceId:"5"` GetListAppointTime int64 `jceId:"6"` RichCardNameVer byte `jceId:"7"` }
func (*TroopMemberListRequest) ToBytes ¶
func (pkt *TroopMemberListRequest) ToBytes() []byte
type TroopNumber ¶
type TroopNumber struct { GroupUin int64 `jceId:"0"` GroupCode int64 `jceId:"1"` Flag byte `jceId:"2"` GroupInfoSeq int64 `jceId:"3"` GroupName string `jceId:"4"` GroupMemo string `jceId:"5"` GroupFlagExt int64 `jceId:"6"` GroupRankSeq int64 `jceId:"7"` CertificationType int64 `jceId:"8"` ShutUpTimestamp int64 `jceId:"9"` MyShutUpTimestamp int64 `jceId:"10"` CmdUinUinFlag int64 `jceId:"11"` AdditionalFlag int64 `jceId:"12"` GroupTypeFlag int64 `jceId:"13"` GroupSecType int64 `jceId:"14"` GroupSecTypeInfo int64 `jceId:"15"` GroupClassExt int64 `jceId:"16"` AppPrivilegeFlag int64 `jceId:"17"` SubscriptionUin int64 `jceId:"18"` MemberNum int64 `jceId:"19"` MemberNumSeq int64 `jceId:"20"` MemberCardSeq int64 `jceId:"21"` GroupFlagExt3 int64 `jceId:"22"` GroupOwnerUin int64 `jceId:"23"` IsConfGroup byte `jceId:"24"` IsModifyConfGroupFace byte `jceId:"25"` IsModifyConfGroupName byte `jceId:"26"` CmdUinJoinTime int64 `jceId:"27"` CompanyId int64 `jceId:"28"` MaxGroupMemberNum int64 `jceId:"29"` CmdUinGroupMask int64 `jceId:"30"` GuildAppId int64 `jceId:"31"` GuildSubType int64 `jceId:"32"` CmdUinRingtoneID int64 `jceId:"33"` CmdUinFlagEx2 int64 `jceId:"34"` }
func (*TroopNumber) ReadFrom ¶
func (pkt *TroopNumber) ReadFrom(r *JceReader)
Click to show internal directories.
Click to hide internal directories.