Skip to content

Commit

Permalink
update protobufs
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Jun 6, 2020
1 parent c52f63f commit 8725143
Show file tree
Hide file tree
Showing 20 changed files with 3,895 additions and 1,943 deletions.
7 changes: 7 additions & 0 deletions protobufs/content_manifest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ syntax = "proto2";
option optimize_for = SPEED;
option py_generic_services = false;

enum EContentDeltaChunkDataLocation {
k_EContentDeltaChunkDataLocationInProtobuf = 0;
k_EContentDeltaChunkDataLocationAfterProtobuf = 1;
}

message ContentManifestPayload {
message FileMapping {
message ChunkData {
Expand Down Expand Up @@ -47,10 +52,12 @@ message ContentDeltaChunks {
optional uint32 size_original = 3;
optional uint32 patch_method = 4;
optional bytes chunk = 5;
optional uint32 size_delta = 6;
}

optional uint32 depot_id = 1;
optional uint64 manifest_id_source = 2;
optional uint64 manifest_id_target = 3;
repeated .ContentDeltaChunks.DeltaChunk deltaChunks = 4;
optional .EContentDeltaChunkDataLocation chunk_data_location = 5 [default = k_EContentDeltaChunkDataLocationInProtobuf];
}
3 changes: 3 additions & 0 deletions protobufs/steammessages_base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ message CMsgAppRights {
optional bool economy_support_supervisor = 13;
optional bool manage_pricing = 14;
optional bool broadcast_live = 15;
optional bool view_marketing_traffic = 16;
}

message CCuratorPreferences {
Expand Down Expand Up @@ -244,6 +245,8 @@ message CClanEventData {
optional uint32 ignore_count = 22;
optional fixed64 forum_topic_id = 23;
optional uint32 rtime32_last_modified = 24;
optional fixed64 news_post_gid = 25;
optional uint32 rtime_mod_reviewed = 26;
}

message CBilling_Address {
Expand Down
26 changes: 26 additions & 0 deletions protobufs/steammessages_chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ message CChatRoomGroupHeaderState {
repeated .CChatPartyBeacon party_beacons = 22;
optional uint64 watching_broadcast_channel_id = 23;
optional uint64 active_minigame_id = 24;
optional string avatar_ugc_url = 25;
}

message CChatRoomMember {
Expand Down Expand Up @@ -504,6 +505,7 @@ message CChatRoom_GetChatRoomGroupSummary_Response {
repeated .CChatPartyBeacon party_beacons = 18;
optional uint64 watching_broadcast_channel_id = 19;
optional uint64 active_minigame_id = 20;
optional string avatar_ugc_url = 21;
}

message CChatRoomSummaryPair {
Expand All @@ -527,6 +529,21 @@ message CChatRoom_GetChatRoomGroupSummary_Request {
optional uint64 chat_group_id = 1;
}

message CChatRoom_SetAppChatRoomGroupForceActive_Request {
optional uint64 chat_group_id = 1;
optional uint32 requesting_app_id = 2;
}

message CChatRoom_SetAppChatRoomGroupForceActive_Response {
optional uint32 result = 1;
repeated uint32 accounts_in_channel = 2;
}

message CChatRoom_SetAppChatRoomGroupStopForceActive_Notification {
optional uint64 chat_group_id = 1;
optional uint32 requesting_app_id = 2;
}

message CChatRoom_AckChatMessage_Notification {
optional uint64 chat_group_id = 1;
optional uint64 chat_id = 2;
Expand Down Expand Up @@ -835,6 +852,7 @@ message CChatUsability_ClientUsabilityMetrics_Notification {
optional bool do_not_disturb_mode = 22;
optional bool disable_embed_inlining = 23;
optional bool sign_into_friends = 24;
optional bool animated_avatars = 25;
}

message VoiceSettings {
Expand Down Expand Up @@ -1060,6 +1078,14 @@ service ChatRoom {
option (method_description) = "Get basic information about a chat room group";
}

rpc SetAppChatRoomGroupForceActive (.CChatRoom_SetAppChatRoomGroupForceActive_Request) returns (.CChatRoom_SetAppChatRoomGroupForceActive_Response) {
option (method_description) = "Force a group chat to be considered active on the server for this user";
}

rpc SetAppChatRoomGroupStopForceActive (.CChatRoom_SetAppChatRoomGroupStopForceActive_Notification) returns (.NoResponse) {
option (method_description) = "If a group chat is forced active (see SetAppChatRoomGroupForceActive), decrement the force count";
}

rpc AckChatMessage (.CChatRoom_AckChatMessage_Notification) returns (.NoResponse) {
option (method_description) = "Acknowledge that we have seen the most recent chat message in a chat";
}
Expand Down
1 change: 1 addition & 0 deletions protobufs/steammessages_clientserver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ message CMsgClientLicenseList {
optional uint32 renewal_period = 15;
optional uint32 renewal_time_unit = 16;
optional uint64 access_token = 17;
optional uint32 master_package_id = 18;
}

optional int32 eresult = 1 [default = 2];
Expand Down
4 changes: 4 additions & 0 deletions protobufs/steammessages_depotbuilder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ message CContentBuilder_InitDepotBuild_Response {
optional bytes aes_key = 3;
optional bytes rsa_key = 4;
optional string url_host = 5;
optional bool offset_detection_enabled = 6;
optional uint32 offset_detection_min_clean_chunk = 7;
optional uint32 offset_detection_blast_radius_pre = 8;
optional uint32 offset_detection_blast_radius_post = 9;
}

message CContentBuilder_StartDepotUpload_Request {
Expand Down
12 changes: 12 additions & 0 deletions protobufs/steammessages_inventory.proto
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,15 @@ message CInventory_SplitItemStack_Request {
optional uint32 appid = 1;
optional uint64 itemid = 2;
optional uint32 quantity = 3;
optional uint64 steamid = 5;
}

message CInventory_CombineItemStacks_Request {
optional uint32 appid = 1;
optional uint64 fromitemid = 2;
optional uint64 destitemid = 3;
optional uint32 quantity = 4;
optional fixed64 steamid = 7;
}

message CInventory_GetItemDefMeta_Request {
Expand Down Expand Up @@ -133,6 +135,12 @@ message CInventory_PurchaseFinalize_Request {
optional uint64 orderid = 3;
}

message CInventory_InspectItem_Request {
optional uint64 itemdefid = 1;
optional fixed64 itemid = 2;
optional string tags = 3;
}

message CInventoryClient_NewItems_Notification {
optional uint32 appid = 1;
optional .CInventory_Response inventory_response = 2;
Expand Down Expand Up @@ -200,6 +208,10 @@ service Inventory {
rpc PurchaseFinalize (.CInventory_PurchaseFinalize_Request) returns (.CInventory_Response) {
option (method_description) = "Finalizes a purchase for the user";
}

rpc InspectItem (.CInventory_InspectItem_Request) returns (.CInventory_Response) {
option (method_description) = "Get item detail given a valid inspection token";
}
}

service InventoryClient {
Expand Down
Loading

0 comments on commit 8725143

Please sign in to comment.