Пример #1
0
class CMsgClientUcmEnumerateUserSubscribedFilesWithUpdatesResponsePublishedFileId(betterproto.Message):
    published_file_id: int = betterproto.fixed64_field(1)
    rtime32_subscribed: int = betterproto.fixed32_field(2)
    appid: int = betterproto.uint32_field(3)
    file_hcontent: int = betterproto.fixed64_field(4)
    file_size: int = betterproto.uint32_field(5)
    rtime32_last_updated: int = betterproto.fixed32_field(6)
    is_depot_content: bool = betterproto.bool_field(7)
Пример #2
0
class CSOEconGameAccountClient(betterproto.Message):
    additional_backpack_slots: int = betterproto.uint32_field(1)
    trial_account: bool = betterproto.bool_field(2)
    eligible_for_online_play: bool = betterproto.bool_field(3)
    need_to_choose_most_helpful_friend: bool = betterproto.bool_field(4)
    in_coaches_list: bool = betterproto.bool_field(5)
    trade_ban_expiration: float = betterproto.fixed32_field(6)
    duel_ban_expiration: float = betterproto.fixed32_field(7)
    made_first_purchase: bool = betterproto.bool_field(9)
class CMsgGCToClientSteamDatagramTicket(betterproto.Message):
    legacy_time_expiry: float = betterproto.fixed32_field(1)
    legacy_authorized_steam_id: float = betterproto.fixed64_field(2)
    legacy_authorized_public_ip: float = betterproto.fixed32_field(3)
    legacy_gameserver_steam_id: float = betterproto.fixed64_field(4)
    legacy_gameserver_net_id: float = betterproto.fixed64_field(5)
    legacy_signature: bytes = betterproto.bytes_field(6)
    legacy_app_id: int = betterproto.uint32_field(7)
    legacy_extra_fields: List[bytes] = betterproto.bytes_field(8)
    serialized_ticket: bytes = betterproto.bytes_field(16)
class CMsgClientItemAnnouncementsUnseenItem(betterproto.Message):
    appid: int = betterproto.uint32_field(1)
    context_id: int = betterproto.uint64_field(2)
    asset_id: int = betterproto.uint64_field(3)
    amount: int = betterproto.uint64_field(4)
    rtime32_gained: int = betterproto.fixed32_field(5)
    source_appid: int = betterproto.uint32_field(6)
Пример #5
0
class CSourceTVGameSmall(betterproto.Message):
    activate_time: int = betterproto.uint32_field(1)
    deactivate_time: int = betterproto.uint32_field(2)
    server_steam_id: int = betterproto.uint64_field(3)
    lobby_id: int = betterproto.uint64_field(4)
    league_id: int = betterproto.uint32_field(5)
    lobby_type: int = betterproto.uint32_field(6)
    game_time: int = betterproto.int32_field(7)
    delay: int = betterproto.uint32_field(8)
    spectators: int = betterproto.uint32_field(9)
    game_mode: int = betterproto.uint32_field(10)
    average_mmr: int = betterproto.uint32_field(11)
    match_id: int = betterproto.uint64_field(12)
    series_id: int = betterproto.uint32_field(13)
    team_name_radiant: str = betterproto.string_field(15)
    team_name_dire: str = betterproto.string_field(16)
    team_logo_radiant: float = betterproto.fixed64_field(24)
    team_logo_dire: float = betterproto.fixed64_field(25)
    team_id_radiant: int = betterproto.uint32_field(30)
    team_id_dire: int = betterproto.uint32_field(31)
    sort_score: int = betterproto.uint32_field(17)
    last_update_time: float = betterproto.float_field(18)
    radiant_lead: int = betterproto.int32_field(19)
    radiant_score: int = betterproto.uint32_field(20)
    dire_score: int = betterproto.uint32_field(21)
    players: List["CSourceTVGameSmallPlayer"] = betterproto.message_field(22)
    building_state: float = betterproto.fixed32_field(23)
    weekend_tourney_tournament_id: int = betterproto.uint32_field(26)
    weekend_tourney_division: int = betterproto.uint32_field(27)
    weekend_tourney_skill_level: int = betterproto.uint32_field(28)
    weekend_tourney_bracket_round: int = betterproto.uint32_field(29)
    custom_game_difficulty: int = betterproto.uint32_field(32)
