Skip to content

Commit

Permalink
Update to version 10824
Browse files Browse the repository at this point in the history
  • Loading branch information
claabs committed Feb 22, 2023
1 parent 183162f commit c863f98
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ubisoft-demux",
"version": "1.10811.0",
"version": "1.10824.0",
"description": "A Node.js client to interact with Ubisoft Connect's protobuf demux API",
"main": "dist/src/index.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions proto/proto_statistics/Statistics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ message ContextStopTypeData {
optional uint32 contextId = 4;
}

message PlayerNewsImpressionTypeData {
required string newsId = 1;
required string placement = 2;
required int32 duration = 3;
}

message GameEndObjectData {
optional uint32 gameLength = 1;
optional uint32 nbScreenshots = 2;
Expand Down Expand Up @@ -757,6 +763,7 @@ message EventTypeData {
optional GameLocalizationTypeData gameLocalization = 2;
optional ContextStartTypeData contextStart = 3;
optional ContextStopTypeData contextStop = 4;
optional PlayerNewsImpressionTypeData playerNewsImpression = 5;
}

message RemotePlayHostSessionStreamingStartData {
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* The launcher version sent to the demux API on startup. It can be found in the upc.exe file properties (e.g. File version: 132.2.0.10690)
*/
export const API_VERSION = 10811;
export const API_VERSION = 10824;
7 changes: 7 additions & 0 deletions src/generated/proto_statistics/Statistics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ export interface ContextStopTypeData {
contextId: number;
}

export interface PlayerNewsImpressionTypeData {
newsId: string;
placement: string;
duration: number;
}

export interface GameEndObjectData {
gameLength: number;
nbScreenshots: number;
Expand Down Expand Up @@ -765,6 +771,7 @@ export interface EventTypeData {
gameLocalization?: GameLocalizationTypeData;
contextStart?: ContextStartTypeData;
contextStop?: ContextStopTypeData;
playerNewsImpression?: PlayerNewsImpressionTypeData;
}

export interface RemotePlayHostSessionStreamingStartData {
Expand Down

0 comments on commit c863f98

Please sign in to comment.