Example #1
0
class FmtIpInfo(JceStruct):
    """
    Note:
        Source: ConfigPush.FmtIpInfo
    """

    gate_ip: types.STRING = JceField(jce_id=0)
    gate_ip_order: types.INT64 = JceField(jce_id=1)
Example #2
0
class DomainIpInfo(JceStruct):
    """
    Note:
        Source: ConfigPush.DomainIpInfo
    """

    ip: types.INT32 = JceField(jce_id=1)
    port: types.INT32 = JceField(jce_id=2)
Example #3
0
class DomainIpList(JceStruct):
    """
    Note:
        Source: ConfigPush.DomainIpList
    """

    domain_type: types.INT32 = JceField(jce_id=0)
    ip_list: types.LIST[DomainIpInfo] = JceField(jce_id=1)
Example #4
0
class FileServerInfo(JceStruct):
    """
    Note:
        Source: ConfigPush.FileStorageServerListInfo
    """

    ip: types.STRING = JceField(jce_id=1)
    port: types.INT32 = JceField(jce_id=2)
Example #5
0
class TempMsgHead(JceStruct):
    """MessageSvc Online Push Temp Message Head jce packet.

    Note:
        Source: OnlinePushPack.TempMsgHead
    """

    c2c_type: types.INT32 = JceField(0, jce_id=0)
    service_type: types.INT32 = JceField(0, jce_id=1)
Example #6
0
class StLevelRankPair(JceStruct):
    """St Level Rank Pair Jce Packet.

    Note:
        Source: friendlist.stLevelRankPair
    """

    level: types.INT64 = JceField(jce_id=0)
    rank: types.STRING = JceField(jce_id=1)
Example #7
0
class FriendListSubSrvRspCode(JceStruct):
    """Friend List Sub Service Response Code Jce Packet.

    Note:
        Source: friendlist.FriendListSubSrvRspCode
    """

    get_mutual_mark_rsp_code: types.INT16 = JceField(0, jce_id=0)
    get_intimate_info_rsp_code: types.INT16 = JceField(0, jce_id=1)
Example #8
0
class PushReq(JceStruct):
    """
    Note:
        Source: ConfigPush.PushReq
    """

    type: types.INT32 = JceField(jce_id=1)
    jcebuf: types.BYTES = JceField(jce_id=2)
    large_seq: types.INT64 = JceField(jce_id=3)
Example #9
0
class BigDataIpInfo(JceStruct):
    """
    Note:
        Source: ConfigPush.BigDataIpInfo
    """

    type: types.INT64 = JceField(jce_id=0)
    ip: types.STRING = JceField(jce_id=1)
    port: types.INT64 = JceField(jce_id=2)
Example #10
0
class QzoneUserInfo(JceStruct):
    """Qzone User Info Jce Packet.

    Note:
        Source: friendlist.QzoneUserInfo
    """

    star_state: types.INT32 = JceField(0, jce_id=0)
    extend_info: types.MAP[types.STRING, types.STRING] = JceField({}, jce_id=1)
Example #11
0
class CPicInfo(JceStruct):
    """MessageSvc Online Push CPic Info jce packet.

    Note:
        Source: OnlinePushPack.CPicInfo
    """

    path: types.BYTES = JceField(jce_id=0)
    host: types.BYTES = JceField(bytes(), jce_id=1)
Example #12
0
class BigDataIpList(JceStruct):
    """
    Note:
        Source: ConfigPush.BigDataIpList
    """

    service_type: types.INT64 = JceField(jce_id=0)
    ip_list: types.LIST[BigDataIpInfo] = JceField(jce_id=1)
    net_seg_confs: Optional[types.LIST[NetSegConf]] = JceField(None, jce_id=2)
    fragment_size: Optional[types.INT64] = JceField(None, jce_id=3)
Example #13
0
class PushResp(JceStruct):
    """
    Note:
        Source: com.tencent.msf.service.protocol.serverconfig.g
            ConfigPush.PushResp
    """

    type: types.INT32 = JceField(jce_id=1)
    large_seq: types.INT64 = JceField(jce_id=2)
    jcebuf: Optional[types.BYTES] = JceField(None, jce_id=3)
Example #14
0
class NetSegConf(JceStruct):
    """
    Note:
        Source: ConfigPush.NetSegConf
    """

    net_type: Optional[types.INT64] = JceField(None, jce_id=0)
    segsize: Optional[types.INT64] = JceField(None, jce_id=1)
    segnum: Optional[types.INT64] = JceField(None, jce_id=2)
    cur_conn_num: Optional[types.INT64] = JceField(None, jce_id=3)
Example #15
0
class ResponseMSFForceOffline(JceStruct):
    """StatSvc MSF Force offline Response jce packet.

    Note:
        Source: com.tencent.msf.service.protocol.push.C35829b
    """

    uin: types.INT64 = JceField(jce_id=0)
    seq_no: types.INT64 = JceField(jce_id=1)
    c: types.BYTE = JceField(jce_id=2)