Пример #6
0
class CMsgClientLogonResponse(betterproto.Message):
    eresult: int = betterproto.int32_field(1)
    out_of_game_heartbeat_seconds: int = betterproto.int32_field(2)
    in_game_heartbeat_seconds: int = betterproto.int32_field(3)
    deprecated_public_ip: int = betterproto.uint32_field(4)
    rtime32_server_time: int = betterproto.fixed32_field(5)
    account_flags: int = betterproto.uint32_field(6)
    cell_id: int = betterproto.uint32_field(7)
    email_domain: str = betterproto.string_field(8)
    steam2_ticket: bytes = betterproto.bytes_field(9)
    eresult_extended: int = betterproto.int32_field(10)
    webapi_authenticate_user_nonce: str = betterproto.string_field(11)
    cell_id_ping_threshold: int = betterproto.uint32_field(12)
    deprecated_use_pics: bool = betterproto.bool_field(13)
    vanity_url: str = betterproto.string_field(14)
    public_ip: CMsgIpAddress = betterproto.message_field(15)
    client_supplied_steamid: int = betterproto.fixed64_field(20)
    ip_country_code: str = betterproto.string_field(21)
    parental_settings: bytes = betterproto.bytes_field(22)
    parental_setting_signature: bytes = betterproto.bytes_field(23)
    count_loginfailures_to_migrate: int = betterproto.int32_field(24)
    count_disconnects_to_migrate: int = betterproto.int32_field(25)
    ogs_data_report_time_window: int = betterproto.int32_field(26)
    client_instance_id: int = betterproto.uint64_field(27)
    force_client_update_check: bool = betterproto.bool_field(28)
    agreement_session_url: str = betterproto.string_field(29)
class CMsgClientUgsGetGlobalStatsResponse(betterproto.Message):
    eresult: int = betterproto.int32_field(1)
    timestamp: int = betterproto.fixed32_field(2)
    day_current: int = betterproto.int32_field(3)
    days: List[
        "CMsgClientUgsGetGlobalStatsResponseDay"] = betterproto.message_field(
            4)
class CMsgClientUcmPublishedFileUpdated(betterproto.Message):
    published_file_id: int = betterproto.fixed64_field(1)
    app_id: int = betterproto.uint32_field(2)
    time_updated: int = betterproto.uint32_field(3)
    hcontent: int = betterproto.fixed64_field(4)
    file_size: int = betterproto.fixed32_field(5)
    is_depot_content: bool = betterproto.bool_field(6)
    revision: int = betterproto.uint32_field(7)
Пример #9
0
class Fixed32Rules(betterproto.Message):
    """Fixed32Rules describes the constraints applied to `fixed32` values"""

    # Const specifies that this field must be exactly the specified value
    const: int = betterproto.fixed32_field(1)
    # Lt specifies that this field must be less than the specified value,
    # exclusive
    lt: int = betterproto.fixed32_field(2)
    # Lte specifies that this field must be less than or equal to the specified
    # value, inclusive
    lte: int = betterproto.fixed32_field(3)
    # Gt specifies that this field must be greater than the specified value,
    # exclusive. If the value of Gt is larger than a specified Lt or Lte, the
    # range is reversed.
    gt: int = betterproto.fixed32_field(4)
    # Gte specifies that this field must be greater than or equal to the
    # specified value, inclusive. If the value of Gte is larger than a specified
    # Lt or Lte, the range is reversed.
    gte: int = betterproto.fixed32_field(5)
    # In specifies that this field must be equal to one of the specified values
    in_: List[int] = betterproto.fixed32_field(6)
    # NotIn specifies that this field cannot be equal to one of the specified
    # values
    not_in: List[int] = betterproto.fixed32_field(7)
    # IgnoreEmpty specifies that the validation rules of this field should be
    # evaluated only if the field is not empty
    ignore_empty: bool = betterproto.bool_field(8)
