예제 #1
0
class DevSetNextDropRequest(betterproto.Message):
    appid: int = betterproto.uint32_field(1)
    itemdefid: int = betterproto.uint64_field(2)
    droptime: str = betterproto.string_field(3)
예제 #2
0
class CMsgGCMsgMasterSetDirectoryResponse(betterproto.Message):
    eresult: int = betterproto.int32_field(1)
    message: str = betterproto.string_field(2)
예제 #3
0
class CMsgGCMsgMasterSetWebAPIRoutingEntry(betterproto.Message):
    interface_name: str = betterproto.string_field(1)
    method_name: str = betterproto.string_field(2)
    routing: "CMsgGCRoutingInfo" = betterproto.message_field(3)
예제 #4
0
class CMsgAMSendEmailPersonaNameReplacementToken(betterproto.Message):
    steamid: float = betterproto.fixed64_field(1)
    token_name: str = betterproto.string_field(2)
예제 #5
0
class CMsgGCGetPersonaNamesResponsePersonaName(betterproto.Message):
    steamid: float = betterproto.fixed64_field(1)
    persona_name: str = betterproto.string_field(2)
예제 #6
0
class CGCMsgMemCachedSetKeyPair(betterproto.Message):
    name: str = betterproto.string_field(1)
    value: bytes = betterproto.bytes_field(2)
예제 #7
0
class CMsgAMAddFreeLicense(betterproto.Message):
    steamid: float = betterproto.fixed64_field(1)
    ip_public: int = betterproto.uint32_field(2)
    packageid: int = betterproto.uint32_field(3)
    store_country_code: str = betterproto.string_field(4)
예제 #8
0
class ListUeRequest(betterproto.Message):
    aspect_types: List[str] = betterproto.string_field(1)

    def __post_init__(self) -> None:
        super().__post_init__()
예제 #9
0
class WatchUeRequest(betterproto.Message):
    noreplay: bool = betterproto.bool_field(2)
    aspect_types: List[str] = betterproto.string_field(3)

    def __post_init__(self) -> None:
        super().__post_init__()
예제 #10
0
파일: login.py 프로젝트: Gobot1234/steam.py
class CMsgClientNewLoginKey(betterproto.Message):
    unique_id: int = betterproto.uint32_field(1)
    login_key: str = betterproto.string_field(2)
예제 #11
0
파일: login.py 프로젝트: Gobot1234/steam.py
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)
예제 #12
0
파일: login.py 프로젝트: Gobot1234/steam.py
class CMsgClientRequestWebApiAuthenticateUserNonceResponse(betterproto.Message):
    eresult: int = betterproto.int32_field(1)
    webapi_authenticate_user_nonce: str = betterproto.string_field(11)
    token_type: int = betterproto.int32_field(3)
예제 #13
0
class DeviceChangeRef(betterproto.Message):
    """DeviceChangeRef is a reference to a device change"""

    # 'device_change_id' is the unique identifier of the device change
    device_change_id: str = betterproto.string_field(1)
예제 #14
0
class NetworkChangeRef(betterproto.Message):
    """NetworkChangeRef is a reference to a network change"""

    none: "betterproto_lib_google_protobuf.Empty" = betterproto.message_field(
        1, group="id")
    network_change_id: str = betterproto.string_field(2, group="id")
예제 #15
0
class CMsgGCGetCommandList(betterproto.Message):
    app_id: int = betterproto.uint32_field(1)
    command_prefix: str = betterproto.string_field(2)
