Update to latest proto definitions from SteamDatabase/Protobufs

From commit 085746bbf6b48d1b89b7a63e7876932793f4c08f
This commit is contained in:
TBK 2025-10-18 20:00:55 +02:00
commit 9946f23749
No known key found for this signature in database
GPG key ID: 4F205025B48377EB
127 changed files with 40662 additions and 28630 deletions

View file

@ -4,6 +4,26 @@ import "enums.proto";
option cc_generic_services = true;
enum EClanImageGroup {
k_EClanImageGroup_None = 0;
k_EClanImageGroup_Announcement = 1;
k_EClanImageGroup_Curator = 2;
}
enum EClanImageFileType {
k_EClanImageFileType_Unknown = 0;
k_EClanImageFileType_JPEG = 1;
k_EClanImageFileType_GIF = 2;
k_EClanImageFileType_PNG = 3;
k_EClanImageFileType_MP4 = 4;
k_EClanImageFileType_WEBM = 5;
k_EClanImageFileType_VTT = 6;
k_EClanImageFileType_SRT = 7;
k_EClanImageFileType_SVG = 8;
k_EClanImageFileType_XML = 9;
k_EClanImageFileType_WEBP = 10;
}
enum EPartnerEventDisplayLocation {
k_EPartnerEventDisplayLocation_Invalid = 0;
k_EPartnerEventDisplayLocation_AppDetailsSpotlight = 1;
@ -15,6 +35,7 @@ enum EPartnerEventDisplayLocation {
k_EPartnerEventDisplayLocation_StoreFrontPage = 7;
k_EPartnerEventDisplayLocation_NewsHub = 8;
k_EPartnerEventDisplayLocation_GamepadHome = 9;
k_EPartnerEventDisplayLocation_StoreHub = 10;
}
message CCommunity_GetApps_Request {
@ -187,6 +208,28 @@ message CCommunity_GetClanAnnouncementVoteForUser_Response {
optional bool voted_down = 2;
}
message CCommunity_GetClanLocGroupImages_Request {
optional uint64 steamid = 1;
optional .EClanImageGroup group = 2 [default = k_EClanImageGroup_None];
optional uint32 language = 3;
repeated uint64 loc_group_ids = 4;
}
message CCommunity_ClanLocGroupImage {
optional uint64 loc_group_id = 1;
optional string image_hash = 2;
optional string thumbnail_hash = 3;
optional .EClanImageFileType file_type = 4 [default = k_EClanImageFileType_Unknown];
optional .EClanImageGroup group = 5 [default = k_EClanImageGroup_None];
optional uint32 width = 6;
optional uint32 height = 7;
optional string extensions = 8;
}
message CCommunity_GetClanLocGroupImages_Response {
repeated .CCommunity_ClanLocGroupImage images = 1;
}
message CCommunity_GetAvatarHistory_Request {
optional fixed64 steamid = 1;
optional bool filter_user_uploaded_only = 2;
@ -202,6 +245,49 @@ message CCommunity_GetAvatarHistory_Response {
repeated .CCommunity_GetAvatarHistory_Response.AvatarData avatars = 1;
}
message CCommunity_GetClanEventCrowdInMetadata_Request {
optional fixed64 steamid = 1;
optional uint64 itemid = 2;
}
message CCommunity_GetClanEventCrowdInMetadata_Response {
optional uint64 crowdin_project_id = 1;
optional uint64 crowdin_file_id = 2;
}
message CCommunity_GetClanCrowdInMetadata_Request {
optional fixed64 steamid = 1;
}
message CCommunity_GetClanCrowdInMetadata_Response {
optional uint64 crowdin_project_id = 1;
optional uint64 crowdin_directory_id = 2;
optional bool push_by_default = 3;
}
message CCommunity_FetchTranslationFromCrowdIn_Request {
optional fixed64 steamid = 1;
optional uint64 itemid = 2;
optional int32 language = 3;
}
message CCommunity_FetchTranslationFromCrowdIn_Response {
}
message CCommunity_HideAndReportComment_Request {
optional uint64 gidfeature = 1;
optional uint64 gidfeature2 = 2;
optional uint64 gidcomment = 3;
optional fixed64 steamid = 4;
optional string commentthreadtype = 5;
optional bool hide = 6;
optional .EContentReportReason report_reason = 7 [default = k_EContentReportReason_Invalid];
optional string report_text = 8;
}
message CCommunity_HideAndReportComment_Response {
}
message CAppPriority {
optional uint32 priority = 1;
repeated uint32 appid = 2;
@ -314,6 +400,19 @@ message CCommunity_ClearSinglePartnerEventsAppPriority_Request {
message CCommunity_ClearSinglePartnerEventsAppPriority_Response {
}
message CCommunity_SetRecommendationBotReviewStatus_Request {
message ReviewLabel {
optional uint32 appid = 1;
optional uint64 recommendationid = 2;
optional bool is_bot_review = 3;
}
repeated .CCommunity_SetRecommendationBotReviewStatus_Request.ReviewLabel review_labels = 1;
}
message CCommunity_SetRecommendationBotReviewStatus_Response {
}
service Community {
rpc GetApps (.CCommunity_GetApps_Request) returns (.CCommunity_GetApps_Response);
rpc GetAppRichPresenceLocalization (.CCommunity_GetAppRichPresenceLocalization_Request) returns (.CCommunity_GetAppRichPresenceLocalization_Response);
@ -324,7 +423,12 @@ service Community {
rpc GetCommentThreadRatings (.CCommunity_GetCommentThreadRatings_Request) returns (.CCommunity_GetCommentThreadRatings_Response);
rpc RateClanAnnouncement (.CCommunity_RateClanAnnouncement_Request) returns (.CCommunity_RateClanAnnouncement_Response);
rpc GetClanAnnouncementVoteForUser (.CCommunity_GetClanAnnouncementVoteForUser_Request) returns (.CCommunity_GetClanAnnouncementVoteForUser_Response);
rpc GetClanLocGroupImages (.CCommunity_GetClanLocGroupImages_Request) returns (.CCommunity_GetClanLocGroupImages_Response);
rpc GetAvatarHistory (.CCommunity_GetAvatarHistory_Request) returns (.CCommunity_GetAvatarHistory_Response);
rpc GetClanEventCrowdInMetadata (.CCommunity_GetClanEventCrowdInMetadata_Request) returns (.CCommunity_GetClanEventCrowdInMetadata_Response);
rpc GetClanCrowdInMetadata (.CCommunity_GetClanCrowdInMetadata_Request) returns (.CCommunity_GetClanCrowdInMetadata_Response);
rpc FetchTranslationFromCrowdIn (.CCommunity_FetchTranslationFromCrowdIn_Request) returns (.CCommunity_FetchTranslationFromCrowdIn_Response);
rpc HideAndReportComment (.CCommunity_HideAndReportComment_Request) returns (.CCommunity_HideAndReportComment_Response);
rpc GetUserPartnerEventNews (.CCommunity_GetUserPartnerEventNews_Request) returns (.CCommunity_GetUserPartnerEventNews_Response);
rpc GetBestEventsForUser (.CCommunity_GetBestEventsForUser_Request) returns (.CCommunity_GetBestEventsForUser_Response);
rpc MarkPartnerEventsForUser (.CCommunity_MarkPartnerEventsForUser_Request) returns (.CCommunity_MarkPartnerEventsForUser_Response);
@ -334,4 +438,5 @@ service Community {
rpc ClearUserPartnerEventsAppPriorities (.CCommunity_ClearUserPartnerEventsAppPriorities_Request) returns (.CCommunity_ClearUserPartnerEventsAppPriorities_Response);
rpc GetUserPartnerEventsAppPriorities (.CCommunity_GetUserPartnerEventsAppPriorities_Request) returns (.CCommunity_GetUserPartnerEventsAppPriorities_Response);
rpc ClearSinglePartnerEventsAppPriority (.CCommunity_ClearSinglePartnerEventsAppPriority_Request) returns (.CCommunity_ClearSinglePartnerEventsAppPriority_Response);
rpc SetRecommendationBotReviewStatus (.CCommunity_SetRecommendationBotReviewStatus_Request) returns (.CCommunity_SetRecommendationBotReviewStatus_Response);
}