Пример #10
0
class CMsgClientLicenseListLicense(betterproto.Message):
    package_id: int = betterproto.uint32_field(1)
    time_created: float = betterproto.fixed32_field(2)
    time_next_process: float = betterproto.fixed32_field(3)
    minute_limit: int = betterproto.int32_field(4)
    minutes_used: int = betterproto.int32_field(5)
    payment_method: int = betterproto.uint32_field(6)
    flags: int = betterproto.uint32_field(7)
    purchase_country_code: str = betterproto.string_field(8)
    license_type: int = betterproto.uint32_field(9)
    territory_code: int = betterproto.int32_field(10)
    change_number: int = betterproto.int32_field(11)
    owner_id: int = betterproto.uint32_field(12)
    initial_period: int = betterproto.uint32_field(13)
    initial_time_unit: int = betterproto.uint32_field(14)
    renewal_period: int = betterproto.uint32_field(15)
    renewal_time_unit: int = betterproto.uint32_field(16)
    access_token: int = betterproto.uint64_field(17)
Пример #11
0
class CSOEconItemDropRateBonus(betterproto.Message):
    account_id: int = betterproto.uint32_field(1)
    expiration_date: float = betterproto.fixed32_field(2)
    bonus: float = betterproto.float_field(3)
    bonus_count: int = betterproto.uint32_field(4)
    item_id: int = betterproto.uint64_field(5)
    def_index: int = betterproto.uint32_field(6)
    seconds_left: int = betterproto.uint32_field(7)
    booster_type: int = betterproto.uint32_field(8)
Пример #12
0
class GetRecentMessagesRequest(betterproto.Message):
    steamid1: int = betterproto.fixed64_field(1)
    steamid2: int = betterproto.fixed64_field(2)
    count: int = betterproto.uint32_field(3)
    most_recent_conversation: bool = betterproto.bool_field(4)
    rtime32_start_time: int = betterproto.fixed32_field(5)
    bbcode_format: bool = betterproto.bool_field(6)
    start_ordinal: int = betterproto.uint32_field(7)
    time_last: int = betterproto.uint32_field(8)
    ordinal_last: int = betterproto.uint32_field(9)
Пример #13
0
class IncomingMessageNotification(betterproto.Message):
    steamid_friend: int = betterproto.fixed64_field(1)
    chat_entry_type: int = betterproto.int32_field(2)
    from_limited_account: bool = betterproto.bool_field(3)
    message: str = betterproto.string_field(4)
    rtime32_server_timestamp: int = betterproto.fixed32_field(5)
    ordinal: int = betterproto.uint32_field(6)
    local_echo: bool = betterproto.bool_field(7)
    message_no_bbcode: str = betterproto.string_field(8)
    low_priority: bool = betterproto.bool_field(9)
Пример #14
0
class PerFriendPreferences(betterproto.Message):
    accountid: int = betterproto.fixed32_field(1)
    nickname: str = betterproto.string_field(2)
    notifications_showingame: "ENotificationSetting" = betterproto.enum_field(3)
    notifications_showonline: "ENotificationSetting" = betterproto.enum_field(4)
    notifications_showmessages: "ENotificationSetting" = betterproto.enum_field(5)
    sounds_showingame: "ENotificationSetting" = betterproto.enum_field(6)
    sounds_showonline: "ENotificationSetting" = betterproto.enum_field(7)
    sounds_showmessages: "ENotificationSetting" = betterproto.enum_field(8)
    notifications_sendmobile: "ENotificationSetting" = betterproto.enum_field(9)
