Guest User

steammessages_clientserver.proto

a guest
Oct 1st, 2013
2,572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. option optimize_for = SPEED;
  2. option cc_generic_services = false;
  3.  
  4. import "steammessages_base.proto";
  5. import "encrypted_app_ticket.proto";
  6.  
  7. message CMsgClientHeartBeat
  8. {
  9. }
  10.  
  11. message CMsgClientSubscribeToPersonaFeed
  12. {
  13. message PersonaFeed
  14. {
  15. optional fixed64 steamID = 1;
  16. optional bool subscribe = 2;
  17. }
  18.  
  19. repeated PersonaFeed persona_feeds = 1;
  20. }
  21.  
  22. message CMsgClientUDSP2PSessionStarted
  23. {
  24. optional fixed64 steamid_remote = 1;
  25. optional int32 appid = 2;
  26. }
  27.  
  28. message CMsgClientUDSP2PSessionEnded
  29. {
  30. optional fixed64 steamid_remote = 1;
  31. optional int32 appid = 2;
  32. optional int32 session_length_sec = 3;
  33. optional int32 session_error = 4;
  34. optional int32 nattype = 5;
  35. optional int32 bytes_recv = 6;
  36. optional int32 bytes_sent = 7;
  37. optional int32 bytes_sent_relay = 8;
  38. optional int32 bytes_recv_relay = 9;
  39. optional int32 time_to_connect_ms = 10;
  40. }
  41.  
  42. message CMsgClientRegisterAuthTicketWithCM
  43. {
  44. optional uint32 protocol_version = 1;
  45. optional bytes ticket = 3;
  46. }
  47.  
  48. message CMsgClientTicketAuthComplete
  49. {
  50. optional fixed64 steam_id = 1;
  51. optional fixed64 game_id = 2;
  52. optional uint32 estate = 3;
  53. optional uint32 eauth_session_response = 4;
  54. optional bytes DEPRECATED_ticket = 5;
  55. optional uint32 ticket_crc = 6;
  56. optional uint32 ticket_sequence = 7;
  57. }
  58.  
  59. message CMsgClientLogon
  60. {
  61. optional uint32 protocol_version = 1;
  62. optional uint32 obfustucated_private_ip = 2;
  63. optional uint32 cell_id = 3;
  64. optional uint32 last_session_id = 4;
  65. optional uint32 client_package_version = 5;
  66. optional string client_language = 6;
  67. optional uint32 client_os_type = 7;
  68. optional bool should_remember_password = 8 [default = false];
  69. optional string wine_version = 9;
  70. optional uint32 ping_ms_from_cell_search = 10;
  71. optional uint32 public_ip = 20;
  72. optional uint32 qos_level = 21;
  73. optional fixed64 client_supplied_steam_id = 22;
  74. optional bytes machine_id = 30;
  75. optional uint32 launcher_type = 31 [default = 0];
  76. optional uint32 ui_mode = 32 [default = 0];
  77. optional bytes steam2_auth_ticket = 41;
  78. optional string email_address = 42;
  79. optional fixed32 rtime32_account_creation = 43;
  80. optional string account_name = 50;
  81. optional string password = 51;
  82. optional string login_key = 60;
  83. optional bool was_converted_deprecated_msg = 70 [default = false];
  84. optional string anon_user_target_account_name = 80;
  85. optional fixed64 resolved_user_steam_id = 81;
  86. optional int32 eresult_sentryfile = 82;
  87. optional bytes sha_sentryfile = 83;
  88. optional string auth_code = 84;
  89. optional int32 otp_type = 85;
  90. optional uint32 otp_value = 86;
  91. optional string otp_identifier = 87;
  92. optional bool steam2_ticket_request = 88;
  93. optional bytes sony_psn_ticket = 90;
  94. optional string sony_psn_service_id = 91;
  95. optional bool create_new_psn_linked_account_if_needed = 92 [default = false];
  96. optional string sony_psn_name = 93;
  97. optional int32 game_server_app_id = 94;
  98. optional bool steamguard_dont_remember_computer = 95;
  99. optional string machine_name = 96;
  100. optional string machine_name_userchosen = 97;
  101. optional string country_override = 98;
  102. }
  103.  
  104. message CMsgClientLogonResponse
  105. {
  106. optional int32 eresult = 1 [default = 2];
  107. optional int32 out_of_game_heartbeat_seconds = 2;
  108. optional int32 in_game_heartbeat_seconds = 3;
  109. optional uint32 public_ip = 4;
  110. optional fixed32 rtime32_server_time = 5;
  111. optional uint32 account_flags = 6;
  112. optional uint32 cell_id = 7;
  113. optional string email_domain = 8;
  114. optional bytes steam2_ticket = 9;
  115. optional int32 eresult_extended = 10;
  116. optional string webapi_authenticate_user_nonce = 11;
  117. optional uint32 cell_id_ping_threshold = 12;
  118. optional bool use_pics = 13;
  119. optional string vanity_url = 14;
  120. optional fixed64 client_supplied_steamid = 20;
  121. optional string ip_country_code = 21;
  122. optional bytes parental_settings = 22;
  123. optional bytes parental_setting_signature = 23;
  124. }
  125.  
  126. message CMsgClientRequestWebAPIAuthenticateUserNonce
  127. {
  128. }
  129.  
  130. message CMsgClientRequestWebAPIAuthenticateUserNonceResponse
  131. {
  132. optional int32 eresult = 1 [default = 2];
  133. optional string webapi_authenticate_user_nonce = 11;
  134. }
  135.  
  136. message CMsgClientLogOff
  137. {
  138. }
  139.  
  140. message CMsgClientLoggedOff
  141. {
  142. optional int32 eresult = 1 [default = 2];
  143. }
  144.  
  145. message CMsgClientCMList
  146. {
  147. repeated uint32 cm_addresses = 1;
  148. repeated uint32 cm_ports = 2;
  149. }
  150.  
  151. message CMsgClientP2PConnectionInfo
  152. {
  153. optional fixed64 steam_id_dest = 1;
  154. optional fixed64 steam_id_src = 2;
  155. optional uint32 app_id = 3;
  156. optional bytes candidate = 4;
  157. }
  158.  
  159. message CMsgClientP2PConnectionFailInfo
  160. {
  161. optional fixed64 steam_id_dest = 1;
  162. optional fixed64 steam_id_src = 2;
  163. optional uint32 app_id = 3;
  164. optional uint32 ep2p_session_error = 4;
  165. }
  166.  
  167. message CMsgClientGetAppOwnershipTicket
  168. {
  169. optional uint32 app_id = 1;
  170. }
  171.  
  172. message CMsgClientGetAppOwnershipTicketResponse
  173. {
  174. optional uint32 eresult = 1 [default = 2];
  175. optional uint32 app_id = 2;
  176. optional bytes ticket = 3;
  177. }
  178.  
  179. message CMsgClientSessionToken
  180. {
  181. optional uint64 token = 1;
  182. }
  183.  
  184. message CMsgClientGameConnectTokens
  185. {
  186. optional uint32 max_tokens_to_keep = 1 [default = 10];
  187. repeated bytes tokens = 2;
  188. }
  189.  
  190. message CMsgGSServerType
  191. {
  192. optional uint32 app_id_served = 1;
  193. optional uint32 flags = 2;
  194. optional uint32 game_ip_address = 3;
  195. optional uint32 game_port = 4;
  196. optional string game_dir = 5;
  197. optional string game_version = 6;
  198. optional uint32 game_query_port = 7;
  199. }
  200.  
  201. message CMsgGSStatusReply
  202. {
  203. optional bool is_secure = 1;
  204. }
  205.  
  206. message CMsgGSPlayerList
  207. {
  208. message Player
  209. {
  210. optional uint64 steam_id = 1;
  211. optional uint32 public_ip = 2;
  212. optional bytes token = 3;
  213. }
  214.  
  215. repeated Player players = 1;
  216. }
  217.  
  218. message CMsgGSUserPlaying
  219. {
  220. optional fixed64 steam_id = 1;
  221. optional uint32 public_ip = 2;
  222. optional bytes token = 3;
  223. }
  224.  
  225. message CMsgGSDisconnectNotice
  226. {
  227. optional fixed64 steam_id = 1;
  228. }
  229.  
  230. message CMsgClientGamesPlayed
  231. {
  232. message GamePlayed
  233. {
  234. optional uint64 steam_id_gs = 1;
  235. optional fixed64 game_id = 2;
  236. optional uint32 game_ip_address = 3;
  237. optional uint32 game_port = 4;
  238. optional bool is_secure = 5;
  239. optional bytes token = 6;
  240. optional string game_extra_info = 7;
  241. optional bytes game_data_blob = 8;
  242. optional uint32 process_id = 9;
  243. optional uint32 streaming_provider_id = 10;
  244. optional uint32 game_flags = 11;
  245. optional uint32 owner_id = 12;
  246. }
  247.  
  248. repeated GamePlayed games_played = 1;
  249. optional uint32 client_os_type = 2;
  250. }
  251.  
  252. message CMsgGSApprove
  253. {
  254. optional fixed64 steam_id = 1;
  255. }
  256.  
  257. message CMsgGSDeny
  258. {
  259. optional fixed64 steam_id = 1;
  260. optional int32 edeny_reason = 2;
  261. optional string deny_string = 3;
  262. }
  263.  
  264. message CMsgGSKick
  265. {
  266. optional fixed64 steam_id = 1;
  267. optional int32 edeny_reason = 2;
  268. }
  269.  
  270. message CMsgClientAuthList
  271. {
  272. optional uint32 tokens_left = 1;
  273. optional uint32 last_request_seq = 2;
  274. optional uint32 last_request_seq_from_server = 3;
  275. repeated CMsgAuthTicket tickets = 4;
  276. repeated uint32 app_ids = 5;
  277. optional uint32 message_sequence = 6;
  278. }
  279.  
  280. message CMsgClientAuthListAck
  281. {
  282. repeated uint32 ticket_crc = 1;
  283. repeated uint32 app_ids = 2;
  284. optional uint32 message_sequence = 3;
  285. }
  286.  
  287. message CMsgClientFriendsList
  288. {
  289. message Friend
  290. {
  291. optional fixed64 ulfriendid = 1;
  292. optional uint32 efriendrelationship = 2;
  293. }
  294.  
  295. optional bool bincremental = 1;
  296. repeated Friend friends = 2;
  297. optional uint32 max_friend_count = 3;
  298. optional uint32 active_friend_count = 4;
  299. optional bool friends_limit_hit = 5;
  300. }
  301.  
  302. message CMsgClientFriendsGroupsList
  303. {
  304. message FriendGroup
  305. {
  306. optional int32 nGroupID = 1;
  307. optional string strGroupName = 2;
  308. }
  309.  
  310. message FriendGroupsMembership
  311. {
  312. optional fixed64 ulSteamID = 1;
  313. optional int32 nGroupID = 2;
  314. }
  315.  
  316. optional bool bremoval = 1;
  317. optional bool bincremental = 2;
  318. repeated FriendGroup friendGroups = 3;
  319. repeated FriendGroupsMembership memberships = 4;
  320. }
  321.  
  322. message CMsgClientPlayerNicknameList
  323. {
  324. message PlayerNickname
  325. {
  326. optional fixed64 steamid = 1;
  327. optional string nickname = 3;
  328. }
  329.  
  330. optional bool removal = 1;
  331. optional bool incremental = 2;
  332. repeated PlayerNickname nicknames = 3;
  333. }
  334.  
  335. message CMsgClientSetPlayerNickname
  336. {
  337. optional fixed64 steamid = 1;
  338. optional string nickname = 2;
  339. }
  340.  
  341. message CMsgClientSetPlayerNicknameResponse
  342. {
  343. optional uint32 eresult = 1;
  344. }
  345.  
  346. message CMsgClientLicenseList
  347. {
  348. message License
  349. {
  350. optional uint32 package_id = 1;
  351. optional fixed32 time_created = 2;
  352. optional fixed32 time_next_process = 3;
  353. optional int32 minute_limit = 4;
  354. optional int32 minutes_used = 5;
  355. optional uint32 payment_method = 6;
  356. optional uint32 flags = 7;
  357. optional string purchase_country_code = 8;
  358. optional uint32 license_type = 9;
  359. optional int32 territory_code = 10;
  360. optional int32 change_number = 11;
  361. optional uint32 owner_id = 12;
  362. }
  363.  
  364. optional int32 eresult = 1 [default = 2];
  365. repeated License licenses = 2;
  366. }
  367.  
  368. message CMsgClientLBSSetScore
  369. {
  370. optional uint32 app_id = 1;
  371. optional int32 leaderboard_id = 2;
  372. optional int32 score = 3;
  373. optional bytes details = 4;
  374. optional int32 upload_score_method = 5;
  375. }
  376.  
  377. message CMsgClientLBSSetScoreResponse
  378. {
  379. optional int32 eresult = 1 [default = 2];
  380. optional int32 leaderboard_entry_count = 2;
  381. optional bool score_changed = 3;
  382. optional int32 global_rank_previous = 4;
  383. optional int32 global_rank_new = 5;
  384. }
  385.  
  386. message CMsgClientLBSSetUGC
  387. {
  388. optional uint32 app_id = 1;
  389. optional int32 leaderboard_id = 2;
  390. optional fixed64 ugc_id = 3;
  391. }
  392.  
  393. message CMsgClientLBSSetUGCResponse
  394. {
  395. optional int32 eresult = 1 [default = 2];
  396. }
  397.  
  398. message CMsgClientLBSFindOrCreateLB
  399. {
  400. optional uint32 app_id = 1;
  401. optional int32 leaderboard_sort_method = 2;
  402. optional int32 leaderboard_display_type = 3;
  403. optional bool create_if_not_found = 4;
  404. optional string leaderboard_name = 5;
  405. }
  406.  
  407. message CMsgClientLBSFindOrCreateLBResponse
  408. {
  409. optional int32 eresult = 1 [default = 2];
  410. optional int32 leaderboard_id = 2;
  411. optional int32 leaderboard_entry_count = 3;
  412. optional int32 leaderboard_sort_method = 4 [default = 0];
  413. optional int32 leaderboard_display_type = 5 [default = 0];
  414. optional string leaderboard_name = 6;
  415. }
  416.  
  417. message CMsgClientLBSGetLBEntries
  418. {
  419. optional int32 app_id = 1;
  420. optional int32 leaderboard_id = 2;
  421. optional int32 range_start = 3;
  422. optional int32 range_end = 4;
  423. optional int32 leaderboard_data_request = 5;
  424. repeated fixed64 steamids = 6;
  425. }
  426.  
  427. message CMsgClientLBSGetLBEntriesResponse
  428. {
  429. message Entry
  430. {
  431. optional fixed64 steam_id_user = 1;
  432. optional int32 global_rank = 2;
  433. optional int32 score = 3;
  434. optional bytes details = 4;
  435. optional fixed64 ugc_id = 5;
  436. }
  437.  
  438. optional int32 eresult = 1 [default = 2];
  439. optional int32 leaderboard_entry_count = 2;
  440. repeated Entry entries = 3;
  441. }
  442.  
  443. message CMsgClientAccountInfo
  444. {
  445. optional string persona_name = 1;
  446. optional string ip_country = 2;
  447. optional bytes salt_password = 3;
  448. optional bytes sha_digest_Password = 4;
  449. optional int32 count_authed_computers = 5;
  450. optional bool locked_with_ipt = 6;
  451. optional uint32 account_flags = 7;
  452. optional uint64 facebook_id = 8;
  453. optional string facebook_name = 9;
  454. optional int32 steam_guard_provider = 10;
  455. optional bool steamguard_require_code_default = 11;
  456. optional bool steamguard_show_providers = 12;
  457. optional bool steamguard_can_use_mobile_provider = 13;
  458. optional bool steamguard_notify_newmachines = 14;
  459. optional string steamguard_machine_name_user_chosen = 15;
  460. }
  461.  
  462. message CMsgClientAppMinutesPlayedData
  463. {
  464. message AppMinutesPlayedData
  465. {
  466. optional uint32 app_id = 1;
  467. optional int32 forever = 2;
  468. optional int32 last_two_weeks = 3;
  469. }
  470.  
  471. repeated AppMinutesPlayedData minutes_played = 1;
  472. }
  473.  
  474. message CMsgClientIsLimitedAccount
  475. {
  476. optional bool bis_limited_account = 1;
  477. optional bool bis_community_banned = 2;
  478. optional bool bis_locked_account = 3;
  479. }
  480.  
  481. message CMsgClientRequestFriendData
  482. {
  483. optional uint32 persona_state_requested = 1;
  484. repeated fixed64 friends = 2;
  485. }
  486.  
  487. message CMsgClientChangeStatus
  488. {
  489. optional uint32 persona_state = 1;
  490. optional string player_name = 2;
  491. optional bool is_auto_generated_name = 3;
  492. optional bool high_priority = 4;
  493. }
  494.  
  495. message CMsgPersonaChangeResponse
  496. {
  497. optional uint32 result = 1;
  498. optional string player_name = 2;
  499. }
  500.  
  501. message CMsgClientPersonaState
  502. {
  503. message Friend
  504. {
  505. optional fixed64 friendid = 1;
  506. optional uint32 persona_state = 2;
  507. optional uint32 game_played_app_id = 3;
  508. optional uint32 game_server_ip = 4;
  509. optional uint32 game_server_port = 5;
  510. optional uint32 persona_state_flags = 6;
  511. optional uint32 online_session_instances = 7;
  512. optional uint32 published_instance_id = 8;
  513. optional string player_name = 15;
  514. optional uint32 query_port = 20;
  515. optional fixed64 steamid_source = 25;
  516. optional bytes avatar_hash = 31;
  517. optional uint32 last_logoff = 45;
  518. optional uint32 last_logon = 46;
  519. optional uint32 clan_rank = 50;
  520. optional string game_name = 55;
  521. optional fixed64 gameid = 56;
  522. optional bytes game_data_blob = 60;
  523. optional string clan_tag = 65;
  524. optional string facebook_name = 66;
  525. optional uint64 facebook_id = 67;
  526. }
  527.  
  528. optional uint32 status_flags = 1;
  529. repeated Friend friends = 2;
  530. }
  531.  
  532. message CMsgClientFriendProfileInfo
  533. {
  534. optional fixed64 steamid_friend = 1;
  535. }
  536.  
  537. message CMsgClientFriendProfileInfoResponse
  538. {
  539. optional int32 eresult = 1 [default = 2];
  540. optional fixed64 steamid_friend = 2;
  541. optional uint32 time_created = 3;
  542. optional string real_name = 4;
  543. optional string city_name = 5;
  544. optional string state_name = 6;
  545. optional string country_name = 7;
  546. optional string headline = 8;
  547. optional string summary = 9;
  548. }
  549.  
  550. message CMsgClientServerList
  551. {
  552. message Server
  553. {
  554. optional uint32 server_type = 1;
  555. optional uint32 server_ip = 2;
  556. optional uint32 server_port = 3;
  557. }
  558.  
  559. repeated Server servers = 1;
  560. }
  561.  
  562. message CMsgClientRequestedClientStats
  563. {
  564. message StatsToSend
  565. {
  566. optional uint32 client_stat = 1;
  567. optional uint32 stat_aggregate_method = 2;
  568. }
  569.  
  570. repeated StatsToSend stats_to_send = 1;
  571. }
  572.  
  573. message CMsgClientStat2
  574. {
  575. message StatDetail
  576. {
  577. optional uint32 client_stat = 1;
  578. optional int64 ll_value = 2;
  579. optional uint32 time_of_day = 3;
  580. optional uint32 cell_id = 4;
  581. optional uint32 depot_id = 5;
  582. optional uint32 app_id = 6;
  583. }
  584.  
  585. repeated StatDetail stat_detail = 1;
  586. }
  587.  
  588. message CMsgClientMMSCreateLobby
  589. {
  590. optional uint32 app_id = 1;
  591. optional int32 max_members = 2;
  592. optional int32 lobby_type = 3;
  593. optional int32 lobby_flags = 4;
  594. optional uint32 cell_id = 5;
  595. optional uint32 public_ip = 6;
  596. optional bytes metadata = 7;
  597. optional string persona_name_owner = 8;
  598. }
  599.  
  600. message CMsgClientMMSCreateLobbyResponse
  601. {
  602. optional uint32 app_id = 1;
  603. optional fixed64 steam_id_lobby = 2;
  604. optional int32 eresult = 3 [default = 2];
  605. }
  606.  
  607. message CMsgClientMMSJoinLobby
  608. {
  609. optional uint32 app_id = 1;
  610. optional fixed64 steam_id_lobby = 2;
  611. optional string persona_name = 3;
  612. }
  613.  
  614. message CMsgClientMMSJoinLobbyResponse
  615. {
  616. message Member
  617. {
  618. optional fixed64 steam_id = 1;
  619. optional string persona_name = 2;
  620. optional bytes metadata = 3;
  621. }
  622.  
  623. optional uint32 app_id = 1;
  624. optional fixed64 steam_id_lobby = 2;
  625. optional int32 chat_room_enter_response = 3;
  626. optional int32 max_members = 4;
  627. optional int32 lobby_type = 5;
  628. optional int32 lobby_flags = 6;
  629. optional fixed64 steam_id_owner = 7;
  630. optional bytes metadata = 8;
  631. repeated Member members = 9;
  632. }
  633.  
  634. message CMsgClientMMSLeaveLobby
  635. {
  636. optional uint32 app_id = 1;
  637. optional fixed64 steam_id_lobby = 2;
  638. }
  639.  
  640. message CMsgClientMMSLeaveLobbyResponse
  641. {
  642. optional uint32 app_id = 1;
  643. optional fixed64 steam_id_lobby = 2;
  644. optional int32 eresult = 3 [default = 2];
  645. }
  646.  
  647. message CMsgClientMMSGetLobbyList
  648. {
  649. message Filter
  650. {
  651. optional string key = 1;
  652. optional string value = 2;
  653. optional int32 comparision = 3;
  654. optional int32 filter_type = 4;
  655. }
  656.  
  657. optional uint32 app_id = 1;
  658. optional int32 num_lobbies_requested = 3;
  659. optional uint32 cell_id = 4;
  660. optional uint32 public_ip = 5;
  661. repeated Filter filters = 6;
  662. }
  663.  
  664. message CMsgClientMMSGetLobbyListResponse
  665. {
  666. message Lobby
  667. {
  668. optional fixed64 steam_id = 1;
  669. optional int32 max_members = 2;
  670. optional int32 lobby_type = 3;
  671. optional int32 lobby_flags = 4;
  672. optional bytes metadata = 5;
  673. optional int32 num_members = 6;
  674. optional float distance = 7;
  675. optional int64 weight = 8;
  676. }
  677.  
  678. optional uint32 app_id = 1;
  679. optional int32 eresult = 3 [default = 2];
  680. repeated Lobby lobbies = 4;
  681. }
  682.  
  683. message CMsgClientMMSSetLobbyData
  684. {
  685. optional uint32 app_id = 1;
  686. optional fixed64 steam_id_lobby = 2;
  687. optional fixed64 steam_id_member = 3;
  688. optional int32 max_members = 4;
  689. optional int32 lobby_type = 5;
  690. optional int32 lobby_flags = 6;
  691. optional bytes metadata = 7;
  692. }
  693.  
  694. message CMsgClientMMSSetLobbyDataResponse
  695. {
  696. optional uint32 app_id = 1;
  697. optional fixed64 steam_id_lobby = 2;
  698. optional int32 eresult = 3 [default = 2];
  699. }
  700.  
  701. message CMsgClientMMSGetLobbyData
  702. {
  703. optional uint32 app_id = 1;
  704. optional fixed64 steam_id_lobby = 2;
  705. }
  706.  
  707. message CMsgClientMMSLobbyData
  708. {
  709. message Member
  710. {
  711. optional fixed64 steam_id = 1;
  712. optional string persona_name = 2;
  713. optional bytes metadata = 3;
  714. }
  715.  
  716. optional uint32 app_id = 1;
  717. optional fixed64 steam_id_lobby = 2;
  718. optional int32 num_members = 3;
  719. optional int32 max_members = 4;
  720. optional int32 lobby_type = 5;
  721. optional int32 lobby_flags = 6;
  722. optional fixed64 steam_id_owner = 7;
  723. optional bytes metadata = 8;
  724. repeated Member members = 9;
  725. optional uint32 lobby_cellid = 10;
  726. }
  727.  
  728. message CMsgClientMMSSendLobbyChatMsg
  729. {
  730. optional uint32 app_id = 1;
  731. optional fixed64 steam_id_lobby = 2;
  732. optional fixed64 steam_id_target = 3;
  733. optional bytes lobby_message = 4;
  734. }
  735.  
  736. message CMsgClientMMSLobbyChatMsg
  737. {
  738. optional uint32 app_id = 1;
  739. optional fixed64 steam_id_lobby = 2;
  740. optional fixed64 steam_id_sender = 3;
  741. optional bytes lobby_message = 4;
  742. }
  743.  
  744. message CMsgClientMMSSetLobbyOwner
  745. {
  746. optional uint32 app_id = 1;
  747. optional fixed64 steam_id_lobby = 2;
  748. optional fixed64 steam_id_new_owner = 3;
  749. }
  750.  
  751. message CMsgClientMMSSetLobbyOwnerResponse
  752. {
  753. optional uint32 app_id = 1;
  754. optional fixed64 steam_id_lobby = 2;
  755. optional int32 eresult = 3 [default = 2];
  756. }
  757.  
  758. message CMsgClientMMSSetLobbyLinked
  759. {
  760. optional uint32 app_id = 1;
  761. optional fixed64 steam_id_lobby = 2;
  762. optional fixed64 steam_id_lobby2 = 3;
  763. }
  764.  
  765. message CMsgClientMMSSetLobbyGameServer
  766. {
  767. optional uint32 app_id = 1;
  768. optional fixed64 steam_id_lobby = 2;
  769. optional uint32 game_server_ip = 3;
  770. optional uint32 game_server_port = 4;
  771. optional fixed64 game_server_steam_id = 5;
  772. }
  773.  
  774. message CMsgClientMMSLobbyGameServerSet
  775. {
  776. optional uint32 app_id = 1;
  777. optional fixed64 steam_id_lobby = 2;
  778. optional uint32 game_server_ip = 3;
  779. optional uint32 game_server_port = 4;
  780. optional fixed64 game_server_steam_id = 5;
  781. }
  782.  
  783. message CMsgClientMMSUserJoinedLobby
  784. {
  785. optional uint32 app_id = 1;
  786. optional fixed64 steam_id_lobby = 2;
  787. optional fixed64 steam_id_user = 3;
  788. optional string persona_name = 4;
  789. }
  790.  
  791. message CMsgClientMMSUserLeftLobby
  792. {
  793. optional uint32 app_id = 1;
  794. optional fixed64 steam_id_lobby = 2;
  795. optional fixed64 steam_id_user = 3;
  796. optional string persona_name = 4;
  797. }
  798.  
  799. message CMsgClientMMSInviteToLobby
  800. {
  801. optional uint32 app_id = 1;
  802. optional fixed64 steam_id_lobby = 2;
  803. optional fixed64 steam_id_user_invited = 3;
  804. }
  805.  
  806. message CMsgClientUDSInviteToGame
  807. {
  808. optional fixed64 steam_id_dest = 1;
  809. optional fixed64 steam_id_src = 2;
  810. optional string connect_string = 3;
  811. }
  812.  
  813. message CMsgClientChatInvite
  814. {
  815. optional fixed64 steam_id_invited = 1;
  816. optional fixed64 steam_id_chat = 2;
  817. optional fixed64 steam_id_patron = 3;
  818. optional int32 chatroom_type = 4;
  819. optional fixed64 steam_id_friend_chat = 5;
  820. optional string chat_name = 6;
  821. optional fixed64 game_id = 7;
  822. }
  823.  
  824. message CMsgClientConnectionStats
  825. {
  826. message Stats_Logon
  827. {
  828. optional int32 connect_attempts = 1;
  829. optional int32 connect_successes = 2;
  830. optional int32 connect_failures = 3;
  831. optional int32 connections_dropped = 4;
  832. }
  833.  
  834. message Stats_UDP
  835. {
  836. optional uint64 pkts_sent = 1;
  837. optional uint64 bytes_sent = 2;
  838. optional uint64 pkts_recv = 3;
  839. optional uint64 pkts_processed = 4;
  840. optional uint64 bytes_recv = 5;
  841. }
  842.  
  843. message Stats_VConn
  844. {
  845. optional uint32 connections_udp = 1;
  846. optional uint32 connections_tcp = 2;
  847. optional Stats_UDP stats_udp = 3;
  848. optional uint64 pkts_abandoned = 4;
  849. optional uint64 conn_req_received = 5;
  850. optional uint64 pkts_resent = 6;
  851. optional uint64 msgs_sent = 7;
  852. optional uint64 msgs_sent_failed = 8;
  853. optional uint64 msgs_recv = 9;
  854. optional uint64 datagrams_sent = 10;
  855. optional uint64 datagrams_recv = 11;
  856. optional uint64 bad_pkts_recv = 12;
  857. optional uint64 unknown_conn_pkts_recv = 13;
  858. optional uint64 missed_pkts_recv = 14;
  859. optional uint64 dup_pkts_recv = 15;
  860. optional uint64 failed_connect_challenges = 16;
  861. optional uint32 micro_sec_avg_latency = 17;
  862. optional uint32 micro_sec_min_latency = 18;
  863. optional uint32 micro_sec_max_latency = 19;
  864. optional uint32 mem_pool_msg_in_use = 20;
  865. }
  866.  
  867. optional Stats_Logon stats_logon = 1;
  868. optional Stats_VConn stats_vconn = 2;
  869. }
  870.  
  871. message CMsgClientServersAvailable
  872. {
  873. message Server_Types_Available
  874. {
  875. optional uint32 server = 1;
  876. optional bool changed = 2;
  877. }
  878.  
  879. repeated Server_Types_Available server_types_available = 1;
  880. optional uint32 server_type_for_auth_services = 2;
  881. }
  882.  
  883. message CMsgClientGetUserStats
  884. {
  885. optional fixed64 game_id = 1;
  886. optional uint32 crc_stats = 2;
  887. optional int32 schema_local_version = 3;
  888. optional fixed64 steam_id_for_user = 4;
  889. }
  890.  
  891. message CMsgClientGetUserStatsResponse
  892. {
  893. message Stats
  894. {
  895. optional uint32 stat_id = 1;
  896. optional uint32 stat_value = 2;
  897. }
  898.  
  899. message Achievement_Blocks
  900. {
  901. optional uint32 achievement_id = 1;
  902. repeated fixed32 unlock_time = 2;
  903. }
  904.  
  905. optional fixed64 game_id = 1;
  906. optional int32 eresult = 2 [default = 2];
  907. optional uint32 crc_stats = 3;
  908. optional bytes schema = 4;
  909. repeated Stats stats = 5;
  910. repeated Achievement_Blocks achievement_blocks = 6;
  911. }
  912.  
  913. message CMsgClientStoreUserStatsResponse
  914. {
  915. message Stats_Failed_Validation
  916. {
  917. optional uint32 stat_id = 1;
  918. optional uint32 reverted_stat_value = 2;
  919. }
  920.  
  921. optional fixed64 game_id = 1;
  922. optional int32 eresult = 2 [default = 2];
  923. optional uint32 crc_stats = 3;
  924. repeated Stats_Failed_Validation stats_failed_validation = 4;
  925. optional bool stats_out_of_date = 5;
  926. }
  927.  
  928. message CMsgClientStoreUserStats2
  929. {
  930. message Stats
  931. {
  932. optional uint32 stat_id = 1;
  933. optional uint32 stat_value = 2;
  934. }
  935.  
  936. optional fixed64 game_id = 1;
  937. optional fixed64 settor_steam_id = 2;
  938. optional fixed64 settee_steam_id = 3;
  939. optional uint32 crc_stats = 4;
  940. optional bool explicit_reset = 5;
  941. repeated Stats stats = 6;
  942. }
  943.  
  944. message CMsgClientStatsUpdated
  945. {
  946. message Updated_Stats
  947. {
  948. optional uint32 stat_id = 1;
  949. optional uint32 stat_value = 2;
  950. }
  951.  
  952. optional fixed64 steam_id = 1;
  953. optional fixed64 game_id = 2;
  954. optional uint32 crc_stats = 3;
  955. repeated Updated_Stats updated_stats = 4;
  956. }
  957.  
  958. message CMsgClientStoreUserStats
  959. {
  960. message Stats_To_Store
  961. {
  962. optional uint32 stat_id = 1;
  963. optional uint32 stat_value = 2;
  964. }
  965.  
  966. optional fixed64 game_id = 1;
  967. optional bool explicit_reset = 2;
  968. repeated Stats_To_Store stats_to_store = 3;
  969. }
  970.  
  971. message CMsgClientGetClientDetails
  972. {
  973. }
  974.  
  975. message CMsgClientReportOverlayDetourFailure
  976. {
  977. repeated string failure_strings = 1;
  978. }
  979.  
  980. message CMsgClientGetClientDetailsResponse
  981. {
  982. message Game
  983. {
  984. optional uint32 appid = 1;
  985. optional string extra_info = 2;
  986. optional uint32 time_running_sec = 3;
  987. }
  988.  
  989. optional uint32 package_version = 1;
  990. optional uint32 protocol_version = 8;
  991. optional string os = 2;
  992. optional string machine_name = 3;
  993. optional string ip_public = 4;
  994. optional string ip_private = 5;
  995. optional uint64 bytes_available = 7;
  996. repeated Game games_running = 6;
  997. }
  998.  
  999. message CMsgClientGetClientAppList
  1000. {
  1001. optional bool media = 1;
  1002. optional bool tools = 2;
  1003. optional bool games = 3;
  1004. optional bool only_installed = 4;
  1005. optional bool only_changing = 5;
  1006. }
  1007.  
  1008. message CMsgClientGetClientAppListResponse
  1009. {
  1010. message App
  1011. {
  1012. message DLC
  1013. {
  1014. optional uint32 appid = 1;
  1015. optional bool installed = 2;
  1016. }
  1017.  
  1018. optional uint32 appid = 1;
  1019. optional string category = 2;
  1020. optional string app_type = 10;
  1021. optional bool favorite = 3;
  1022. optional bool installed = 4;
  1023. optional bool auto_update = 5;
  1024. optional uint64 bytes_downloaded = 6;
  1025. optional uint64 bytes_needed = 7;
  1026. optional uint32 bytes_download_rate = 8;
  1027. optional bool download_paused = 11;
  1028. optional uint32 num_downloading = 12;
  1029. optional uint32 num_paused = 13;
  1030. optional bool changing = 14;
  1031. optional bool available_on_platform = 15;
  1032. repeated DLC dlcs = 9;
  1033. }
  1034.  
  1035. repeated App apps = 1;
  1036. optional uint64 bytes_available = 2;
  1037. }
  1038.  
  1039. message CMsgClientInstallClientApp
  1040. {
  1041. optional uint32 appid = 1;
  1042. }
  1043.  
  1044. message CMsgClientInstallClientAppResponse
  1045. {
  1046. optional uint32 result = 1;
  1047. }
  1048.  
  1049. message CMsgClientUninstallClientApp
  1050. {
  1051. optional uint32 appid = 1;
  1052. }
  1053.  
  1054. message CMsgClientUninstallClientAppResponse
  1055. {
  1056. optional uint32 result = 1;
  1057. }
  1058.  
  1059. message CMsgClientSetClientAppUpdateState
  1060. {
  1061. optional uint32 appid = 1;
  1062. optional bool update = 2;
  1063. }
  1064.  
  1065. message CMsgClientSetClientAppUpdateStateResponse
  1066. {
  1067. optional uint32 result = 1;
  1068. }
  1069.  
  1070. message CMsgClientUFSUploadFileRequest
  1071. {
  1072. optional uint32 app_id = 1;
  1073. optional uint32 file_size = 2;
  1074. optional uint32 raw_file_size = 3;
  1075. optional bytes sha_file = 4;
  1076. optional uint64 time_stamp = 5;
  1077. optional string file_name = 6;
  1078. optional uint32 platforms_to_sync_deprecated = 7;
  1079. optional uint32 platforms_to_sync = 8 [default = 4294967295];
  1080. optional uint32 cell_id = 9;
  1081. optional bool can_encrypt = 10;
  1082. }
  1083.  
  1084. message CMsgClientUFSUploadFileResponse
  1085. {
  1086. optional int32 eresult = 1 [default = 2];
  1087. optional bytes sha_file = 2;
  1088. optional bool use_http = 3;
  1089. optional string http_host = 4;
  1090. optional string http_url = 5;
  1091. optional bytes kv_headers = 6;
  1092. optional bool use_https = 7;
  1093. optional bool encrypt_file = 8;
  1094. }
  1095.  
  1096. message CMsgClientUFSUploadCommit
  1097. {
  1098. message File
  1099. {
  1100. optional int32 eresult = 1 [default = 2];
  1101. optional uint32 app_id = 2;
  1102. optional bytes sha_file = 3;
  1103. optional uint32 cub_file = 4;
  1104. }
  1105.  
  1106. repeated File files = 1;
  1107. }
  1108.  
  1109. message CMsgClientUFSUploadCommitResponse
  1110. {
  1111. message File
  1112. {
  1113. optional int32 eresult = 1 [default = 2];
  1114. optional uint32 app_id = 2;
  1115. optional bytes sha_file = 3;
  1116. }
  1117.  
  1118. repeated File files = 1;
  1119. }
  1120.  
  1121. message CMsgClientUFSFileChunk
  1122. {
  1123. optional bytes sha_file = 1;
  1124. optional uint32 file_start = 2;
  1125. optional bytes data = 3;
  1126. }
  1127.  
  1128. message CMsgClientUFSTransferHeartbeat
  1129. {
  1130. }
  1131.  
  1132. message CMsgClientUFSUploadFileFinished
  1133. {
  1134. optional int32 eresult = 1 [default = 2];
  1135. optional bytes sha_file = 2;
  1136. }
  1137.  
  1138. message CMsgClientUFSDeleteFileRequest
  1139. {
  1140. optional uint32 app_id = 1;
  1141. optional string file_name = 2;
  1142. optional bool is_explicit_delete = 3;
  1143. }
  1144.  
  1145. message CMsgClientUFSDeleteFileResponse
  1146. {
  1147. optional int32 eresult = 1 [default = 2];
  1148. optional string file_name = 2;
  1149. }
  1150.  
  1151. message CMsgClientUFSGetFileListForApp
  1152. {
  1153. repeated uint32 apps_to_query = 1;
  1154. optional bool send_path_prefixes = 2;
  1155. }
  1156.  
  1157. message CMsgClientUFSGetFileListForAppResponse
  1158. {
  1159. option (msgpool_soft_limit) = 8;
  1160. option (msgpool_hard_limit) = 16;
  1161.  
  1162. message File
  1163. {
  1164. optional uint32 app_id = 1;
  1165. optional string file_name = 2;
  1166. optional bytes sha_file = 3;
  1167. optional uint64 time_stamp = 4;
  1168. optional uint32 raw_file_size = 5;
  1169. optional bool is_explicit_delete = 6;
  1170. optional uint32 platforms_to_sync = 7;
  1171. optional uint32 path_prefix_index = 8;
  1172. }
  1173.  
  1174. repeated File files = 1;
  1175. repeated string path_prefixes = 2;
  1176. }
  1177.  
  1178. message CMsgClientUFSDownloadRequest
  1179. {
  1180. optional uint32 app_id = 1;
  1181. optional string file_name = 2;
  1182. optional bool can_handle_http = 3;
  1183. }
  1184.  
  1185. message CMsgClientUFSDownloadResponse
  1186. {
  1187. optional int32 eresult = 1 [default = 2];
  1188. optional uint32 app_id = 2;
  1189. optional uint32 file_size = 3;
  1190. optional uint32 raw_file_size = 4;
  1191. optional bytes sha_file = 5;
  1192. optional uint64 time_stamp = 6;
  1193. optional bool is_explicit_delete = 7;
  1194. optional bool use_http = 8;
  1195. optional string http_host = 9;
  1196. optional string http_url = 10;
  1197. optional bytes kv_headers = 11;
  1198. optional bool use_https = 12;
  1199. optional bool encrypted = 13;
  1200. }
  1201.  
  1202. message CMsgClientUFSLoginRequest
  1203. {
  1204. optional uint32 protocol_version = 1;
  1205. optional uint64 am_session_token = 2;
  1206. repeated uint32 apps = 3;
  1207. }
  1208.  
  1209. message CMsgClientUFSLoginResponse
  1210. {
  1211. optional int32 eresult = 1 [default = 2];
  1212. }
  1213.  
  1214. message CMsgClientRequestEncryptedAppTicket
  1215. {
  1216. optional uint32 app_id = 1;
  1217. optional bytes userdata = 2;
  1218. }
  1219.  
  1220. message CMsgClientRequestEncryptedAppTicketResponse
  1221. {
  1222. optional uint32 app_id = 1;
  1223. optional int32 eresult = 2 [default = 2];
  1224. optional EncryptedAppTicket encrypted_app_ticket = 3;
  1225. }
  1226.  
  1227. message CMsgClientRequestOAuthTokenForApp
  1228. {
  1229. optional uint32 app_id = 1;
  1230. optional string oauth_scope = 2;
  1231. }
  1232.  
  1233. message CMsgClientRequestOAuthTokenForAppResponse
  1234. {
  1235. optional uint32 app_id = 1;
  1236. optional int32 eresult = 2 [default = 2];
  1237. optional string oauth_token = 3;
  1238. }
  1239.  
  1240. message CMsgClientWalletInfoUpdate
  1241. {
  1242. optional bool has_wallet = 1;
  1243. optional int32 balance = 2;
  1244. optional int32 currency = 3;
  1245. }
  1246.  
  1247. message CMsgClientAppInfoUpdate
  1248. {
  1249. optional uint32 last_changenumber = 1;
  1250. optional bool send_changelist = 2;
  1251. }
  1252.  
  1253. message CMsgClientAppInfoChanges
  1254. {
  1255. optional uint32 current_change_number = 1;
  1256. optional bool force_full_update = 2;
  1257. repeated uint32 appIDs = 3;
  1258. }
  1259.  
  1260. message CMsgClientAppInfoRequest
  1261. {
  1262. message App
  1263. {
  1264. optional uint32 app_id = 1;
  1265. optional uint32 section_flags = 2;
  1266. repeated uint32 section_CRC = 3;
  1267. }
  1268.  
  1269. repeated App apps = 1;
  1270. optional bool supports_batches = 2 [default = false];
  1271. }
  1272.  
  1273. message CMsgClientAppInfoResponse
  1274. {
  1275. option (msgpool_hard_limit) = 0;
  1276.  
  1277. message App
  1278. {
  1279. message Section
  1280. {
  1281. optional uint32 section_id = 1;
  1282. optional bytes section_kv = 2;
  1283. }
  1284.  
  1285. optional uint32 app_id = 1;
  1286. optional uint32 change_number = 2;
  1287. repeated Section sections = 3;
  1288. }
  1289.  
  1290. repeated App apps = 1;
  1291. repeated uint32 apps_unknown = 2;
  1292. optional uint32 apps_pending = 3;
  1293. }
  1294.  
  1295. message CMsgClientPackageInfoRequest
  1296. {
  1297. repeated uint32 package_ids = 1;
  1298. optional bool meta_data_only = 2;
  1299. }
  1300.  
  1301. message CMsgClientPackageInfoResponse
  1302. {
  1303. message Package
  1304. {
  1305. optional uint32 package_id = 1;
  1306. optional uint32 change_number = 2;
  1307. optional bytes sha = 3;
  1308. optional bytes buffer = 4;
  1309. }
  1310.  
  1311. repeated Package packages = 1;
  1312. repeated uint32 packages_unknown = 2;
  1313. optional uint32 packages_pending = 3;
  1314. }
  1315.  
  1316. message CMsgPICSChangesSinceRequest
  1317. {
  1318. optional uint32 since_change_number = 1;
  1319. optional bool send_app_info_changes = 2;
  1320. optional bool send_package_info_changes = 3;
  1321. }
  1322.  
  1323. message CMsgPICSChangesSinceResponse
  1324. {
  1325. message PackageChange
  1326. {
  1327. optional uint32 packageid = 1;
  1328. optional uint32 change_number = 2;
  1329. optional bool needs_token = 3;
  1330. }
  1331.  
  1332. message AppChange
  1333. {
  1334. optional uint32 appid = 1;
  1335. optional uint32 change_number = 2;
  1336. optional bool needs_token = 3;
  1337. }
  1338.  
  1339. optional uint32 current_change_number = 1;
  1340. optional uint32 since_change_number = 2;
  1341. optional bool force_full_update = 3;
  1342. repeated PackageChange package_changes = 4;
  1343. repeated AppChange app_changes = 5;
  1344. }
  1345.  
  1346. message CMsgPICSProductInfoRequest
  1347. {
  1348. message AppInfo
  1349. {
  1350. optional uint32 appid = 1;
  1351. optional uint64 access_token = 2;
  1352. optional bool only_public = 3;
  1353. }
  1354.  
  1355. message PackageInfo
  1356. {
  1357. optional uint32 packageid = 1;
  1358. optional uint64 access_token = 2;
  1359. }
  1360.  
  1361. repeated PackageInfo packages = 1;
  1362. repeated AppInfo apps = 2;
  1363. optional bool meta_data_only = 3;
  1364. optional uint32 num_prev_failed = 4;
  1365. }
  1366.  
  1367. message CMsgPICSProductInfoResponse
  1368. {
  1369. option (msgpool_hard_limit) = 0;
  1370.  
  1371. message AppInfo
  1372. {
  1373. optional uint32 appid = 1;
  1374. optional uint32 change_number = 2;
  1375. optional bool missing_token = 3;
  1376. optional bytes sha = 4;
  1377. optional bytes buffer = 5;
  1378. optional bool only_public = 6;
  1379. }
  1380.  
  1381. message PackageInfo
  1382. {
  1383. optional uint32 packageid = 1;
  1384. optional uint32 change_number = 2;
  1385. optional bool missing_token = 3;
  1386. optional bytes sha = 4;
  1387. optional bytes buffer = 5;
  1388. }
  1389.  
  1390. repeated AppInfo apps = 1;
  1391. repeated uint32 unknown_appids = 2;
  1392. repeated PackageInfo packages = 3;
  1393. repeated uint32 unknown_packageids = 4;
  1394. optional bool meta_data_only = 5;
  1395. optional bool response_pending = 6;
  1396. }
  1397.  
  1398. message CMsgPICSAccessTokenRequest
  1399. {
  1400. repeated uint32 packageids = 1;
  1401. repeated uint32 appids = 2;
  1402. }
  1403.  
  1404. message CMsgPICSAccessTokenResponse
  1405. {
  1406. message PackageToken
  1407. {
  1408. optional uint32 packageid = 1;
  1409. optional uint64 access_token = 2;
  1410. }
  1411.  
  1412. message AppToken
  1413. {
  1414. optional uint32 appid = 1;
  1415. optional uint64 access_token = 2;
  1416. }
  1417.  
  1418. repeated PackageToken package_access_tokens = 1;
  1419. repeated uint32 package_denied_tokens = 2;
  1420. repeated AppToken app_access_tokens = 3;
  1421. repeated uint32 app_denied_tokens = 4;
  1422. }
  1423.  
  1424. message CMsgClientUFSGetUGCDetails
  1425. {
  1426. optional fixed64 hcontent = 1 [default = 18446744073709551615];
  1427. }
  1428.  
  1429. message CMsgClientUFSGetUGCDetailsResponse
  1430. {
  1431. optional int32 eresult = 1 [default = 2];
  1432. optional string url = 2;
  1433. optional uint32 app_id = 3;
  1434. optional string filename = 4;
  1435. optional fixed64 steamid_creator = 5;
  1436. optional uint32 file_size = 6;
  1437. }
  1438.  
  1439. message CMsgClientUFSGetSingleFileInfo
  1440. {
  1441. optional uint32 app_id = 1;
  1442. optional string file_name = 2;
  1443. }
  1444.  
  1445. message CMsgClientUFSGetSingleFileInfoResponse
  1446. {
  1447. optional int32 eresult = 1 [default = 2];
  1448. optional uint32 app_id = 2;
  1449. optional string file_name = 3;
  1450. optional bytes sha_file = 4;
  1451. optional uint64 time_stamp = 5;
  1452. optional uint32 raw_file_size = 6;
  1453. optional bool is_explicit_delete = 7;
  1454. }
  1455.  
  1456. message CMsgClientUFSShareFile
  1457. {
  1458. optional uint32 app_id = 1;
  1459. optional string file_name = 2;
  1460. }
  1461.  
  1462. message CMsgClientUFSShareFileResponse
  1463. {
  1464. optional int32 eresult = 1 [default = 2];
  1465. optional fixed64 hcontent = 2 [default = 18446744073709551615];
  1466. }
  1467.  
  1468. message CMsgClientNewLoginKey
  1469. {
  1470. optional uint32 unique_id = 1;
  1471. optional string login_key = 2;
  1472. }
  1473.  
  1474. message CMsgClientNewLoginKeyAccepted
  1475. {
  1476. optional uint32 unique_id = 1;
  1477. }
  1478.  
  1479. message CMsgClientAMGetClanOfficers
  1480. {
  1481. optional fixed64 steamid_clan = 1;
  1482. }
  1483.  
  1484. message CMsgClientAMGetClanOfficersResponse
  1485. {
  1486. optional int32 eresult = 1 [default = 2];
  1487. optional fixed64 steamid_clan = 2;
  1488. optional int32 officer_count = 3;
  1489. }
  1490.  
  1491. message CMsgClientAMGetPersonaNameHistory
  1492. {
  1493. message IdInstance
  1494. {
  1495. optional fixed64 steamid = 1;
  1496. }
  1497.  
  1498. optional int32 id_count = 1;
  1499. repeated IdInstance Ids = 2;
  1500. }
  1501.  
  1502. message CMsgClientAMGetPersonaNameHistoryResponse
  1503. {
  1504. message NameTableInstance
  1505. {
  1506. message NameInstance
  1507. {
  1508. optional fixed32 name_since = 1;
  1509. optional string name = 2;
  1510. }
  1511.  
  1512. optional int32 eresult = 1 [default = 2];
  1513. optional fixed64 steamid = 2;
  1514. repeated NameInstance names = 3;
  1515. }
  1516.  
  1517. repeated NameTableInstance responses = 2;
  1518. }
  1519.  
  1520. message CMsgClientDeregisterWithServer
  1521. {
  1522. optional uint32 eservertype = 1;
  1523. optional uint32 app_id = 2;
  1524. }
  1525.  
  1526. message CMsgClientClanState
  1527. {
  1528. message NameInfo
  1529. {
  1530. optional string clan_name = 1;
  1531. optional bytes sha_avatar = 2;
  1532. }
  1533.  
  1534. message UserCounts
  1535. {
  1536. optional uint32 members = 1;
  1537. optional uint32 online = 2;
  1538. optional uint32 chatting = 3;
  1539. optional uint32 in_game = 4;
  1540. }
  1541.  
  1542. message Event
  1543. {
  1544. optional fixed64 gid = 1;
  1545. optional uint32 event_time = 2;
  1546. optional string headline = 3;
  1547. optional fixed64 game_id = 4;
  1548. optional bool just_posted = 5;
  1549. }
  1550.  
  1551. optional fixed64 steamid_clan = 1;
  1552. optional uint32 m_unStatusFlags = 2;
  1553. optional uint32 clan_account_flags = 3;
  1554. optional NameInfo name_info = 4;
  1555. optional UserCounts user_counts = 5;
  1556. repeated Event events = 6;
  1557. repeated Event announcements = 7;
  1558. }
  1559.  
  1560. message CMsgClientFriendMsg
  1561. {
  1562. optional fixed64 steamid = 1;
  1563. optional int32 chat_entry_type = 2;
  1564. optional bytes message = 3;
  1565. optional fixed32 rtime32_server_timestamp = 4;
  1566. }
  1567.  
  1568. message CMsgClientFriendMsgIncoming
  1569. {
  1570. optional fixed64 steamid_from = 1;
  1571. optional int32 chat_entry_type = 2;
  1572. optional bool from_limited_account = 3;
  1573. optional bytes message = 4;
  1574. optional fixed32 rtime32_server_timestamp = 5;
  1575. }
  1576.  
  1577. message CMsgClientAddFriend
  1578. {
  1579. optional fixed64 steamid_to_add = 1;
  1580. optional string accountname_or_email_to_add = 2;
  1581. }
  1582.  
  1583. message CMsgClientAddFriendResponse
  1584. {
  1585. optional int32 eresult = 1 [default = 2];
  1586. optional fixed64 steam_id_added = 2;
  1587. optional string persona_name_added = 3;
  1588. }
  1589.  
  1590. message CMsgClientRemoveFriend
  1591. {
  1592. optional fixed64 friendid = 1;
  1593. }
  1594.  
  1595. message CMsgClientHideFriend
  1596. {
  1597. optional fixed64 friendid = 1;
  1598. optional bool hide = 2;
  1599. }
  1600.  
  1601. message CMsgClientUCMAddScreenshot
  1602. {
  1603. message Tag
  1604. {
  1605. optional string tag_name = 1;
  1606. optional string tag_value = 2;
  1607. }
  1608.  
  1609. optional uint32 appid = 1;
  1610. optional string filename = 2;
  1611. optional string thumbname = 3;
  1612. optional fixed32 rtime32_created = 4;
  1613. optional uint32 width = 5;
  1614. optional uint32 height = 6;
  1615. optional uint32 permissions = 7;
  1616. optional string caption = 8;
  1617. optional string shortcut_name = 9;
  1618. repeated Tag tag = 10;
  1619. repeated fixed64 tagged_steamid = 11;
  1620. optional bool spoiler_tag = 12;
  1621. repeated uint64 tagged_publishedfileid = 13;
  1622. }
  1623.  
  1624. message CMsgClientUCMAddScreenshotResponse
  1625. {
  1626. optional int32 eresult = 1 [default = 2];
  1627. optional fixed64 screenshotid = 2 [default = 18446744073709551615];
  1628. }
  1629.  
  1630. message CMsgClientUCMDeleteScreenshot
  1631. {
  1632. optional fixed64 screenshotid = 1 [default = 18446744073709551615];
  1633. }
  1634.  
  1635. message CMsgClientUCMDeleteScreenshotResponse
  1636. {
  1637. optional int32 eresult = 1 [default = 2];
  1638. }
  1639.  
  1640. message CMsgClientUCMPublishFile
  1641. {
  1642. optional uint32 app_id = 1;
  1643. optional string file_name = 2;
  1644. optional string preview_file_name = 3;
  1645. optional uint32 consumer_app_id = 4;
  1646. optional string title = 5;
  1647. optional string description = 6;
  1648. repeated string tags = 8;
  1649. optional bool workshop_file = 9;
  1650. optional int32 visibility = 10;
  1651. optional uint32 file_type = 11;
  1652. optional string url = 12;
  1653. optional uint32 video_provider = 13;
  1654. optional string video_account_name = 14;
  1655. optional string video_identifier = 15;
  1656. }
  1657.  
  1658. message CMsgClientUCMPublishFileResponse
  1659. {
  1660. optional int32 eresult = 1 [default = 2];
  1661. optional fixed64 published_file_id = 2 [default = 18446744073709551615];
  1662. optional bool needs_workshop_legal_agreement_acceptance = 3 [default = false];
  1663. }
  1664.  
  1665. message CMsgClientUCMUpdatePublishedFile
  1666. {
  1667. optional uint32 app_id = 1;
  1668. optional fixed64 published_file_id = 2;
  1669. optional string file_name = 3;
  1670. optional string preview_file_name = 4;
  1671. optional string title = 5;
  1672. optional string description = 6;
  1673. repeated string tags = 7;
  1674. optional int32 visibility = 8;
  1675. optional bool update_file = 9;
  1676. optional bool update_preview_file = 10;
  1677. optional bool update_title = 11;
  1678. optional bool update_description = 12;
  1679. optional bool update_tags = 13;
  1680. optional bool update_visibility = 14;
  1681. optional string change_description = 15;
  1682. optional bool update_url = 16;
  1683. optional string url = 17;
  1684. }
  1685.  
  1686. message CMsgClientUCMUpdatePublishedFileResponse
  1687. {
  1688. optional int32 eresult = 1 [default = 2];
  1689. optional bool needs_workshop_legal_agreement_acceptance = 2 [default = false];
  1690. }
  1691.  
  1692. message CMsgClientUCMGetPublishedFileDetails
  1693. {
  1694. optional fixed64 published_file_id = 1;
  1695. }
  1696.  
  1697. message CMsgClientUCMGetPublishedFileDetailsResponse
  1698. {
  1699. optional int32 eresult = 1 [default = 2];
  1700. optional fixed64 published_file_id = 2 [default = 18446744073709551615];
  1701. optional fixed64 creator_steam_id = 3;
  1702. optional uint32 creator_app_id = 4;
  1703. optional uint32 consumer_app_id = 5;
  1704. optional fixed64 file_hcontent = 6 [default = 18446744073709551615];
  1705. optional fixed64 preview_hcontent = 7 [default = 18446744073709551615];
  1706. optional string title = 8;
  1707. optional string description = 9;
  1708. optional fixed32 rtime32_created = 10;
  1709. optional fixed32 rtime32_updated = 11;
  1710. optional int32 visibility = 12;
  1711. optional bool banned = 13;
  1712. repeated string tag = 14;
  1713. optional string filename = 15;
  1714. optional uint32 file_size = 16;
  1715. optional uint32 preview_file_size = 17;
  1716. optional string url = 18;
  1717. optional uint32 file_type = 19;
  1718. optional bool accepted_for_use = 20;
  1719. }
  1720.  
  1721. message CMsgClientUCMDeletePublishedFile
  1722. {
  1723. optional fixed64 published_file_id = 1;
  1724. }
  1725.  
  1726. message CMsgClientUCMDeletePublishedFileResponse
  1727. {
  1728. optional int32 eresult = 1 [default = 2];
  1729. }
  1730.  
  1731. message CMsgClientUCMEnumerateUserPublishedFiles
  1732. {
  1733. optional uint32 app_id = 1;
  1734. optional uint32 start_index = 2;
  1735. optional uint32 sort_order = 3;
  1736. }
  1737.  
  1738. message CMsgClientUCMEnumerateUserPublishedFilesResponse
  1739. {
  1740. message PublishedFileId
  1741. {
  1742. optional fixed64 published_file_id = 1;
  1743. }
  1744.  
  1745. optional int32 eresult = 1 [default = 2];
  1746. repeated PublishedFileId published_files = 2;
  1747. optional uint32 total_results = 3;
  1748. }
  1749.  
  1750. message CMsgClientUCMSubscribePublishedFile
  1751. {
  1752. optional uint32 app_id = 1;
  1753. optional fixed64 published_file_id = 2;
  1754. }
  1755.  
  1756. message CMsgClientUCMSubscribePublishedFileResponse
  1757. {
  1758. optional int32 eresult = 1 [default = 2];
  1759. }
  1760.  
  1761. message CMsgClientUCMEnumerateUserSubscribedFiles
  1762. {
  1763. optional uint32 app_id = 1;
  1764. optional uint32 start_index = 2;
  1765. optional uint32 list_type = 3 [default = 1];
  1766. optional uint32 matching_file_type = 4 [default = 0];
  1767. }
  1768.  
  1769. message CMsgClientUCMEnumerateUserSubscribedFilesResponse
  1770. {
  1771. message PublishedFileId
  1772. {
  1773. optional fixed64 published_file_id = 1;
  1774. optional fixed32 rtime32_subscribed = 2 [default = 0];
  1775. }
  1776.  
  1777. optional int32 eresult = 1 [default = 2];
  1778. repeated PublishedFileId subscribed_files = 2;
  1779. optional uint32 total_results = 3;
  1780. }
  1781.  
  1782. message CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates
  1783. {
  1784. optional uint32 app_id = 1;
  1785. optional uint32 start_index = 2;
  1786. optional fixed32 start_time = 3;
  1787. }
  1788.  
  1789. message CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse
  1790. {
  1791. message PublishedFileId
  1792. {
  1793. optional fixed64 published_file_id = 1;
  1794. optional fixed32 rtime32_subscribed = 2 [default = 0];
  1795. optional uint32 appid = 3;
  1796. optional fixed64 file_hcontent = 4;
  1797. optional uint32 file_size = 5;
  1798. optional fixed32 rtime32_last_updated = 6;
  1799. }
  1800.  
  1801. optional int32 eresult = 1 [default = 2];
  1802. repeated PublishedFileId subscribed_files = 2;
  1803. optional uint32 total_results = 3;
  1804. }
  1805.  
  1806. message CMsgClientUCMUnsubscribePublishedFile
  1807. {
  1808. optional uint32 app_id = 1;
  1809. optional fixed64 published_file_id = 2;
  1810. }
  1811.  
  1812. message CMsgClientUCMUnsubscribePublishedFileResponse
  1813. {
  1814. optional int32 eresult = 1 [default = 2];
  1815. }
  1816.  
  1817. message CMsgClientUCMPublishedFileSubscribed
  1818. {
  1819. optional fixed64 published_file_id = 1;
  1820. optional uint32 app_id = 2;
  1821. optional fixed64 file_hcontent = 3;
  1822. optional uint32 file_size = 4;
  1823. optional uint32 rtime_subscribed = 5;
  1824. }
  1825.  
  1826. message CMsgClientUCMPublishedFileUnsubscribed
  1827. {
  1828. optional fixed64 published_file_id = 1;
  1829. optional uint32 app_id = 2;
  1830. }
  1831.  
  1832. message CMsgClientUCMPublishedFileDeleted
  1833. {
  1834. optional fixed64 published_file_id = 1;
  1835. optional uint32 app_id = 2;
  1836. }
  1837.  
  1838. message CMsgClientUCMPublishedFileUpdated
  1839. {
  1840. optional fixed64 published_file_id = 1;
  1841. optional uint32 app_id = 2;
  1842. optional uint32 time_updated = 3;
  1843. optional fixed64 hcontent = 4;
  1844. optional fixed32 file_size = 5;
  1845. }
  1846.  
  1847. message CMsgClientUCMGetPublishedFilesForUser
  1848. {
  1849. optional uint32 app_id = 1;
  1850. optional fixed64 creator_steam_id = 2;
  1851. repeated string required_tags = 3;
  1852. repeated string excluded_tags = 4;
  1853. optional uint32 start_index = 5;
  1854. }
  1855.  
  1856. message CMsgClientUCMGetPublishedFilesForUserResponse
  1857. {
  1858. message PublishedFileId
  1859. {
  1860. optional fixed64 published_file_id = 1;
  1861. }
  1862.  
  1863. optional int32 eresult = 1 [default = 2];
  1864. repeated PublishedFileId published_files = 2;
  1865. optional uint32 total_results = 3;
  1866. }
  1867.  
  1868. message CMsgClientUCMSetUserPublishedFileAction
  1869. {
  1870. optional fixed64 published_file_id = 1;
  1871. optional uint32 app_id = 2;
  1872. optional int32 action = 3;
  1873. }
  1874.  
  1875. message CMsgClientUCMSetUserPublishedFileActionResponse
  1876. {
  1877. optional int32 eresult = 1 [default = 2];
  1878. }
  1879.  
  1880. message CMsgClientUCMEnumeratePublishedFilesByUserAction
  1881. {
  1882. optional uint32 app_id = 1;
  1883. optional uint32 start_index = 2;
  1884. optional int32 action = 3;
  1885. }
  1886.  
  1887. message CMsgClientUCMEnumeratePublishedFilesByUserActionResponse
  1888. {
  1889. message PublishedFileId
  1890. {
  1891. optional fixed64 published_file_id = 1;
  1892. optional fixed32 rtime_time_stamp = 2 [default = 0];
  1893. }
  1894.  
  1895. optional int32 eresult = 1 [default = 2];
  1896. repeated PublishedFileId published_files = 2;
  1897. optional uint32 total_results = 3;
  1898. }
  1899.  
  1900. message CMsgClientScreenshotsChanged
  1901. {
  1902. }
  1903.  
  1904. message CMsgClientUpdateUserGameInfo
  1905. {
  1906. optional fixed64 steamid_idgs = 1;
  1907. optional fixed64 gameid = 2;
  1908. optional uint32 game_ip = 3;
  1909. optional uint32 game_port = 4;
  1910. optional bytes token = 5;
  1911. }
  1912.  
  1913. message CMsgClientRichPresenceUpload
  1914. {
  1915. optional bytes rich_presence_kv = 1;
  1916. repeated fixed64 steamid_broadcast = 2;
  1917. }
  1918.  
  1919. message CMsgClientRichPresenceRequest
  1920. {
  1921. repeated fixed64 steamid_request = 1;
  1922. }
  1923.  
  1924. message CMsgClientRichPresenceInfo
  1925. {
  1926. message RichPresence
  1927. {
  1928. optional fixed64 steamid_user = 1;
  1929. optional bytes rich_presence_kv = 2;
  1930. }
  1931.  
  1932. repeated RichPresence rich_presence = 1;
  1933. }
  1934.  
  1935. message CMsgClientCheckFileSignature
  1936. {
  1937. optional uint32 app_id = 1;
  1938. }
  1939.  
  1940. message CMsgClientCheckFileSignatureResponse
  1941. {
  1942. optional uint32 app_id = 1;
  1943. optional uint32 pid = 2;
  1944. optional uint32 eresult = 3;
  1945. optional string filename = 4;
  1946. optional uint32 esignatureresult = 5;
  1947. optional bytes sha_file = 6;
  1948. optional bytes signatureheader = 7;
  1949. optional uint32 filesize = 8;
  1950. optional uint32 getlasterror = 9;
  1951. optional uint32 evalvesignaturecheckdetail = 10;
  1952. }
  1953.  
  1954. message CMsgClientReadMachineAuth
  1955. {
  1956. optional string filename = 1;
  1957. optional uint32 offset = 2;
  1958. optional uint32 cubtoread = 3;
  1959. }
  1960.  
  1961. message CMsgClientReadMachineAuthResponse
  1962. {
  1963. optional string filename = 1;
  1964. optional uint32 eresult = 2;
  1965. optional uint32 filesize = 3;
  1966. optional bytes sha_file = 4;
  1967. optional uint32 getlasterror = 5;
  1968. optional uint32 offset = 6;
  1969. optional uint32 cubread = 7;
  1970. optional bytes bytes_read = 8;
  1971. optional string filename_sentry = 9;
  1972. }
  1973.  
  1974. message CMsgClientUpdateMachineAuth
  1975. {
  1976. optional string filename = 1;
  1977. optional uint32 offset = 2;
  1978. optional uint32 cubtowrite = 3;
  1979. optional bytes bytes = 4;
  1980. optional uint32 otp_type = 5;
  1981. optional string otp_identifier = 6;
  1982. optional bytes otp_sharedsecret = 7;
  1983. optional uint32 otp_timedrift = 8;
  1984. }
  1985.  
  1986. message CMsgClientUpdateMachineAuthResponse
  1987. {
  1988. optional string filename = 1;
  1989. optional uint32 eresult = 2;
  1990. optional uint32 filesize = 3;
  1991. optional bytes sha_file = 4;
  1992. optional uint32 getlasterror = 5;
  1993. optional uint32 offset = 6;
  1994. optional uint32 cubwrote = 7;
  1995. optional int32 otp_type = 8;
  1996. optional uint32 otp_value = 9;
  1997. optional string otp_identifier = 10;
  1998. }
  1999.  
  2000. message CMsgClientRequestMachineAuth
  2001. {
  2002. optional string filename = 1;
  2003. optional uint32 eresult_sentryfile = 2;
  2004. optional uint32 filesize = 3;
  2005. optional bytes sha_sentryfile = 4;
  2006. optional int32 lock_account_action = 6;
  2007. optional uint32 otp_type = 7;
  2008. optional string otp_identifier = 8;
  2009. optional bytes otp_sharedsecret = 9;
  2010. optional uint32 otp_value = 10;
  2011. optional string machine_name = 11;
  2012. optional string machine_name_userchosen = 12;
  2013. }
  2014.  
  2015. message CMsgClientRequestMachineAuthResponse
  2016. {
  2017. optional uint32 eresult = 1;
  2018. }
  2019.  
  2020. message CMsgClientChangeSteamGuardOptions
  2021. {
  2022. optional uint32 steamguard_provider = 1;
  2023. optional uint32 steamguard_require_code_default = 2;
  2024. optional string machine_name = 3;
  2025. optional string machine_name_userchosen = 4;
  2026. }
  2027.  
  2028. message CMsgClientChangeSteamGuardOptionsResponse
  2029. {
  2030. optional uint32 eresult = 1;
  2031. }
  2032.  
  2033. message CMsgClientCreateFriendsGroup
  2034. {
  2035. optional fixed64 steamid = 1;
  2036. optional string groupname = 2;
  2037. }
  2038.  
  2039. message CMsgClientCreateFriendsGroupResponse
  2040. {
  2041. optional uint32 eresult = 1;
  2042. optional int32 groupid = 2;
  2043. }
  2044.  
  2045. message CMsgClientDeleteFriendsGroup
  2046. {
  2047. optional fixed64 steamid = 1;
  2048. optional int32 groupid = 2;
  2049. }
  2050.  
  2051. message CMsgClientDeleteFriendsGroupResponse
  2052. {
  2053. optional uint32 eresult = 1;
  2054. }
  2055.  
  2056. message CMsgClientRenameFriendsGroup
  2057. {
  2058. optional int32 groupid = 1;
  2059. optional string groupname = 2;
  2060. }
  2061.  
  2062. message CMsgClientRenameFriendsGroupResponse
  2063. {
  2064. optional uint32 eresult = 1;
  2065. }
  2066.  
  2067. message CMsgClientAddFriendToGroup
  2068. {
  2069. optional int32 groupid = 1;
  2070. optional fixed64 steamiduser = 2;
  2071. }
  2072.  
  2073. message CMsgClientAddFriendToGroupResponse
  2074. {
  2075. optional uint32 eresult = 1;
  2076. }
  2077.  
  2078. message CMsgClientRemoveFriendFromGroup
  2079. {
  2080. optional int32 groupid = 1;
  2081. optional fixed64 steamiduser = 2;
  2082. }
  2083.  
  2084. message CMsgClientRemoveFriendFromGroupResponse
  2085. {
  2086. optional uint32 eresult = 1;
  2087. }
  2088.  
  2089. message CMsgClientRegisterKey
  2090. {
  2091. optional string key = 1;
  2092. }
  2093.  
  2094. message CMsgClientPurchaseResponse
  2095. {
  2096. optional int32 eresult = 1 [default = 2];
  2097. optional int32 purchase_result_details = 2;
  2098. optional bytes purchase_receipt_info = 3;
  2099. }
  2100.  
  2101. message CMsgClientActivateOEMLicense
  2102. {
  2103. optional string bios_manufacturer = 1;
  2104. optional string bios_serialnumber = 2;
  2105. optional bytes license_file = 3;
  2106. optional string mainboard_manufacturer = 4;
  2107. optional string mainboard_product = 5;
  2108. optional string mainboard_serialnumber = 6;
  2109. }
  2110.  
  2111. message CMsgClientRegisterOEMMachine
  2112. {
  2113. optional bytes oem_register_file = 1;
  2114. }
  2115.  
  2116. message CMsgClientRegisterOEMMachineResponse
  2117. {
  2118. optional uint32 eresult = 1;
  2119. }
  2120.  
  2121. message CMsgClientPurchaseWithMachineID
  2122. {
  2123. optional uint32 package_id = 1;
  2124. optional bytes machine_info = 2;
  2125. }
  2126.  
  2127. message CMsgTrading_InitiateTradeRequest
  2128. {
  2129. optional uint32 trade_request_id = 1;
  2130. optional uint64 other_steamid = 2;
  2131. optional string other_name = 3;
  2132. }
  2133.  
  2134. message CMsgTrading_InitiateTradeResponse
  2135. {
  2136. optional uint32 response = 1;
  2137. optional uint32 trade_request_id = 2;
  2138. optional uint64 other_steamid = 3;
  2139. optional uint32 steamguard_required_days = 4;
  2140. optional uint32 new_device_cooldown_days = 5;
  2141. }
  2142.  
  2143. message CMsgTrading_CancelTradeRequest
  2144. {
  2145. optional uint64 other_steamid = 1;
  2146. }
  2147.  
  2148. message CMsgTrading_StartSession
  2149. {
  2150. optional uint64 other_steamid = 1;
  2151. }
  2152.  
  2153. message CMsgClientMDSInitDepotBuildRequest
  2154. {
  2155. optional uint32 depot_id = 1;
  2156. optional bytes encrypted_aes_key = 2;
  2157. optional uint32 build_id = 4;
  2158. optional bool for_local_cs = 5;
  2159. optional bool no_baseline = 6;
  2160. }
  2161.  
  2162. message CMsgClientMDSInitDepotBuildResponse
  2163. {
  2164. optional int32 eresult = 1 [default = 2];
  2165. optional uint32 default_chunk_size = 2;
  2166. optional fixed64 base_manifest = 3;
  2167. optional bytes encrypted_depot_key = 4;
  2168. }
  2169.  
  2170. message CMsgClientMDSLoginRequest
  2171. {
  2172. optional bytes encrypted_session_key = 1;
  2173. }
  2174.  
  2175. message CMsgClientMDSLoginResponse
  2176. {
  2177. optional int32 eresult = 1 [default = 2];
  2178. }
  2179.  
  2180. message CMsgClientMDSUploadDepotChunks
  2181. {
  2182. message ChunkUploadData
  2183. {
  2184. optional bytes sha = 1;
  2185. optional uint32 rolling_crc = 2;
  2186. optional uint32 original_chunk_size = 3;
  2187. optional bytes data = 4;
  2188. optional uint32 compressed_chunk_size = 5;
  2189. optional uint32 compressed_crc = 6;
  2190. }
  2191.  
  2192. optional uint32 depot_id = 1;
  2193. repeated ChunkUploadData chunks = 2;
  2194. optional bool only_meta_data = 3;
  2195. }
  2196.  
  2197. message CMsgClientMDSUploadDepotChunksResponse
  2198. {
  2199. optional int32 eresult = 1 [default = 2];
  2200. }
  2201.  
  2202. message CMsgClientMDSUploadRateTest
  2203. {
  2204. optional uint32 serial_number = 1;
  2205. optional bytes test_data = 2;
  2206. optional uint32 test_data_size = 3;
  2207. optional uint32 test_data_crc = 4;
  2208. }
  2209.  
  2210. message CMsgClientMDSUploadRateTestResponse
  2211. {
  2212. optional int32 eresult = 1 [default = 2];
  2213. optional uint32 serial_number = 2;
  2214. }
  2215.  
  2216. message CMsgClientMDSTransmitManifestDataChunk
  2217. {
  2218. optional int32 offset = 1;
  2219. optional bytes data = 2;
  2220. }
  2221.  
  2222. message CMsgClientMDSUploadManifestRequest
  2223. {
  2224. optional uint32 depot_id = 1;
  2225. optional uint32 manifest_size_compressed = 2;
  2226. optional bool make_public = 4;
  2227. optional uint32 build_id = 6;
  2228. optional uint32 manifest_version = 7;
  2229. optional bool local_cs_build = 9;
  2230. }
  2231.  
  2232. message CMsgClientMDSUploadManifestResponse
  2233. {
  2234. optional int32 eresult = 1 [default = 2];
  2235. optional fixed64 new_manifest = 2;
  2236. optional uint32 unique_chunks = 3;
  2237. optional uint32 missing_chunks = 4;
  2238. optional uint32 bitstring_size_uncompressed = 5;
  2239. optional bytes bitstring = 6;
  2240. optional bool is_prev_manifest = 7;
  2241. }
  2242.  
  2243. message CMsgClientMDSGetDepotManifest
  2244. {
  2245. optional uint32 depot_id = 1;
  2246. optional fixed64 manifest_id = 2;
  2247. optional uint32 manifest_version = 3;
  2248. }
  2249.  
  2250. message CMsgClientMDSGetDepotManifestResponse
  2251. {
  2252. optional int32 eresult = 1 [default = 2];
  2253. optional uint32 manifest_size_compressed = 3;
  2254. }
  2255.  
  2256. message CMsgClientMDSGetDepotManifestChunk
  2257. {
  2258. optional uint32 offset = 1;
  2259. optional bytes data = 3;
  2260. }
  2261.  
  2262. message CMsgClientMDSRegisterAppBuild
  2263. {
  2264. optional int32 app_id = 1;
  2265. optional string description = 2;
  2266. optional bool for_local_cs = 5;
  2267. }
  2268.  
  2269. message CMsgClientMDSRegisterAppBuildResponse
  2270. {
  2271. optional int32 eresult = 1 [default = 2];
  2272. optional uint32 build_id = 2;
  2273. }
  2274.  
  2275. message CMsgMDSSetAppBuildLive
  2276. {
  2277. optional uint32 build_id = 1;
  2278. optional uint32 app_id = 2;
  2279. optional string beta_key = 3;
  2280. optional string beta_password = 5;
  2281. optional bool only_finish = 6;
  2282. optional uint32 num_skip_depots = 7;
  2283. }
  2284.  
  2285. message CMsgMDSSetAppBuildLiveResponse
  2286. {
  2287. optional int32 eresult = 1 [default = 2];
  2288. optional string error_string = 2;
  2289. }
  2290.  
  2291. message CMsgClientMDSSignInstallScript
  2292. {
  2293. optional int32 depot_id = 1;
  2294. optional string data = 2;
  2295. }
  2296.  
  2297. message CMsgClientMDSSignInstallScriptResponse
  2298. {
  2299. optional int32 eresult = 1 [default = 2];
  2300. optional string error_string = 2;
  2301. optional string data = 3;
  2302. }
  2303.  
  2304. message CMsgClientEmailChange
  2305. {
  2306. optional string password = 1;
  2307. optional string email = 2;
  2308. optional string code = 3;
  2309. optional bool final = 4;
  2310. optional bool newmethod = 5;
  2311. }
  2312.  
  2313. message CMsgClientEmailChangeResponse
  2314. {
  2315. optional int32 eresult = 1 [default = 2];
  2316. }
  2317.  
  2318. message CMsgClientGetCDNAuthToken
  2319. {
  2320. optional uint32 app_id = 1;
  2321. optional string host_name = 2;
  2322. }
  2323.  
  2324. message CMsgClientGetDepotDecryptionKey
  2325. {
  2326. optional uint32 depot_id = 1;
  2327. optional uint32 app_id = 2;
  2328. }
  2329.  
  2330. message CMsgClientGetDepotDecryptionKeyResponse
  2331. {
  2332. optional int32 eresult = 1 [default = 2];
  2333. optional uint32 depot_id = 2;
  2334. optional bytes depot_encryption_key = 3;
  2335. }
  2336.  
  2337. message CMsgClientGetAppBetaPasswords
  2338. {
  2339. optional uint32 app_id = 1;
  2340. }
  2341.  
  2342. message CMsgClientGetAppBetaPasswordsResponse
  2343. {
  2344. message BetaPassword
  2345. {
  2346. optional string betaname = 1;
  2347. optional string betapassword = 2;
  2348. }
  2349.  
  2350. optional int32 eresult = 1 [default = 2];
  2351. optional uint32 app_id = 2;
  2352. repeated BetaPassword betapasswords = 3;
  2353. }
  2354.  
  2355. message CMsgClientUpdateAppJobReport
  2356. {
  2357. optional uint32 app_id = 1;
  2358. repeated uint32 depot_ids = 2;
  2359. optional uint32 app_state = 3;
  2360. optional uint32 job_app_error = 4;
  2361. optional string error_details = 5;
  2362. optional uint32 job_duration = 6;
  2363. optional uint32 files_validation_failed = 7;
  2364. optional uint64 bytes_downloaded = 8;
  2365. optional uint64 bytes_staged = 9;
  2366. optional uint64 bytes_comitted = 10;
  2367. optional uint32 start_app_state = 11;
  2368. }
  2369.  
  2370. message CMsgClientSteam2AppStarted
  2371. {
  2372. optional uint32 app_id = 1;
  2373. optional string command_line = 2;
  2374. }
  2375.  
  2376. message CMsgClientGetCDNAuthTokenResponse
  2377. {
  2378. optional uint32 eresult = 1 [default = 2];
  2379. optional string token = 2;
  2380. optional uint32 expiration_time = 3;
  2381. }
  2382.  
  2383. message CMsgDownloadRateStatistics
  2384. {
  2385. message StatsInfo
  2386. {
  2387. optional uint32 source_type = 1;
  2388. optional uint32 source_id = 2;
  2389. optional uint32 seconds = 3;
  2390. optional uint64 bytes = 4;
  2391. }
  2392.  
  2393. optional uint32 cell_id = 1;
  2394. repeated StatsInfo stats = 2;
  2395. }
  2396.  
  2397. message CMsgClientRequestAccountData
  2398. {
  2399. optional string account_or_email = 1;
  2400. optional uint32 action = 2;
  2401. }
  2402.  
  2403. message CMsgClientRequestAccountDataResponse
  2404. {
  2405. optional uint32 action = 1;
  2406. optional uint32 eresult = 2;
  2407. optional string account_name = 3;
  2408. optional uint32 ct_matches = 4;
  2409. optional string account_name_suggestion1 = 5;
  2410. optional string account_name_suggestion2 = 6;
  2411. optional string account_name_suggestion3 = 7;
  2412. }
  2413.  
  2414. message CMsgClientUGSGetGlobalStats
  2415. {
  2416. optional uint64 gameid = 1;
  2417. optional uint32 history_days_requested = 2;
  2418. optional fixed32 time_last_requested = 3;
  2419. optional uint32 first_day_cached = 4;
  2420. optional uint32 days_cached = 5;
  2421. }
  2422.  
  2423. message CMsgClientUGSGetGlobalStatsResponse
  2424. {
  2425. message Day
  2426. {
  2427. message Stat
  2428. {
  2429. optional int32 stat_id = 1;
  2430. optional int64 data = 2;
  2431. }
  2432.  
  2433. optional uint32 day_id = 1;
  2434. repeated Stat stats = 2;
  2435. }
  2436.  
  2437. optional int32 eresult = 1 [default = 2];
  2438. optional fixed32 timestamp = 2;
  2439. optional int32 day_current = 3;
  2440. repeated Day days = 4;
  2441. }
  2442.  
  2443. message CMsgGameServerData
  2444. {
  2445. message Player
  2446. {
  2447. optional fixed64 steam_id = 1;
  2448. }
  2449.  
  2450. optional fixed64 steam_id_gs = 1;
  2451. optional uint32 ip = 2;
  2452. optional uint32 query_port = 3;
  2453. optional uint32 game_port = 4;
  2454. optional uint32 sourcetv_port = 5;
  2455. optional string name = 22;
  2456. optional uint32 app_id = 6;
  2457. optional string gamedir = 7;
  2458. optional string version = 8;
  2459. optional string product = 9;
  2460. optional string region = 10;
  2461. repeated Player players = 11;
  2462. optional uint32 max_players = 12;
  2463. optional uint32 bot_count = 13;
  2464. optional bool password = 14;
  2465. optional bool secure = 15;
  2466. optional bool dedicated = 16;
  2467. optional string os = 17;
  2468. optional string game_data = 18;
  2469. optional uint32 game_data_version = 19;
  2470. optional string game_type = 20;
  2471. optional string map = 21;
  2472. }
  2473.  
  2474. message CMsgGameServerRemove
  2475. {
  2476. optional fixed64 steam_id = 1;
  2477. optional uint32 ip = 2;
  2478. optional uint32 query_port = 3;
  2479. }
  2480.  
  2481. message CMsgClientGMSServerQuery
  2482. {
  2483. optional uint32 app_id = 1;
  2484. optional uint32 geo_location_ip = 2;
  2485. optional uint32 region_code = 3;
  2486. optional string filter_text = 4;
  2487. optional uint32 max_servers = 5;
  2488. }
  2489.  
  2490. message CMsgGMSClientServerQueryResponse
  2491. {
  2492. message Server
  2493. {
  2494. optional uint32 server_ip = 1;
  2495. optional uint32 server_port = 2;
  2496. optional uint32 auth_players = 3;
  2497. }
  2498.  
  2499. repeated Server servers = 1;
  2500. optional string error = 2;
  2501. }
  2502.  
  2503. message CMsgGameServerOutOfDate
  2504. {
  2505. optional fixed64 steam_id_gs = 1;
  2506. optional bool reject = 2;
  2507. optional string message = 3;
  2508. }
  2509.  
  2510. message CMsgClientRedeemGuestPass
  2511. {
  2512. optional fixed64 guest_pass_id = 1;
  2513. }
  2514.  
  2515. message CMsgClientRedeemGuestPassResponse
  2516. {
  2517. optional uint32 eresult = 1 [default = 2];
  2518. optional uint32 package_id = 2;
  2519. optional uint32 must_own_appid = 3;
  2520. }
  2521.  
  2522. message CMsgClientGetClanActivityCounts
  2523. {
  2524. repeated uint64 steamid_clans = 1;
  2525. }
  2526.  
  2527. message CMsgClientGetClanActivityCountsResponse
  2528. {
  2529. optional uint32 eresult = 1 [default = 2];
  2530. }
  2531.  
  2532. message CMsgClientOGSReportString
  2533. {
  2534. optional bool accumulated = 1;
  2535. optional uint64 sessionid = 2;
  2536. optional int32 severity = 3;
  2537. optional string formatter = 4;
  2538. optional bytes varargs = 5;
  2539. }
  2540.  
  2541. message CMsgClientOGSReportBug
  2542. {
  2543. optional uint64 sessionid = 1;
  2544. optional string bugtext = 2;
  2545. optional bytes screenshot = 3;
  2546. }
  2547.  
  2548. message CMsgGSAssociateWithClan
  2549. {
  2550. optional fixed64 steam_id_clan = 1;
  2551. }
  2552.  
  2553. message CMsgGSAssociateWithClanResponse
  2554. {
  2555. optional fixed64 steam_id_clan = 1;
  2556. optional uint32 eresult = 2 [default = 2];
  2557. }
  2558.  
  2559. message CMsgGSComputeNewPlayerCompatibility
  2560. {
  2561. optional fixed64 steam_id_candidate = 1;
  2562. }
  2563.  
  2564. message CMsgGSComputeNewPlayerCompatibilityResponse
  2565. {
  2566. optional fixed64 steam_id_candidate = 1;
  2567. optional uint32 eresult = 2 [default = 2];
  2568. optional bool is_clan_member = 3;
  2569. optional int32 ct_dont_like_you = 4;
  2570. optional int32 ct_you_dont_like = 5;
  2571. optional int32 ct_clanmembers_dont_like_you = 6;
  2572. }
  2573.  
  2574. message CMsgClientSentLogs
  2575. {
  2576. }
  2577.  
  2578. message CMsgGCClient
  2579. {
  2580. optional uint32 appid = 1;
  2581. optional uint32 msgtype = 2;
  2582. optional bytes payload = 3;
  2583. optional fixed64 steamid = 4;
  2584. optional string gcname = 5;
  2585. }
  2586.  
  2587. message CMsgClientRequestFreeLicense
  2588. {
  2589. optional uint32 app_id = 1;
  2590. }
  2591.  
  2592. message CMsgClientRequestFreeLicenseResponse
  2593. {
  2594. optional uint32 eresult = 1 [default = 2];
  2595. optional uint32 package_id = 2;
  2596. }
  2597.  
  2598. message CMsgDRMDownloadRequestWithCrashData
  2599. {
  2600. optional uint32 download_flags = 1;
  2601. optional uint32 download_types_known = 2;
  2602. optional bytes guid_drm = 3;
  2603. optional bytes guid_split = 4;
  2604. optional bytes guid_merge = 5;
  2605. optional string module_name = 6;
  2606. optional string module_path = 7;
  2607. optional bytes crash_data = 8;
  2608. }
  2609.  
  2610. message CMsgDRMDownloadResponse
  2611. {
  2612. optional uint32 eresult = 1 [default = 2];
  2613. optional uint32 app_id = 2;
  2614. optional uint32 blob_download_type = 3;
  2615. optional bytes merge_guid = 4;
  2616. optional uint32 download_file_dfs_ip = 5;
  2617. optional uint32 download_file_dfs_port = 6;
  2618. optional string download_file_url = 7;
  2619. optional string module_path = 8;
  2620. }
  2621.  
  2622. message CMsgDRMFinalResult
  2623. {
  2624. optional uint32 eResult = 1 [default = 2];
  2625. optional uint32 app_id = 2;
  2626. optional uint32 blob_download_type = 3;
  2627. optional uint32 error_detail = 4;
  2628. optional bytes merge_guid = 5;
  2629. optional uint32 download_file_dfs_ip = 6;
  2630. optional uint32 download_file_dfs_port = 7;
  2631. optional string download_file_url = 8;
  2632. }
  2633.  
  2634. message CMsgClientDPCheckSpecialSurvey
  2635. {
  2636. optional uint32 survey_id = 1;
  2637. }
  2638.  
  2639. message CMsgClientDPCheckSpecialSurveyResponse
  2640. {
  2641. optional uint32 eResult = 1 [default = 2];
  2642. optional uint32 state = 2;
  2643. optional string name = 3;
  2644. optional string custom_url = 4;
  2645. optional bool include_software = 5;
  2646. optional bytes token = 6;
  2647. }
  2648.  
  2649. message CMsgClientDPSendSpecialSurveyResponse
  2650. {
  2651. optional uint32 survey_id = 1;
  2652. optional bytes data = 2;
  2653. }
  2654.  
  2655. message CMsgClientDPSendSpecialSurveyResponseReply
  2656. {
  2657. optional uint32 eResult = 1 [default = 2];
  2658. optional bytes token = 2;
  2659. }
  2660.  
  2661. message CMsgClientRequestForgottenPasswordEmail
  2662. {
  2663. optional string account_name = 1;
  2664. optional string password_tried = 2;
  2665. }
  2666.  
  2667. message CMsgClientRequestForgottenPasswordEmailResponse
  2668. {
  2669. optional uint32 eResult = 1;
  2670. optional bool use_secret_question = 2;
  2671. }
  2672.  
  2673. message CMsgClientItemAnnouncements
  2674. {
  2675. optional uint32 count_new_items = 1;
  2676. }
  2677.  
  2678. message CMsgClientRequestItemAnnouncements
  2679. {
  2680. }
  2681.  
  2682. message CMsgClientUserNotifications
  2683. {
  2684. message Notification
  2685. {
  2686. optional uint32 user_notification_type = 1;
  2687. optional uint32 count = 2;
  2688. }
  2689.  
  2690. repeated Notification notifications = 1;
  2691. }
  2692.  
  2693. message CMsgClientCommentNotifications
  2694. {
  2695. optional uint32 count_new_comments = 1;
  2696. optional uint32 count_new_comments_owner = 2;
  2697. optional uint32 count_new_comments_subscriptions = 3;
  2698. }
  2699.  
  2700. message CMsgClientRequestCommentNotifications
  2701. {
  2702. }
  2703.  
  2704. message CMsgClientOfflineMessageNotification
  2705. {
  2706. optional uint32 offline_messages = 1;
  2707. repeated uint32 friends_with_offline_messages = 2;
  2708. }
  2709.  
  2710. message CMsgClientRequestOfflineMessageCount
  2711. {
  2712. }
  2713.  
  2714. message CMsgClientFSGetFriendMessageHistory
  2715. {
  2716. optional fixed64 steamid = 1;
  2717. }
  2718.  
  2719. message CMsgClientFSGetFriendMessageHistoryResponse
  2720. {
  2721. message FriendMessage
  2722. {
  2723. optional uint32 accountid = 1;
  2724. optional uint32 timestamp = 2;
  2725. optional string message = 3;
  2726. optional bool unread = 4;
  2727. }
  2728.  
  2729. optional fixed64 steamid = 1;
  2730. optional uint32 success = 2;
  2731. repeated FriendMessage messages = 3;
  2732. }
  2733.  
  2734. message CMsgClientFSGetFriendMessageHistoryForOfflineMessages
  2735. {
  2736. }
  2737.  
  2738. message CMsgClientFSGetFriendsSteamLevels
  2739. {
  2740. repeated uint32 accountids = 1;
  2741. }
  2742.  
  2743. message CMsgClientFSGetFriendsSteamLevelsResponse
  2744. {
  2745. message Friend
  2746. {
  2747. optional uint32 accountid = 1;
  2748. optional uint32 level = 2;
  2749. }
  2750.  
  2751. repeated Friend friends = 1;
  2752. }
  2753.  
  2754. message CMsgClientEmailAddrInfo
  2755. {
  2756. optional string email_address = 1;
  2757. optional bool email_is_validated = 2;
  2758. optional bool email_validation_changed = 3;
  2759. optional bool credential_change_requires_code = 4;
  2760. optional bool password_or_secretqa_change_requires_code = 5;
  2761. optional bool remind_user_about_email = 6;
  2762. }
  2763.  
  2764. message CMsgCREEnumeratePublishedFiles
  2765. {
  2766. optional uint32 app_id = 1;
  2767. optional int32 query_type = 2;
  2768. optional uint32 start_index = 3;
  2769. optional uint32 days = 4;
  2770. optional uint32 count = 5;
  2771. repeated string tags = 6;
  2772. repeated string user_tags = 7;
  2773. optional uint32 matching_file_type = 8 [default = 13];
  2774. }
  2775.  
  2776. message CMsgCREEnumeratePublishedFilesResponse
  2777. {
  2778. message PublishedFileId
  2779. {
  2780. optional fixed64 published_file_id = 1;
  2781. optional int32 votes_for = 2;
  2782. optional int32 votes_against = 3;
  2783. optional int32 reports = 4;
  2784. optional float score = 5;
  2785. }
  2786.  
  2787. optional int32 eresult = 1 [default = 2];
  2788. repeated PublishedFileId published_files = 2;
  2789. optional uint32 total_results = 3;
  2790. }
  2791.  
  2792. message CMsgCRERankByVote
  2793. {
  2794. optional uint32 app_id = 1;
  2795. optional uint32 start_index = 2;
  2796. optional uint32 count = 3;
  2797. repeated string tags = 4;
  2798. repeated string user_tags = 5;
  2799. }
  2800.  
  2801. message CMsgCRERankByVoteResponse
  2802. {
  2803. message PublishedFileId
  2804. {
  2805. optional fixed64 published_file_id = 1;
  2806. optional int32 votes_for = 2;
  2807. optional int32 votes_against = 3;
  2808. optional int32 reports = 4;
  2809. optional float score = 5;
  2810. }
  2811.  
  2812. optional int32 eresult = 1 [default = 2];
  2813. repeated PublishedFileId published_files = 2;
  2814. optional uint32 total_results = 3;
  2815. }
  2816.  
  2817. message CMsgCRERankByTrend
  2818. {
  2819. optional uint32 app_id = 1;
  2820. optional uint32 start_index = 2;
  2821. optional uint32 days = 3;
  2822. optional uint32 count = 4;
  2823. repeated string tags = 5;
  2824. repeated string user_tags = 6;
  2825. }
  2826.  
  2827. message CMsgCRERankByTrendResponse
  2828. {
  2829. message PublishedFileId
  2830. {
  2831. optional fixed64 published_file_id = 1;
  2832. optional int32 votes_for = 2;
  2833. optional int32 votes_against = 3;
  2834. optional int32 reports = 4;
  2835. optional float score = 5;
  2836. }
  2837.  
  2838. optional int32 eresult = 1 [default = 2];
  2839. repeated PublishedFileId published_files = 2;
  2840. optional uint32 total_results = 3;
  2841. }
  2842.  
  2843. message CMsgCREItemVoteSummary
  2844. {
  2845. message PublishedFileId
  2846. {
  2847. optional fixed64 published_file_id = 1;
  2848. }
  2849.  
  2850. repeated PublishedFileId published_file_ids = 1;
  2851. }
  2852.  
  2853. message CMsgCREItemVoteSummaryResponse
  2854. {
  2855. message ItemVoteSummary
  2856. {
  2857. optional fixed64 published_file_id = 1;
  2858. optional int32 votes_for = 2;
  2859. optional int32 votes_against = 3;
  2860. optional int32 reports = 4;
  2861. optional float score = 5;
  2862. }
  2863.  
  2864. optional int32 eresult = 1 [default = 2];
  2865. repeated ItemVoteSummary item_vote_summaries = 2;
  2866. }
  2867.  
  2868. message CMsgCREUpdateUserPublishedItemVote
  2869. {
  2870. optional fixed64 published_file_id = 1;
  2871. optional bool vote_up = 2;
  2872. }
  2873.  
  2874. message CMsgCREUpdateUserPublishedItemVoteResponse
  2875. {
  2876. optional int32 eresult = 1 [default = 2];
  2877. }
  2878.  
  2879. message CMsgCREGetUserPublishedItemVoteDetails
  2880. {
  2881. message PublishedFileId
  2882. {
  2883. optional fixed64 published_file_id = 1;
  2884. }
  2885.  
  2886. repeated PublishedFileId published_file_ids = 1;
  2887. }
  2888.  
  2889. message CMsgCREGetUserPublishedItemVoteDetailsResponse
  2890. {
  2891. message UserItemVoteDetail
  2892. {
  2893. optional fixed64 published_file_id = 1;
  2894. optional int32 vote = 2 [default = 0];
  2895. }
  2896.  
  2897. optional int32 eresult = 1 [default = 2];
  2898. repeated UserItemVoteDetail user_item_vote_details = 2;
  2899. }
  2900.  
  2901. message CMsgGameServerPingSample
  2902. {
  2903. message Sample
  2904. {
  2905. optional fixed32 ip = 1;
  2906. optional uint32 avg_ping_ms = 2;
  2907. optional uint32 stddev_ping_ms_x10 = 3;
  2908. }
  2909.  
  2910. optional fixed32 my_ip = 1;
  2911. optional int32 gs_app_id = 2;
  2912. repeated Sample gs_samples = 3;
  2913. }
  2914.  
  2915. message CMsgFSGetFollowerCount
  2916. {
  2917. optional fixed64 steam_id = 1;
  2918. }
  2919.  
  2920. message CMsgFSGetFollowerCountResponse
  2921. {
  2922. optional int32 eresult = 1 [default = 2];
  2923. optional int32 count = 2 [default = 0];
  2924. }
  2925.  
  2926. message CMsgFSGetIsFollowing
  2927. {
  2928. optional fixed64 steam_id = 1;
  2929. }
  2930.  
  2931. message CMsgFSGetIsFollowingResponse
  2932. {
  2933. optional int32 eresult = 1 [default = 2];
  2934. optional bool is_following = 2 [default = false];
  2935. }
  2936.  
  2937. message CMsgFSEnumerateFollowingList
  2938. {
  2939. optional uint32 start_index = 1;
  2940. }
  2941.  
  2942. message CMsgFSEnumerateFollowingListResponse
  2943. {
  2944. optional int32 eresult = 1 [default = 2];
  2945. optional int32 total_results = 2;
  2946. repeated fixed64 steam_ids = 3;
  2947. }
  2948.  
  2949. message CMsgDPGetNumberOfCurrentPlayers
  2950. {
  2951. optional uint32 appid = 1;
  2952. }
  2953.  
  2954. message CMsgDPGetNumberOfCurrentPlayersResponse
  2955. {
  2956. optional int32 eresult = 1 [default = 2];
  2957. optional int32 player_count = 2;
  2958. }
  2959.  
  2960. message CMsgClientFriendUserStatusPublished
  2961. {
  2962. optional fixed64 friend_steamid = 1;
  2963. optional uint32 appid = 2;
  2964. optional string status_text = 3;
  2965. }
  2966.  
  2967. message CMsgClientServiceMethod
  2968. {
  2969. optional string method_name = 1;
  2970. optional string serialized_method = 2;
  2971. optional bool is_notification = 3;
  2972. }
  2973.  
  2974. message CMsgClientServiceMethodResponse
  2975. {
  2976. optional string method_name = 1;
  2977. optional string serialized_method_response = 2;
  2978. }
  2979.  
  2980. message CMsgClientUIMode
  2981. {
  2982. optional uint32 uimode = 1;
  2983. }
  2984.  
  2985. message CMsgClientVanityURLChangedNotification
  2986. {
  2987. optional string vanity_url = 1;
  2988. }
  2989.  
  2990. message CMsgClientAuthorizeLocalDeviceRequest
  2991. {
  2992. optional string device_description = 1;
  2993. optional uint32 owner_account_id = 2;
  2994. }
  2995.  
  2996. message CMsgClientAuthorizeLocalDevice
  2997. {
  2998. optional int32 eresult = 1 [default = 2];
  2999. optional uint32 owner_account_id = 2;
  3000. optional uint64 authed_device_token = 3;
  3001. }
  3002.  
  3003. message CMsgClientDeauthorizeDeviceRequest
  3004. {
  3005. optional uint32 deauthorization_account_id = 1;
  3006. optional uint64 deauthorization_device_token = 2;
  3007. }
  3008.  
  3009. message CMsgClientDeauthorizeDevice
  3010. {
  3011. optional int32 eresult = 1 [default = 2];
  3012. optional uint32 deauthorization_account_id = 2;
  3013. }
  3014.  
  3015. message CMsgClientUseLocalDeviceAuthorizations
  3016. {
  3017. repeated uint32 authorization_account_id = 1;
  3018. }
  3019.  
  3020. message CMsgClientGetAuthorizedDevices
  3021. {
  3022. }
  3023.  
  3024. message CMsgClientGetAuthorizedDevicesResponse
  3025. {
  3026. message AuthorizedDevice
  3027. {
  3028. optional uint64 auth_device_token = 1;
  3029. optional string device_name = 2;
  3030. optional uint32 last_access_time = 3;
  3031. optional uint32 borrower_id = 4;
  3032. optional bool is_pending = 5;
  3033. }
  3034.  
  3035. optional int32 eresult = 1 [default = 2];
  3036. repeated AuthorizedDevice authorized_device = 2;
  3037. }
  3038.  
  3039. message CMsgClientGetEmoticonList
  3040. {
  3041. }
  3042.  
  3043. message CMsgClientEmoticonList
  3044. {
  3045. message Emoticon
  3046. {
  3047. optional string name = 1;
  3048. optional int32 count = 2;
  3049. }
  3050.  
  3051. repeated Emoticon emoticons = 1;
  3052. }
  3053.  
  3054. message CMsgClientSharedLibraryLockStatus
  3055. {
  3056. message LockedLibrary
  3057. {
  3058. optional uint32 owner_id = 1;
  3059. optional uint32 locked_by = 2;
  3060. }
  3061.  
  3062. repeated LockedLibrary locked_library = 1;
  3063. optional uint32 own_library_locked_by = 2;
  3064. }
  3065.  
  3066. message CMsgClientSharedLibraryStopPlaying
  3067. {
  3068. message StopApp
  3069. {
  3070. optional uint32 app_id = 1;
  3071. optional uint32 owner_id = 2;
  3072. }
  3073.  
  3074. optional int32 seconds_left = 1;
  3075. repeated StopApp stop_apps = 2;
  3076. }
  3077.  
  3078. message CMsgClientServiceCall
  3079. {
  3080. optional bytes sysid_routing = 1;
  3081. optional uint32 call_handle = 2;
  3082. optional uint32 module_crc = 3;
  3083. optional bytes module_hash = 4;
  3084. optional uint32 function_id = 5;
  3085. optional uint32 cub_output_max = 6;
  3086. optional uint32 flags = 7;
  3087. optional bytes callparameter = 8;
  3088. }
  3089.  
  3090. message CMsgClientServiceModule
  3091. {
  3092. optional uint32 module_crc = 1;
  3093. optional bytes module_hash = 2;
  3094. optional bytes module_content = 3;
  3095. }
  3096.  
  3097. message CMsgClientServiceCallResponse
  3098. {
  3099. optional bytes sysid_routing = 1;
  3100. optional uint32 call_handle = 2;
  3101. optional uint32 module_crc = 3;
  3102. optional bytes module_hash = 4;
  3103. optional uint32 ecallresult = 5;
  3104. optional bytes result_content = 6;
  3105. optional bytes os_version_info = 7;
  3106. optional bytes system_info = 8;
  3107. optional fixed64 load_address = 9;
  3108. optional bytes exception_record = 10;
  3109. optional bytes portable_os_version_info = 11;
  3110. optional bytes portable_system_info = 12;
  3111. optional bool was_converted = 13;
  3112. }
Advertisement
Add Comment
Please, Sign In to add comment