Example #16
0
class TroopListReqV2Simplify(JceStruct):
    """Get Troop(Group) List Request V2 Simplfied Jce Packet.

    Note:
        Source: friendlist.GetTroopListReqV2Simplify
    """

    uin: types.INT64 = JceField(jce_id=0)
    """:obj:`~jce.types.INT64`: uin."""
    get_msf_msg_flag: types.BOOL = JceField(jce_id=1)
    """:obj:`~jce.types.BOOL`: get msf message or not."""
    cookies: Optional[types.BYTES] = JceField(None, jce_id=2)
    """:obj:`~jce.types.BYTES`: vec cookies."""
    group_info: Optional[types.LIST[StTroopNumSimplify]] = JceField(None,
                                                                    jce_id=3)
    """:obj:`~jce.types.LIST` of :obj:`.StTroopNumSimplify`: group info."""
    group_flag_ext: types.BYTE = JceField(jce_id=4)
    """:obj:`~jce.types.BYTE`: group flag extension."""
    version: types.INT32 = JceField(jce_id=5)
    """:obj:`~jce.types.INT32`: version."""
    company_id: types.INT64 = JceField(0, jce_id=6)
    """:obj:`~jce.types.INT64`: company id."""
    version_num: types.INT64 = JceField(jce_id=7)
    """:obj:`~jce.types.INT64`: version number."""
    get_long_group_name: types.BOOL = JceField(jce_id=8)
    """:obj:`~jce.types.BOOL`: get long group name or not."""
Example #17
0
File: jce.py Project: cscs181/CAI
class VipBaseInfo(JceStruct):
    """Vip Base Info Jce Packet.

    Note:
        Source: QQService.VipBaseInfo
    """

    open_info: types.MAP[types.INT, VipOpenInfo] = JceField(jce_id=0)
    nameplate_vip_type: types.INT32 = JceField(0, jce_id=1)
    gray_nameplate_flag: types.INT32 = JceField(0, jce_id=2)
    extend_nameplate_id: types.STRING = JceField("", jce_id=3)
Example #18
0
File: jce.py Project: cscs181/CAI
class StShareData(JceStruct):
    """Share Data Jce Packet.

    Note:
        Source: QQService.ShareData
    """

    pkg_name: types.STRING = JceField(jce_id=0)
    msgtail: types.STRING = JceField(jce_id=1)
    pic_url: types.STRING = JceField(jce_id=2)
    url: types.STRING = JceField(jce_id=3)
Example #19
0
class RequestPushForceOffline(JceStruct):
    """MessageSvc Push Force Offline Request jce packet.

    Note:
        Source: PushNotifyPack.RequestPushForceOffline
    """

    uin: types.INT64 = JceField(jce_id=0)
    title: types.STRING = JceField("", jce_id=1)
    tips: types.STRING = JceField("", jce_id=2)
    same_device: types.BOOL = JceField(False, jce_id=3)
Example #20
0
class StFavoriteGroup(JceStruct):
    """St Favorite Group Jce Packet.

    Note:
        Source: friendlist.stFavoriteGroup
    """

    group_code: types.INT64 = JceField(jce_id=0)
    timestamp: types.INT64 = JceField(0, jce_id=1)
    sns_flag: types.INT64 = JceField(0, jce_id=2)
    open_timestamp: types.INT64 = JceField(0, jce_id=3)
Example #21
0
File: jce.py Project: cscs181/CAI
class VipOpenInfo(JceStruct):
    """Vip Open Info Jce Packet.

    Note:
        Source: QQService.VipOpenInfo
    """

    open: types.BOOL = JceField(jce_id=0)
    vip_type: types.INT32 = JceField(jce_id=1)
    vip_level: types.INT32 = JceField(jce_id=2)
    vip_flag: types.INT32 = JceField(0, jce_id=3)
    nameplate_id: types.INT64 = JceField(0, jce_id=4)
Example #22
0
class DomainIpChannel(JceStruct):
    """
    Note:
        Source: ConfigPush.DomainIpChannel
    """

    domain_iplists: types.LIST[DomainIpList] = JceField(jce_id=0)
Example #23
0
File: jce.py Project: cscs181/CAI
class RequestPacket(JceStruct):
    """
    Note:
        Source: com.qq.taf.RequestPacket
    """

    version: types.INT16 = JceField(0, jce_id=1)
    pkg_type: types.BYTE = JceField(bytes(1), jce_id=2)
    msg_type: types.INT32 = JceField(0, jce_id=3)
    req_id: types.INT32 = JceField(0, jce_id=4)
    servant_name: types.STRING = JceField(jce_id=5)
    func_name: types.STRING = JceField(jce_id=6)
    buffer: types.BYTES = JceField(bytes(0), jce_id=7)
    timeout: types.INT32 = JceField(0, jce_id=8)
    context: types.MAP = JceField({}, jce_id=9)
    status: types.MAP = JceField({}, jce_id=10)