Пример #15
0
class CMsgClientLogon(betterproto.Message):
    protocol_version: int = betterproto.uint32_field(1)
    deprecated_obfustucated_private_ip: int = betterproto.uint32_field(2)
    cell_id: int = betterproto.uint32_field(3)
    last_session_id: int = betterproto.uint32_field(4)
    client_package_version: int = betterproto.uint32_field(5)
    client_language: str = betterproto.string_field(6)
    client_os_type: int = betterproto.uint32_field(7)
    should_remember_password: bool = betterproto.bool_field(8)
    wine_version: str = betterproto.string_field(9)
    deprecated_10: int = betterproto.uint32_field(10)
    obfuscated_private_ip: CMsgIpAddress = betterproto.message_field(11)
    deprecated_public_ip: int = betterproto.uint32_field(20)
    qos_level: int = betterproto.uint32_field(21)
    client_supplied_steam_id: int = betterproto.fixed64_field(22)
    public_ip: CMsgIpAddress = betterproto.message_field(23)
    machine_id: bytes = betterproto.bytes_field(30)
    launcher_type: int = betterproto.uint32_field(31)
    ui_mode: int = betterproto.uint32_field(32)
    chat_mode: int = betterproto.uint32_field(33)
    steam2_auth_ticket: bytes = betterproto.bytes_field(41)
    email_address: str = betterproto.string_field(42)
    rtime32_account_creation: int = betterproto.fixed32_field(43)
    account_name: str = betterproto.string_field(50)
    password: str = betterproto.string_field(51)
    game_server_token: str = betterproto.string_field(52)
    login_key: str = betterproto.string_field(60)
    was_converted_deprecated_msg: bool = betterproto.bool_field(70)
    anon_user_target_account_name: str = betterproto.string_field(80)
    resolved_user_steam_id: int = betterproto.fixed64_field(81)
    eresult_sentryfile: int = betterproto.int32_field(82)
    sha_sentryfile: bytes = betterproto.bytes_field(83)
    auth_code: str = betterproto.string_field(84)
    otp_type: int = betterproto.int32_field(85)
    otp_value: int = betterproto.uint32_field(86)
    otp_identifier: str = betterproto.string_field(87)
    steam2_ticket_request: bool = betterproto.bool_field(88)
    sony_psn_ticket: bytes = betterproto.bytes_field(90)
    sony_psn_service_id: str = betterproto.string_field(91)
    create_new_psn_linked_account_if_needed: bool = betterproto.bool_field(92)
    sony_psn_name: str = betterproto.string_field(93)
    game_server_app_id: int = betterproto.int32_field(94)
    steamguard_dont_remember_computer: bool = betterproto.bool_field(95)
    machine_name: str = betterproto.string_field(96)
    machine_name_userchosen: str = betterproto.string_field(97)
    country_override: str = betterproto.string_field(98)
    is_steam_box: bool = betterproto.bool_field(99)
    client_instance_id: int = betterproto.uint64_field(100)
    two_factor_code: str = betterproto.string_field(101)
    supports_rate_limit_response: bool = betterproto.bool_field(102)
    web_logon_nonce: str = betterproto.string_field(103)
    priority_reason: int = betterproto.int32_field(104)
    embedded_client_secret: "CMsgClientSecret" = betterproto.message_field(105)
    disable_partner_autogrants: bool = betterproto.bool_field(106)
class CMsgClientUcmAddScreenshot(betterproto.Message):
    appid: int = betterproto.uint32_field(1)
    filename: str = betterproto.string_field(2)
    thumbname: str = betterproto.string_field(3)
    vr_filename: str = betterproto.string_field(14)
    rtime32_created: int = betterproto.fixed32_field(4)
    width: int = betterproto.uint32_field(5)
    height: int = betterproto.uint32_field(6)
    permissions: int = betterproto.uint32_field(7)
    caption: str = betterproto.string_field(8)
    shortcut_name: str = betterproto.string_field(9)
    tag: List["CMsgClientUcmAddScreenshotTag"] = betterproto.message_field(10)
    tagged_steamid: List[int] = betterproto.fixed64_field(11)
    spoiler_tag: bool = betterproto.bool_field(12)
    tagged_publishedfileid: List[int] = betterproto.uint64_field(13)
