Initial version
This commit is contained in:
103
Protobufs/webui/service_storebrowse.proto
Normal file
103
Protobufs/webui/service_storebrowse.proto
Normal file
@@ -0,0 +1,103 @@
|
||||
import "common.proto";
|
||||
import "common_base.proto";
|
||||
|
||||
message CHardwarePackageDetails {
|
||||
optional uint32 packageid = 1;
|
||||
optional bool inventory_available = 3;
|
||||
optional bool high_pending_orders = 4;
|
||||
optional bool account_restricted_from_purchasing = 5;
|
||||
optional bool requires_reservation = 6;
|
||||
optional uint32 rtime_estimated_notification = 7;
|
||||
optional string notificaton_token = 8;
|
||||
optional int32 reservation_state = 9;
|
||||
optional bool expired = 10;
|
||||
optional uint32 time_expires = 11;
|
||||
optional uint32 time_reserved = 12;
|
||||
optional bool allow_quantity_purchase = 13;
|
||||
optional int32 max_quantity_per_purchase = 14;
|
||||
optional bool allow_purchase_in_country = 15;
|
||||
optional uint32 estimated_delivery_soonest_business_days = 17;
|
||||
optional uint32 estimated_delivery_latest_business_days = 18;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForApps_Request {
|
||||
optional .StoreBrowseContext context = 1;
|
||||
optional .CStorePageFilter store_page_filter = 2;
|
||||
repeated .StoreItemID appids = 3;
|
||||
optional uint64 steamid = 4;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForApps_Response {
|
||||
repeated .CStoreBrowse_GetDLCForApps_Response_DLCData dlc_data = 1;
|
||||
repeated .CStoreBrowse_GetDLCForApps_Response_PlaytimeForApp playtime = 2;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForApps_Response_DLCData {
|
||||
optional uint32 appid = 1;
|
||||
optional uint32 parentappid = 2;
|
||||
optional uint32 release_date = 3;
|
||||
optional bool coming_soon = 4;
|
||||
optional int64 price = 5;
|
||||
optional uint32 discount = 6;
|
||||
optional bool free = 7;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForApps_Response_PlaytimeForApp {
|
||||
optional uint32 appid = 1;
|
||||
optional uint32 playtime = 2;
|
||||
optional uint32 last_played = 3;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForAppsSolr_Request {
|
||||
optional .StoreBrowseContext context = 1;
|
||||
repeated uint32 appids = 2;
|
||||
optional string flavor = 3;
|
||||
optional uint32 count = 4;
|
||||
optional .CStorePageFilter store_page_filter = 5;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForAppsSolr_Response {
|
||||
repeated .CStoreBrowse_GetDLCForAppsSolr_Response_DLCList dlc_lists = 1;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetDLCForAppsSolr_Response_DLCList {
|
||||
optional uint32 parent_appid = 1;
|
||||
repeated uint32 dlc_appids = 2;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetHardwareItems_Request {
|
||||
repeated uint32 packageid = 1;
|
||||
optional .StoreBrowseContext context = 2;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetHardwareItems_Response {
|
||||
repeated .CHardwarePackageDetails details = 1;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetStoreCategories_Request {
|
||||
optional string language = 1;
|
||||
optional int32 elanguage = 2 [default = -1];
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetStoreCategories_Response {
|
||||
repeated .CStoreBrowse_GetStoreCategories_Response_Category categories = 1;
|
||||
}
|
||||
|
||||
message CStoreBrowse_GetStoreCategories_Response_Category {
|
||||
optional uint32 categoryid = 1;
|
||||
optional int32 type = 2 [(.description) = "enum"];
|
||||
optional string internal_name = 3;
|
||||
optional string display_name = 4;
|
||||
optional string image_url = 5;
|
||||
optional bool show_in_search = 6;
|
||||
optional bool computed = 7;
|
||||
}
|
||||
|
||||
service StoreBrowse {
|
||||
rpc GetDLCForApps (.CStoreBrowse_GetDLCForApps_Request) returns (.CStoreBrowse_GetDLCForApps_Response);
|
||||
rpc GetDLCForAppsSolr (.CStoreBrowse_GetDLCForAppsSolr_Request) returns (.CStoreBrowse_GetDLCForAppsSolr_Response);
|
||||
rpc GetHardwareItems (.CStoreBrowse_GetHardwareItems_Request) returns (.CStoreBrowse_GetHardwareItems_Response);
|
||||
rpc GetItems (.CStoreBrowse_GetItems_Request) returns (.CStoreBrowse_GetItems_Response);
|
||||
rpc GetStoreCategories (.CStoreBrowse_GetStoreCategories_Request) returns (.CStoreBrowse_GetStoreCategories_Response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user