Example #24
0
class StGroupRankInfo(JceStruct):
    """St Group Rank Info Jce Packet.

    Note:
        Source: friendlist.stGroupRankInfo
    """

    group_code: types.INT64 = JceField(jce_id=0)
    group_rank_sys_flag: types.BYTE = JceField(bytes(1), jce_id=1)
    group_rank_user_flag: types.BYTE = JceField(bytes(1), jce_id=2)
    rank_map: types.LIST[StLevelRankPair] = JceField([], jce_id=3)
    group_rank_seq: types.INT64 = JceField(0, jce_id=4)
    owner_name: types.STRING = JceField("", jce_id=5)
    admin_name: types.STRING = JceField("", jce_id=6)
    office_mode: types.INT64 = JceField(0, jce_id=7)
    group_rank_user_flag_new: types.BYTE = JceField(0, jce_id=8)
    rank_map_new: types.LIST[StLevelRankPair] = JceField([], jce_id=9)
Example #25
0
class StTroopNumSimplify(JceStruct):
    """St Troop(Group) Number Simplified Jce Packet.

    Note:
        Source: friendlist.stTroopNumSimplify
    """

    group_code: types.INT64 = JceField(jce_id=0)
    """:obj:`~jce.types.INT64`: group code."""
    group_info_seq: types.INT64 = JceField(jce_id=1)
    """:obj:`~jce.types.INT64`: group info sequence."""
    group_flag_ext: types.INT64 = JceField(jce_id=2)
    """:obj:`~jce.types.INT64`: group flag extension."""
    group_rank_seq: types.INT64 = JceField(jce_id=3)
    """:obj:`~jce.types.INT64`: group rank sequence."""
    group_info_ext_seq: types.INT64 = JceField(jce_id=4)
    """:obj:`~jce.types.INT64`: group info extension sequence."""
Example #26
0
class VendorPushInfo(JceStruct):
    """Vendor Push Info Jce Packet.

    Note:
        Source: com.tencent.msf.service.protocol.push.VendorPushInfo
    """

    vendor_type: types.INT64 = JceField(0, jce_id=0)
    """:obj:`~jce.types.INT64`: third push type."""
Example #27
0
class TroopMemberListResp(JceStruct):
    """Get Troop(Group) Member List Response Jce Packet.

    Note:
        Source: friendlist.GetTroopMemberListResp
    """

    uin: types.INT64 = JceField(jce_id=0)
    group_code: types.INT64 = JceField(jce_id=1)
    group_uin: types.INT64 = JceField(jce_id=2)
    troop_member: types.LIST[StTroopMemberInfo] = JceField(jce_id=3)
    next_uin: types.INT64 = JceField(jce_id=4)
    result: types.INT32 = JceField(jce_id=5)
    error_code: types.INT16 = JceField(0, jce_id=6)
    office_mode: types.INT64 = JceField(0, jce_id=7)
    next_get_time: types.INT64 = JceField(0, jce_id=8)
Example #28
0
class RequestMSFForceOffline(JceStruct):
    """StatSvc MSF Force offline Request jce packet.

    Note:
        Source: com.tencent.msf.service.protocol.push.RequestMSFForceOffline
    """

    uin: types.INT64 = JceField(jce_id=0)
    seq_no: types.INT64 = JceField(jce_id=1)
    kick_type: types.INT8 = JceField(jce_id=2)
    info: types.STRING = JceField(jce_id=3)
    title: types.STRING = JceField("", jce_id=4)
    sig_kick: types.BYTE = JceField(bytes(1), jce_id=5)
    sig_kick_data: types.BYTES = JceField(bytes(), jce_id=6)
    same_device: types.BOOL = JceField(False, jce_id=7)
Example #29
0
class TroopMemberListReq(JceStruct):
    """Get Troop(Group) Member List Request Jce Packet.

    Note:
        Source: friendlist.GetTroopMemberListReq
    """

    uin: types.INT64 = JceField(jce_id=0)
    group_code: types.INT64 = JceField(jce_id=1)
    next_uin: types.INT64 = JceField(jce_id=2)
    group_uin: types.INT64 = JceField(jce_id=3)
    version: types.INT64 = JceField(jce_id=4)
    request_type: types.INT64 = JceField(0, jce_id=5)
    get_list_appoint_time: types.INT64 = JceField(0, jce_id=6)
    rich_card_name_version: types.BYTE = JceField(bytes(1), jce_id=7)
Example #30
0
class SsoServer(JceStruct):
    """Sso Server Info.

    Note:
        Source: com.tencent.msf.service.protocol.serverconfig.i
    """

    host: types.STRING = JceField(jce_id=1)
    """:obj:`~jce.types.STRING`: server host, renamed from a."""
    port: types.INT32 = JceField(jce_id=2)
    """:obj:`~jce.types.INT32`: server port, renamed from b."""
    # c: types.BYTE = JceField(jce_id=3)
    # d: types.BYTE = JceField(jce_id=4)
    protocol: types.BYTE = JceField(jce_id=5)
    """:obj:`~jce.types.BYTE`: protocol, renamed from e.

    0, 1: socket; 2, 3: http.
    """
    # f: types.INT32 = JceField(jce_id=6)
    # g: types.BYTE = JceField(jce_id=7)
    city: types.STRING = JceField(jce_id=8)
    """:obj:`~jce.types.STRING`: city, renamed from h."""
    country: types.STRING = JceField(jce_id=9)
    """:obj:`~jce.types.STRING`: country, renamed from i."""