Пример #17
0
class CMsgClientWelcome(betterproto.Message):
    version: int = betterproto.uint32_field(1)
    game_data: bytes = betterproto.bytes_field(2)
    outofdate_subscribed_caches: List["CMsgSOCacheSubscribed"] = betterproto.message_field(3)
    uptodate_subscribed_caches: List["CMsgSOCacheSubscriptionCheck"] = betterproto.message_field(4)
    location: "CMsgClientWelcomeLocation" = betterproto.message_field(5)
    save_game_key: bytes = betterproto.bytes_field(6)
    item_schema_crc: float = betterproto.fixed32_field(7)
    items_game_url: str = betterproto.string_field(8)
    gc_socache_file_version: int = betterproto.uint32_field(9)
    txn_country_code: str = betterproto.string_field(10)
    game_data2: bytes = betterproto.bytes_field(11)
    rtime32_gc_welcome_timestamp: int = betterproto.uint32_field(12)
    currency: int = betterproto.uint32_field(13)
    balance: int = betterproto.uint32_field(14)
    balance_url: str = betterproto.string_field(15)
class CMsgPracticeLobbySetDetails(betterproto.Message):
    lobby_id: int = betterproto.uint64_field(1)
    game_name: str = betterproto.string_field(2)
    team_details: List["CLobbyTeamDetails"] = betterproto.message_field(3)
    server_region: int = betterproto.uint32_field(4)
    game_mode: int = betterproto.uint32_field(5)
    cm_pick: "DOTA_CM_PICK" = betterproto.enum_field(6)
    bot_difficulty_radiant: "DOTABotDifficulty" = betterproto.enum_field(9)
    allow_cheats: bool = betterproto.bool_field(10)
    fill_with_bots: bool = betterproto.bool_field(11)
    intro_mode: bool = betterproto.bool_field(12)
    allow_spectating: bool = betterproto.bool_field(13)
    game_version: "DOTAGameVersion" = betterproto.enum_field(14)
    pass_key: str = betterproto.string_field(15)
    leagueid: int = betterproto.uint32_field(16)
    penalty_level_radiant: int = betterproto.uint32_field(17)
    penalty_level_dire: int = betterproto.uint32_field(18)
    load_game_id: int = betterproto.uint32_field(19)
    series_type: int = betterproto.uint32_field(20)
    radiant_series_wins: int = betterproto.uint32_field(21)
    dire_series_wins: int = betterproto.uint32_field(22)
    allchat: bool = betterproto.bool_field(23)
    dota_tv_delay: "LobbyDotaTVDelay" = betterproto.enum_field(24)
    lan: bool = betterproto.bool_field(25)
    custom_game_mode: str = betterproto.string_field(26)
    custom_map_name: str = betterproto.string_field(27)
    custom_difficulty: int = betterproto.uint32_field(28)
    custom_game_id: int = betterproto.uint64_field(29)
    custom_min_players: int = betterproto.uint32_field(30)
    custom_max_players: int = betterproto.uint32_field(31)
    visibility: "DOTALobbyVisibility" = betterproto.enum_field(33)
    custom_game_crc: float = betterproto.fixed64_field(34)
    custom_game_timestamp: float = betterproto.fixed32_field(37)
    previous_match_override: int = betterproto.uint64_field(38)
    pause_setting: "LobbyDotaPauseSetting" = betterproto.enum_field(42)
    bot_difficulty_dire: "DOTABotDifficulty" = betterproto.enum_field(43)
    bot_radiant: int = betterproto.uint64_field(44)
    bot_dire: int = betterproto.uint64_field(45)
    selection_priority_rules: "DOTASelectionPriorityRules" = betterproto.enum_field(
        46)
    custom_game_penalties: bool = betterproto.bool_field(47)
    lan_host_ping_location: str = betterproto.string_field(48)
    league_node_id: int = betterproto.uint32_field(49)