예제 #16
0
class CommandLineOptions(betterproto.Message):
    """[#next-free-field: 29]"""

    # See :option:`--base-id` for details.
    base_id: int = betterproto.uint64_field(1)
    # See :option:`--concurrency` for details.
    concurrency: int = betterproto.uint32_field(2)
    # See :option:`--config-path` for details.
    config_path: str = betterproto.string_field(3)
    # See :option:`--config-yaml` for details.
    config_yaml: str = betterproto.string_field(4)
    # See :option:`--allow-unknown-static-fields` for details.
    allow_unknown_static_fields: bool = betterproto.bool_field(5)
    # See :option:`--reject-unknown-dynamic-fields` for details.
    reject_unknown_dynamic_fields: bool = betterproto.bool_field(26)
    # See :option:`--admin-address-path` for details.
    admin_address_path: str = betterproto.string_field(6)
    # See :option:`--local-address-ip-version` for details.
    local_address_ip_version: "CommandLineOptionsIpVersion" = betterproto.enum_field(7)
    # See :option:`--log-level` for details.
    log_level: str = betterproto.string_field(8)
    # See :option:`--component-log-level` for details.
    component_log_level: str = betterproto.string_field(9)
    # See :option:`--log-format` for details.
    log_format: str = betterproto.string_field(10)
    # See :option:`--log-format-escaped` for details.
    log_format_escaped: bool = betterproto.bool_field(27)
    # See :option:`--log-path` for details.
    log_path: str = betterproto.string_field(11)
    # See :option:`--service-cluster` for details.
    service_cluster: str = betterproto.string_field(13)
    # See :option:`--service-node` for details.
    service_node: str = betterproto.string_field(14)
    # See :option:`--service-zone` for details.
    service_zone: str = betterproto.string_field(15)
    # See :option:`--file-flush-interval-msec` for details.
    file_flush_interval: timedelta = betterproto.message_field(16)
    # See :option:`--drain-time-s` for details.
    drain_time: timedelta = betterproto.message_field(17)
    # See :option:`--parent-shutdown-time-s` for details.
    parent_shutdown_time: timedelta = betterproto.message_field(18)
    # See :option:`--mode` for details.
    mode: "CommandLineOptionsMode" = betterproto.enum_field(19)
    # max_stats and max_obj_name_len are now unused and have no effect.
    max_stats: int = betterproto.uint64_field(20)
    max_obj_name_len: int = betterproto.uint64_field(21)
    # See :option:`--disable-hot-restart` for details.
    disable_hot_restart: bool = betterproto.bool_field(22)
    # See :option:`--enable-mutex-tracing` for details.
    enable_mutex_tracing: bool = betterproto.bool_field(23)
    # See :option:`--restart-epoch` for details.
    restart_epoch: int = betterproto.uint32_field(24)
    # See :option:`--cpuset-threads` for details.
    cpuset_threads: bool = betterproto.bool_field(25)
    # See :option:`--disable-extensions` for details.
    disabled_extensions: List[str] = betterproto.string_field(28)

    def __post_init__(self) -> None:
        super().__post_init__()
        if self.max_stats:
            warnings.warn(
                "CommandLineOptions.max_stats is deprecated", DeprecationWarning
            )
        if self.max_obj_name_len:
            warnings.warn(
                "CommandLineOptions.max_obj_name_len is deprecated", DeprecationWarning
            )
예제 #17
0
class CMsgGCGetCommandListResponse(betterproto.Message):
    command_name: List[str] = betterproto.string_field(1)
예제 #18
0
class SubjectAlternateName(betterproto.Message):
    dns: str = betterproto.string_field(1, group="name")
    uri: str = betterproto.string_field(2, group="name")
    ip_address: str = betterproto.string_field(3, group="name")
예제 #19
0
class CGCMsgMemCachedDelete(betterproto.Message):
    keys: List[str] = betterproto.string_field(1)
예제 #20
0
파일: membership.py 프로젝트: emakeev/api
class GroupId(betterproto.Message):
    """Membership group identifier"""

    name: str = betterproto.string_field(1)
    namespace: str = betterproto.string_field(2)
예제 #21
0
class CMsgAMSendEmailReplacementToken(betterproto.Message):
    token_name: str = betterproto.string_field(1)
    token_value: str = betterproto.string_field(2)
예제 #22
0
파일: membership.py 프로젝트: emakeev/api
class MemberId(betterproto.Message):
    """Member identifier"""

    name: str = betterproto.string_field(1)
    namespace: str = betterproto.string_field(2)
예제 #23
0
class CMsgGCGetEmailTemplateResponse(betterproto.Message):
    eresult: int = betterproto.uint32_field(1)
    template_exists: bool = betterproto.bool_field(2)
    template: str = betterproto.string_field(3)
예제 #24
0
파일: membership.py 프로젝트: emakeev/api
class Member(betterproto.Message):
    """Member is a membership member"""

    id: "MemberId" = betterproto.message_field(1)
    host: str = betterproto.string_field(2)
    port: int = betterproto.int32_field(3)
예제 #25
0
class CMsgGCMsgMasterSetDirectorySubGC(betterproto.Message):
    dir_index: int = betterproto.uint32_field(1)
    name: str = betterproto.string_field(2)
    box: str = betterproto.string_field(3)
    command_line: str = betterproto.string_field(4)
    gc_binary: str = betterproto.string_field(5)
예제 #26
0
class CMsgHttpResponseResponseHeader(betterproto.Message):
    name: str = betterproto.string_field(1)
    value: str = betterproto.string_field(2)
예제 #27
0
class CMsgGCRoutingInfo(betterproto.Message):
    dir_index: List[int] = betterproto.uint32_field(1)
    method: "CMsgGCRoutingInfoRoutingMethod" = betterproto.enum_field(2)
    fallback: "CMsgGCRoutingInfoRoutingMethod" = betterproto.enum_field(3)
    protobuf_field: int = betterproto.uint32_field(4)
    webapi_param: str = betterproto.string_field(5)
예제 #28
0
class CMsgAMFindAccounts(betterproto.Message):
    search_type: int = betterproto.uint32_field(1)
    search_string: str = betterproto.string_field(2)
예제 #29
0
class CMsgGCHUpdateSessionExtraField(betterproto.Message):
    name: str = betterproto.string_field(1)
    value: str = betterproto.string_field(2)
예제 #30
0
class InspectItemRequest(betterproto.Message):
    itemdefid: int = betterproto.uint64_field(1)
    itemid: int = betterproto.fixed64_field(2)
    tags: str = betterproto.string_field(3)