Skip to content

Commit

Permalink
Update to version 10872
Browse files Browse the repository at this point in the history
  • Loading branch information
claabs committed May 29, 2023
1 parent 808b262 commit f330a50
Show file tree
Hide file tree
Showing 41 changed files with 369 additions and 848 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ubisoft-demux",
"version": "1.10857.0",
"version": "1.10872.0",
"description": "A Node.js client to interact with Ubisoft Connect's protobuf demux API",
"main": "dist/src/index.js",
"scripts": {
Expand Down Expand Up @@ -70,6 +70,6 @@
"ts-proto": "^1.141.1",
"typed-emitter": "^2.1.0",
"typescript": "^4.8.3",
"yaml": "^2.1.1"
"yaml": "^2.3.1"
}
}
1 change: 1 addition & 0 deletions proto/proto_download_service/download_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ message InitializeReq {
uint64 expiration = 3;
string signature = 4;
string ownership_token = 5;
string network_id = 6;
}

message InitializeRsp {
Expand Down
9 changes: 8 additions & 1 deletion proto/proto_overlay/overlay.proto
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ message StreamingVGPEventReq {
required uint32 source = 1;
required string profile_id = 2;
required uint32 streaming_gamepad_id = 3;
required uint32 vid_pid = 4;
}

message StreamingHostCreateTokenPush {
Expand Down Expand Up @@ -313,12 +314,17 @@ message StreamingHostUpdateGuestRemainingTimeReq {
required int32 error_code = 4;
}

message StreamingHostUpdateCredentialsPush {
required string ubi_ticket = 1;
required string session_id = 2;
}

message StreamingHostReadyReq {

}

message StreamingHostSignalErrorReq {
required uint32 error_code = 1;
required int32 error_code = 1;
}

message StreamingHostSDKEventReq {
Expand Down Expand Up @@ -440,6 +446,7 @@ message Push {
optional StreamingHostCreateTokenPush streaming_host_create_token = 14;
optional StreamingHostDecodeTokenPush streaming_host_decode_token = 15;
optional StreamingHostUpdateGuestRemainingTimePush streaming_host_update_guest_remaining_time = 16;
optional StreamingHostUpdateCredentialsPush streaming_host_update_credentials = 17;
}

message Upstream {
Expand Down
5 changes: 5 additions & 0 deletions proto/proto_ownership/ownership.proto
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ message RegisterOwnershipRsp {
Result_NoLongerAvailable = 9;
Result_NotAvailableInRegion = 10;
Result_UsedCdKeyThisAccount = 11;
Result_BadUbiTicket = 12;
Result_AgeGateRestricted = 13;
Result_BadRequest = 14;
}

optional OwnedGamesContainer owned_games_container = 4;
Expand Down Expand Up @@ -575,6 +578,8 @@ message Req {
optional RegisterOwnershipFromWeGameReq register_ownership_from_wegame_req = 27;
optional OwnershipTokenReq ownership_token_req = 28;
optional RegisterTemporaryOwnershipReq register_temporary_ownership_req = 29;
optional string ubi_ticket = 30;
optional string ubi_session_id = 31;

reserved 11, 13;
}
Expand Down
35 changes: 28 additions & 7 deletions proto/proto_statistics/Statistics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,13 @@ message GameLaunchObjectData {
}

message AppQuitObjectData {
optional QuitReason quitReason = 1;
optional uint32 secondsSinceStart = 2;
optional uint32 demuxConnectionFailureCount = 3;
optional uint32 discardedEventsCount = 5;
optional bool generatedFromCache = 6 [default = false];
optional bool shopVisible = 7 [default = false];
optional string quitReason = 8;

enum QuitReason {
USER = 1;
LOGOUT = 2;
Expand All @@ -123,12 +129,6 @@ message AppQuitObjectData {
CLIENTOUTDATED = 10;
UNKNOWN = 11;
}

optional uint32 secondsSinceStart = 2;
optional uint32 demuxConnectionFailureCount = 3;
optional uint32 discardedEventsCount = 5;
optional bool generatedFromCache = 6 [default = false];
optional bool shopVisible = 7 [default = false];
}

message GameCloudSaveSyncObjectData {
Expand Down Expand Up @@ -260,6 +260,7 @@ message DownloadObjectData {
optional uint32 brand = 22;
optional string initiatedFrom = 24;
optional string installerId = 25;
optional string networkId = 26;
}

message HardwareScoreData {
Expand Down Expand Up @@ -617,6 +618,21 @@ message TrustedDeviceActionData {
optional bool defaultFriendlyName = 3;
}

message GameStarterStartRequestObjectData {
optional string steamId = 1;
optional string steamTicket = 2;
}

message MercuryCheckoutRequestObjectData {
optional string steamId = 1;
optional string partnerPlatformType = 2;
}

message MercuryWebshopGetObjectData {
optional string partnerPlatformType = 1;
optional string misconfiguredProductSteamIds = 2;
}

message SharePlayHostSessionStreamingStartData {
optional string hostPeerId = 1;
optional string side = 2;
Expand Down Expand Up @@ -750,6 +766,8 @@ message StreamingVGPEvent {
optional string side = 6;
optional string spaceIdGame = 7;
optional string state = 8;
optional string vid = 9;
optional string pid = 10;
}

message StreamingHostLinkCreatedEvent {
Expand Down Expand Up @@ -845,6 +863,9 @@ message EventObjectData {
optional RemotePlayHostSessionStreamingStartData remotePlaySessionStart = 62;
optional RemotePlayHostSessionStreamingStopData remotePlaySessionStop = 63;
optional StreamingStatusData streamingStatus = 64;
optional GameStarterStartRequestObjectData gameStarterStartRequest = 65;
optional MercuryCheckoutRequestObjectData mercuryCheckoutRequest = 66;
optional MercuryWebshopGetObjectData mercuryWebshopGet = 67;
}

message Event {
Expand Down
25 changes: 0 additions & 25 deletions proto/protos/perfetto/common/android_log_constants.proto

This file was deleted.

14 changes: 0 additions & 14 deletions proto/protos/perfetto/common/builtin_clock.proto

This file was deleted.

65 changes: 0 additions & 65 deletions proto/protos/perfetto/common/perf_events.proto

This file was deleted.

Loading

0 comments on commit f330a50

Please sign in to comment.