Пример #19
0
class PingQueryData(betterproto.Message):
    server_ip: CMsgIpAddress = betterproto.message_field(1)
    query_port: int = betterproto.uint32_field(2)
    game_port: int = betterproto.uint32_field(3)
    spectator_port: int = betterproto.uint32_field(4)
    spectator_server_name: str = betterproto.string_field(5)
    server_name: str = betterproto.string_field(6)
    steamid: int = betterproto.fixed64_field(7)
    app_id: int = betterproto.uint32_field(8)
    gamedir: str = betterproto.string_field(9)
    map: str = betterproto.string_field(10)
    game_description: str = betterproto.string_field(11)
    gametype: str = betterproto.string_field(12)
    num_players: int = betterproto.uint32_field(13)
    max_players: int = betterproto.uint32_field(14)
    num_bots: int = betterproto.uint32_field(15)
    password: bool = betterproto.bool_field(16)
    secure: bool = betterproto.bool_field(17)
    dedicated: bool = betterproto.bool_field(18)
    version: str = betterproto.string_field(19)
    sdr_popid: int = betterproto.fixed32_field(20)
    sdr_location_string: str = betterproto.string_field(21)
class CMsgClientUcmEnumerateUserSubscribedFilesWithUpdates(
        betterproto.Message):
    app_id: int = betterproto.uint32_field(1)
    start_index: int = betterproto.uint32_field(2)
    start_time: int = betterproto.fixed32_field(3)
    desired_revision: int = betterproto.uint32_field(4)
class CMsgClientUcmEnumerateUserSubscribedFilesResponsePublishedFileID(
        betterproto.Message):
    published_file_id: int = betterproto.fixed64_field(1)
    rtime32_subscribed: int = betterproto.fixed32_field(2)
class CMsgGameServerPingSampleSample(betterproto.Message):
    ip: int = betterproto.fixed32_field(1)
    avg_ping_ms: int = betterproto.uint32_field(2)
    stddev_ping_ms_x10: int = betterproto.uint32_field(3)
class CMsgGameServerPingSample(betterproto.Message):
    my_ip: int = betterproto.fixed32_field(1)
    gs_app_id: int = betterproto.int32_field(2)
    gs_samples: List[
        "CMsgGameServerPingSampleSample"] = betterproto.message_field(3)
Пример #24
0
class CMsgSHA1Digest(betterproto.Message):
    block1: float = betterproto.fixed64_field(1)
    block2: float = betterproto.fixed64_field(2)
    block3: float = betterproto.fixed32_field(3)
class CMsgClientUcmEnumeratePublishedFilesByUserActionResponsePublishedFileID(
        betterproto.Message):
    published_file_id: int = betterproto.fixed64_field(1)
    rtime_time_stamp: int = betterproto.fixed32_field(2)
Пример #26
0
class CMsgGCGetAppFriendsListResponse(betterproto.Message):
    success: bool = betterproto.bool_field(1)
    steamids: List[float] = betterproto.fixed64_field(2)
    friendship_timestamps: List[float] = betterproto.fixed32_field(3)
    last_playtimes: List[float] = betterproto.fixed32_field(4)
class CMsgClientUgsGetGlobalStats(betterproto.Message):
    gameid: int = betterproto.uint64_field(1)
    history_days_requested: int = betterproto.uint32_field(2)
    time_last_requested: int = betterproto.fixed32_field(3)
    first_day_cached: int = betterproto.uint32_field(4)
    days_cached: int = betterproto.uint32_field(5)
Пример #28
0
class CMsgGCUpdateSubGCSessionInfoCMsgUpdate(betterproto.Message):
    steamid: float = betterproto.fixed64_field(1)
    ip: float = betterproto.fixed32_field(2)
    trusted: bool = betterproto.bool_field(3)
Пример #29
0
class CMsgClientGetUserStatsResponseAchievementBlocks(betterproto.Message):
    achievement_id: int = betterproto.uint32_field(1)
    unlock_time: List[int] = betterproto.fixed32_field(2)
Пример #30
0
class CMsgGCRequestSubGCSessionInfoResponse(betterproto.Message):
    ip: float = betterproto.fixed32_field(1)
    trusted: bool = betterproto.bool_field(2)
    port: int = betterproto.uint32_field(3)
    success: bool = betterproto.bool_field(4)