Skip to content

Commit

Permalink
protobuf update
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rossengeorgiev committed Nov 15, 2016
1 parent 8928bc7 commit 9f2edd3
Show file tree
Hide file tree
Showing 8 changed files with 606 additions and 138 deletions.
1 change: 1 addition & 0 deletions protobufs/steammessages_broadcast.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ message CBroadcast_WatchBroadcast_Response {
k_EWatchResponseUserRestricted = 9;
k_EWatchResponseClientOutOfDate = 10;
k_EWatchResponsePoorUploadQuality = 11;
k_EWatchResponseMissingSubscription = 12;
}

optional .CBroadcast_WatchBroadcast_Response.EWatchResponse response = 1 [default = k_EWatchResponseReady];
Expand Down
7 changes: 7 additions & 0 deletions protobufs/steammessages_clientserver_2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ message CMsgClientVanityURLChangedNotification {
message CMsgClientAuthorizeLocalDeviceRequest {
optional string device_description = 1;
optional uint32 owner_account_id = 2;
optional uint64 local_device_token = 3;
}

message CMsgClientAuthorizeLocalDevice {
Expand All @@ -1074,6 +1075,12 @@ message CMsgClientAuthorizeLocalDevice {
optional uint64 authed_device_token = 3;
}

message CMsgClientAuthorizeLocalDeviceNotification {
optional int32 eresult = 1 [default = 2];
optional uint32 owner_account_id = 2;
optional uint64 local_device_token = 3;
}

message CMsgClientDeauthorizeDeviceRequest {
optional uint32 deauthorization_account_id = 1;
optional uint64 deauthorization_device_token = 2;
Expand Down
39 changes: 39 additions & 0 deletions protobufs/steammessages_deviceauth.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,39 @@ message CDeviceAuth_RemoveAuthorizedBorrowers_Request {
message CDeviceAuth_RemoveAuthorizedBorrowers_Response {
}

message CDeviceAuth_GetAuthorizedAsBorrower_Request {
optional fixed64 steamid = 1;
optional bool include_canceled = 2;
optional bool include_pending = 3;
}

message CDeviceAuth_GetAuthorizedAsBorrower_Response {
message Lender {
optional fixed64 steamid = 1;
optional uint32 time_created = 2;
optional bool is_pending = 3;
optional bool is_canceled = 4;
optional bool is_used = 5;
}

repeated .CDeviceAuth_GetAuthorizedAsBorrower_Response.Lender lenders = 1;
}

message CDeviceAuth_GetExcludedGamesInLibrary_Request {
optional fixed64 steamid = 1;
}

message CDeviceAuth_GetExcludedGamesInLibrary_Response {
message ExcludedGame {
optional uint32 appid = 1;
optional string game_name = 2;
optional bool vac_banned = 3;
optional bool package_excluded = 4;
}

repeated .CDeviceAuth_GetExcludedGamesInLibrary_Response.ExcludedGame excluded_games = 1;
}

service DeviceAuth {
option (service_description) = "Library Sharing settings service";
rpc GetOwnAuthorizedDevices (.CDeviceAuth_GetOwnAuthorizedDevices_Request) returns (.CDeviceAuth_GetOwnAuthorizedDevices_Response) {
Expand All @@ -125,4 +158,10 @@ service DeviceAuth {
rpc RemoveAuthorizedBorrowers (.CDeviceAuth_RemoveAuthorizedBorrowers_Request) returns (.CDeviceAuth_RemoveAuthorizedBorrowers_Response) {
option (method_description) = "Remove users that can borrow on limited authorized devices";
}
rpc GetAuthorizedAsBorrower (.CDeviceAuth_GetAuthorizedAsBorrower_Request) returns (.CDeviceAuth_GetAuthorizedAsBorrower_Response) {
option (method_description) = "Get list of lenders that authorized given account as borrower";
}
rpc GetExcludedGamesInLibrary (.CDeviceAuth_GetExcludedGamesInLibrary_Request) returns (.CDeviceAuth_GetExcludedGamesInLibrary_Response) {
option (method_description) = "Get list of excluded games in lenders library";
}
}
5 changes: 5 additions & 0 deletions protobufs/steammessages_physicalgoods.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ message CPhysicalGoods_SteamControllerSetConfig_Request {
optional string controller_code = 2;
optional uint32 accountid = 3;
repeated .CPhysicalGoods_SteamControllerSetConfig_ControllerConfig configurations = 4;
optional int32 controller_type = 5 [default = 2];
optional bool only_for_this_serial = 6 [default = false];
}

message CPhysicalGoods_SteamControllerSetConfig_Response {
Expand All @@ -54,12 +56,15 @@ message CPhysicalGoods_SteamControllerGetConfig_Request {
optional string controller_code = 2;
optional uint32 accountid = 3;
optional string appidorname = 4;
optional int32 controller_type = 5 [default = 2];
optional bool only_for_this_serial = 6 [default = false];
}

message CPhysicalGoods_SteamControllerGetConfig_ControllerConfig {
optional string appidorname = 1;
optional uint64 publishedfileid = 2;
optional string templatename = 3;
optional string serial_number = 4;
}

message CPhysicalGoods_SteamControllerGetConfig_Response {
Expand Down
118 changes: 61 additions & 57 deletions steam/protobufs/steammessages_broadcast_pb2.py

Large diffs are not rendered by default.

168 changes: 114 additions & 54 deletions steam/protobufs/steammessages_clientserver_2_pb2.py

Large diffs are not rendered by default.

323 changes: 320 additions & 3 deletions steam/protobufs/steammessages_deviceauth_pb2.py

Large diffs are not rendered by default.

83 changes: 59 additions & 24 deletions steam/protobufs/steammessages_physicalgoods_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f2edd3

Please sign in to comment.