diff --git a/CHANGELOG.md b/CHANGELOG.md index 43e1c5f..f103ec7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## v2.7.1 - November CS2 protocol sync + +### Changed + +- Synced protobufs through GameTracking-CS2 commit `82e2b9d62cc97f1358c68a220a4a392c9e41c509` (November 11, 2026): 2 changed files, 42 unchanged + - `netmessages.proto`: upstream removed `uncompressed_size` (field 8) and reserved its number + - `source2_steam_stats.proto`: added `cpu_num_logical`, `cpu_num_performance`, `cpu_num_efficiency`, and `thread_pool_workers` +- Regenerated `netmessages`, `source2_steam_stats`, and the dependent `c_peer2peer_netmessages` and `connectionless_netmessages` modules. The wire schema and response types are unchanged. +- Updated Vitest to `^5.1.0` and Prettier to `^3.10.0`; refreshed the Bun lockfile + +### Compatibility + +- No public API changes; no Game Coordinator messages changed. +- Direct consumers of the generated `netmessages` module no longer get the removed `uncompressed_size` field. + ## v2.7.0 - October CS2 protocol refresh and protobufjs 8 ### Changed diff --git a/FEATURE_SUPPORT.md b/FEATURE_SUPPORT.md index 873e462..e8cc92a 100644 --- a/FEATURE_SUPPORT.md +++ b/FEATURE_SUPPORT.md @@ -1,7 +1,7 @@ # Feature support and verification -Evidence date: **2026-10-30**. Protocol snapshot: SteamDatabase/GameTracking-CS2 -`b73cfdeb35e48bb20a5e6b2edc8ee3aad14dcf39` (2026-10-28), checked into `protobufs/`. +Evidence date: **2026-11-12**. Protocol snapshot: SteamDatabase/GameTracking-CS2 +`82e2b9d62cc97f1358c68a220a4a392c9e41c509` (2026-11-11), checked into `protobufs/`. “Payload” means actual transport bytes agree with separately written wire fixtures. “Decode” means independent incoming wire bytes reach the public event/result. diff --git a/README.md b/README.md index 58845a4..030865c 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,10 @@ Inspection results now include `customnames` (all names), `pet_food_expiration_d `cs2.ackPetEvent(petItemId)` sends the new pet-event acknowledgement using a decimal string item ID. This is a fire-and-forget protocol helper, with no defined GC response; live pet behavior has not been verified. +### November 2026 protocol sync + +Synced with [GameTracking-CS2 through November 11, 2026](https://github.com/SteamTracking/GameTracking-CS2/commit/82e2b9d62cc97f1358c68a220a4a392c9e41c509). Only engine network and Steam stats messages changed; the Game Coordinator schema and the public API are unchanged. + ### October 2026 protocol sync Synced with [GameTracking-CS2 through October 28, 2026](https://github.com/SteamTracking/GameTracking-CS2/commit/b73cfdeb35e48bb20a5e6b2edc8ee3aad14dcf39). No public API changes. Upstream marked many legacy item messages `_DEPRECATED` (numeric IDs unchanged) and removed unused GC definitions, including `steammessages_gc.proto`. The bundled protobuf runtime is now protobufjs 8; code that uses the generated modules directly gets its stricter decoding (see the changelog). diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 7cd549c..830210b 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,15 @@ # Release Notes +## v2.7.1 - November CS2 protocol sync + +- Synced protobufs through GameTracking-CS2 commit `82e2b9d62cc97f1358c68a220a4a392c9e41c509` + (November 11, 2026). Only `netmessages.proto` (removed `uncompressed_size`, field 8 reserved) and + `source2_steam_stats.proto` (new CPU and thread-pool fields) changed; their generated modules were regenerated. +- Updated Vitest to 5.1 and Prettier to 3.10. + +Compatibility: no public API changes and no Game Coordinator schema changes. Live Steam/GC behavior remains unverified. + + ## v2.7.0 - October CS2 protocol refresh and protobufjs 8 - Synced all 44 upstream protobuf files through GameTracking-CS2 commit `b73cfdeb35e48bb20a5e6b2edc8ee3aad14dcf39` diff --git a/bun.lock b/bun.lock index 4993958..ab449cf 100644 --- a/bun.lock +++ b/bun.lock @@ -16,11 +16,11 @@ "@types/steam-user": "^5.1.1", "eslint": "^10.14.0", "eslint-config-prettier": "^10.1.8", - "prettier": "^3.9.10", + "prettier": "^3.10.0", "protobufjs-cli": "^2.7.1", "steam-user": "^5.3.0", "typescript": "^7.0.2", - "vitest": "^5.0.5", + "vitest": "^5.1.0", }, "peerDependencies": { "steam-user": ">=4.2.0", @@ -208,9 +208,9 @@ "@typescript/typescript-win32-x64": ["@typescript/typescript-win32-x64@7.0.2", "", { "os": "win32", "cpu": "x64" }, "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g=="], - "@vitest/mocker": ["@vitest/mocker@5.0.5", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.31", "@vitest/spy": "5.0.5", "estree-walker": "^3.0.3", "magic-string": "^1.4.3" }, "peerDependencies": { "msw": "^2.4.9 || ^3.0.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg=="], + "@vitest/mocker": ["@vitest/mocker@5.1.0", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.31", "@vitest/spy": "5.1.0", "estree-walker": "^3.0.3", "magic-string": "^1.4.3" }, "peerDependencies": { "msw": "^2.4.9 || ^3.0.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["msw", "vite"] }, "sha512-5umB9/jlWcqVS6fsrFmv5Gdnpu6wAUio/lEOwAmvB7v+lFo/IW2B9FhAD0p19GCULTgMzLCdUmuCDCnAzWgppQ=="], - "@vitest/spy": ["@vitest/spy@5.0.5", "", {}, "sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw=="], + "@vitest/spy": ["@vitest/spy@5.1.0", "", {}, "sha512-2DPO5OMHWKrBngC+fCmTQqemNF0gidRhp3lxbBmRhW+M1XJrfgPpqNqWVevXtn2f2ufD5ZaR1B6B641aAlcX5A=="], "acorn": ["acorn@8.19.0", "", { "bin": { "acorn": "bin/acorn" } }, "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw=="], @@ -434,7 +434,7 @@ "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], - "prettier": ["prettier@3.9.10", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA=="], + "prettier": ["prettier@3.10.0", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-mBi4765LgjO1PFjlEs7pUeK0nb1bw71c+N4/ItfeUWNdY5cV2pRKaFpbbFRYmDJMO+5ZwzGxHRqHxFZna7iv5w=="], "protobufjs": ["protobufjs@8.8.1", "", { "dependencies": { "long": "^5.3.2" } }, "sha512-d9e9179bjXSJdpJ3+R9fP8hzXsnKLyxTjHLG1dUzje8a27pPyXCe6PrcRtgx2rjoM3IZzHd2vAs+6J/BsO1k7Q=="], @@ -506,7 +506,7 @@ "vite": ["vite@8.3.5", "", { "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", "postcss": "^8.5.30", "rolldown": "~1.2.14", "tinyglobby": "^0.2.17" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "@vitejs/devtools": "^0.7.1 || ^0.8.0", "esbuild": "^0.27.0 || ^0.28.0", "jiti": ">=1.21.0", "less": "^4.0.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "@vitejs/devtools", "esbuild", "jiti", "less", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ=="], - "vitest": ["vitest@5.0.5", "", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/mocker": "5.0.5", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", "magic-string": "^1.4.3", "obug": "^3.0.0", "picomatch": "^4.0.7", "std-env": "^4.3.0", "tinybench": "^6.2.2", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "why-is-node-running": "3.2.1" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "5.0.5", "@vitest/browser-preview": "5.0.5", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", "@vitest/coverage-istanbul": "5.0.5", "@vitest/coverage-v8": "5.0.5", "@vitest/ui": "5.0.5", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "./vitest.mjs" } }, "sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg=="], + "vitest": ["vitest@5.1.0", "", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/mocker": "5.1.0", "chai": "^6.3.0", "es-module-lexer": "^2.3.2", "expect-type": "^1.4.0", "magic-string": "^1.4.3", "obug": "^3.0.0", "picomatch": "^4.0.7", "std-env": "^4.3.0", "tinybench": "^6.2.2", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "why-is-node-running": "3.2.1" }, "peerDependencies": { "@edge-runtime/vm": "*", "@opentelemetry/api": "^1.9.0", "@types/node": "^22.0.0 || >=24.0.0", "@vitest/browser-playwright": "5.1.0", "@vitest/browser-preview": "5.1.0", "@vitest/browser-webdriverio": "^5.0.0-beta.5 || >=5.0.0", "@vitest/coverage-istanbul": "5.1.0", "@vitest/coverage-v8": "5.1.0", "@vitest/ui": "5.1.0", "happy-dom": "*", "jsdom": "*", "vite": "^6.4.0 || ^7.0.0 || ^8.0.0" }, "optionalPeers": ["@edge-runtime/vm", "@opentelemetry/api", "@types/node", "@vitest/browser-playwright", "@vitest/browser-preview", "@vitest/browser-webdriverio", "@vitest/coverage-istanbul", "@vitest/coverage-v8", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "./vitest.mjs" } }, "sha512-MzmNFnrwa8v8lF1bLxw3UJ4EREwVOVb75VqJZmUDRjJ6EluK/x9th7qTbaeDk41WxE1GxWqmTXcdsfobfH5sOA=="], "websocket-extensions": ["websocket-extensions@0.1.4", "", {}, "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="], diff --git a/package.json b/package.json index 8c078c0..72562f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-cs2", - "version": "2.7.0", + "version": "2.7.1", "description": "Modern CS2/CS:GO Game Coordinator integration with latest GameTracking-CS2 protobuf definitions. Includes support for highlight_reel, wrapped_sticker, variations, Promise-based API, crate opening, sticker/patch/keychain operations, and all modern CS2 fields.", "keywords": [ "cs2", @@ -46,11 +46,11 @@ "@types/steam-user": "^5.1.1", "eslint": "^10.14.0", "eslint-config-prettier": "^10.1.8", - "prettier": "^3.9.10", + "prettier": "^3.10.0", "protobufjs-cli": "^2.7.1", "steam-user": "^5.3.0", "typescript": "^7.0.2", - "vitest": "^5.0.5" + "vitest": "^5.1.0" }, "scripts": { "download-protos": "node scripts/download-protos.js", diff --git a/protobufs/generated/c_peer2peer_netmessages.js b/protobufs/generated/c_peer2peer_netmessages.js index 197b12b..94ef2c9 100644 --- a/protobufs/generated/c_peer2peer_netmessages.js +++ b/protobufs/generated/c_peer2peer_netmessages.js @@ -17431,7 +17431,6 @@ * @property {number|null} [user_data_size_bits] CSVCMsg_CreateStringTable user_data_size_bits * @property {number|null} [flags] CSVCMsg_CreateStringTable flags * @property {Uint8Array|null} [string_data] CSVCMsg_CreateStringTable string_data - * @property {number|null} [uncompressed_size] CSVCMsg_CreateStringTable uncompressed_size * @property {boolean|null} [data_compressed] CSVCMsg_CreateStringTable data_compressed * @property {boolean|null} [using_varint_bitcounts] CSVCMsg_CreateStringTable using_varint_bitcounts * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled @@ -17521,14 +17520,6 @@ */ CSVCMsg_CreateStringTable.prototype.string_data = $util.newBuffer([]); - /** - * CSVCMsg_CreateStringTable uncompressed_size. - * @member {number} uncompressed_size - * @memberof CSVCMsg_CreateStringTable - * @instance - */ - CSVCMsg_CreateStringTable.prototype.uncompressed_size = 0; - /** * CSVCMsg_CreateStringTable data_compressed. * @member {boolean} data_compressed @@ -17591,8 +17582,6 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.flags); if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.string_data); - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.uncompressed_size); if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) writer.uint32(/* id 9, wireType 0 =*/72).bool(message.data_compressed); if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -17696,12 +17685,6 @@ message.string_data = reader.bytes(); continue; } - case 8: { - if (wireType !== 0) - break; - message.uncompressed_size = reader.int32(); - continue; - } case 9: { if (wireType !== 0) break; @@ -17783,9 +17766,6 @@ if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) if (!(message.string_data && typeof message.string_data.length === "number" || $util.isString(message.string_data))) return "string_data: buffer expected"; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - if (!$util.isInteger(message.uncompressed_size)) - return "uncompressed_size: integer expected"; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) if (typeof message.data_compressed !== "boolean") return "data_compressed: boolean expected"; @@ -17830,8 +17810,6 @@ $util.base64.decode(object.string_data, message.string_data = $util.newBuffer($util.base64.length(object.string_data)), 0); else if (object.string_data.length >= 0) message.string_data = object.string_data; - if (object.uncompressed_size != null) - message.uncompressed_size = object.uncompressed_size | 0; if (object.data_compressed != null) message.data_compressed = $Boolean(object.data_compressed); if (object.using_varint_bitcounts != null) @@ -17870,7 +17848,6 @@ if (options.bytes !== $Array) object.string_data = $util.newBuffer(object.string_data); } - object.uncompressed_size = 0; object.data_compressed = false; object.using_varint_bitcounts = false; } @@ -17888,8 +17865,6 @@ object.flags = message.flags; if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) object.string_data = options.bytes === $String ? $util.base64.encode(message.string_data, 0, message.string_data.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.string_data) : message.string_data; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - object.uncompressed_size = message.uncompressed_size; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) object.data_compressed = message.data_compressed; if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -52987,6 +52962,9 @@ * @property {string|null} [cpu_brand] CMsgSource2SystemSpecs cpu_brand * @property {number|null} [cpu_model] CMsgSource2SystemSpecs cpu_model * @property {number|null} [cpu_num_physical] CMsgSource2SystemSpecs cpu_num_physical + * @property {number|null} [cpu_num_logical] CMsgSource2SystemSpecs cpu_num_logical + * @property {number|null} [cpu_num_performance] CMsgSource2SystemSpecs cpu_num_performance + * @property {number|null} [cpu_num_efficiency] CMsgSource2SystemSpecs cpu_num_efficiency * @property {number|null} [ram_physical_total_mb] CMsgSource2SystemSpecs ram_physical_total_mb * @property {string|null} [gpu_rendersystem_dll_name] CMsgSource2SystemSpecs gpu_rendersystem_dll_name * @property {number|null} [gpu_vendor_id] CMsgSource2SystemSpecs gpu_vendor_id @@ -52997,6 +52975,7 @@ * @property {number|null} [gpu_texture_memory_size_mb] CMsgSource2SystemSpecs gpu_texture_memory_size_mb * @property {number|null} [backbuffer_width] CMsgSource2SystemSpecs backbuffer_width * @property {number|null} [backbuffer_height] CMsgSource2SystemSpecs backbuffer_height + * @property {number|null} [thread_pool_workers] CMsgSource2SystemSpecs thread_pool_workers * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ @@ -53060,6 +53039,30 @@ */ CMsgSource2SystemSpecs.prototype.cpu_num_physical = 0; + /** + * CMsgSource2SystemSpecs cpu_num_logical. + * @member {number} cpu_num_logical + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_logical = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_performance. + * @member {number} cpu_num_performance + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_performance = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_efficiency. + * @member {number} cpu_num_efficiency + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_efficiency = 0; + /** * CMsgSource2SystemSpecs ram_physical_total_mb. * @member {number} ram_physical_total_mb @@ -53140,6 +53143,14 @@ */ CMsgSource2SystemSpecs.prototype.backbuffer_height = 0; + /** + * CMsgSource2SystemSpecs thread_pool_workers. + * @member {number} thread_pool_workers + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.thread_pool_workers = 0; + /** * Creates a new CMsgSource2SystemSpecs instance using the specified properties. * @function create @@ -53180,6 +53191,12 @@ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.cpu_model); if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.cpu_num_physical); + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.cpu_num_logical); + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.cpu_num_performance); + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.cpu_num_efficiency); if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) writer.uint32(/* id 21, wireType 0 =*/168).uint32(message.ram_physical_total_mb); if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -53200,6 +53217,8 @@ writer.uint32(/* id 51, wireType 0 =*/408).uint32(message.backbuffer_width); if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) writer.uint32(/* id 52, wireType 0 =*/416).uint32(message.backbuffer_height); + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + writer.uint32(/* id 61, wireType 0 =*/488).uint32(message.thread_pool_workers); if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) for (var i = 0; i < message.$unknowns.length; ++i) writer.raw(message.$unknowns[i]); @@ -53281,6 +53300,24 @@ message.cpu_num_physical = reader.uint32(); continue; } + case 5: { + if (wireType !== 0) + break; + message.cpu_num_logical = reader.uint32(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.cpu_num_performance = reader.uint32(); + continue; + } + case 7: { + if (wireType !== 0) + break; + message.cpu_num_efficiency = reader.uint32(); + continue; + } case 21: { if (wireType !== 0) break; @@ -53341,6 +53378,12 @@ message.backbuffer_height = reader.uint32(); continue; } + case 61: { + if (wireType !== 0) + break; + message.thread_pool_workers = reader.uint32(); + continue; + } } reader.skipType(wireType, _depth, tag); if (!reader.discardUnknown) { @@ -53401,6 +53444,15 @@ if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) if (!$util.isInteger(message.cpu_num_physical)) return "cpu_num_physical: integer expected"; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + if (!$util.isInteger(message.cpu_num_logical)) + return "cpu_num_logical: integer expected"; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + if (!$util.isInteger(message.cpu_num_performance)) + return "cpu_num_performance: integer expected"; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + if (!$util.isInteger(message.cpu_num_efficiency)) + return "cpu_num_efficiency: integer expected"; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) if (!$util.isInteger(message.ram_physical_total_mb)) return "ram_physical_total_mb: integer expected"; @@ -53431,6 +53483,9 @@ if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) if (!$util.isInteger(message.backbuffer_height)) return "backbuffer_height: integer expected"; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + if (!$util.isInteger(message.thread_pool_workers)) + return "thread_pool_workers: integer expected"; return null; }; @@ -53460,6 +53515,12 @@ message.cpu_model = object.cpu_model >>> 0; if (object.cpu_num_physical != null) message.cpu_num_physical = object.cpu_num_physical >>> 0; + if (object.cpu_num_logical != null) + message.cpu_num_logical = object.cpu_num_logical >>> 0; + if (object.cpu_num_performance != null) + message.cpu_num_performance = object.cpu_num_performance >>> 0; + if (object.cpu_num_efficiency != null) + message.cpu_num_efficiency = object.cpu_num_efficiency >>> 0; if (object.ram_physical_total_mb != null) message.ram_physical_total_mb = object.ram_physical_total_mb >>> 0; if (object.gpu_rendersystem_dll_name != null) @@ -53480,6 +53541,8 @@ message.backbuffer_width = object.backbuffer_width >>> 0; if (object.backbuffer_height != null) message.backbuffer_height = object.backbuffer_height >>> 0; + if (object.thread_pool_workers != null) + message.thread_pool_workers = object.thread_pool_workers >>> 0; return message; }; @@ -53505,6 +53568,9 @@ object.cpu_brand = ""; object.cpu_model = 0; object.cpu_num_physical = 0; + object.cpu_num_logical = 0; + object.cpu_num_performance = 0; + object.cpu_num_efficiency = 0; object.ram_physical_total_mb = 0; object.gpu_rendersystem_dll_name = ""; object.gpu_vendor_id = 0; @@ -53515,6 +53581,7 @@ object.gpu_texture_memory_size_mb = 0; object.backbuffer_width = 0; object.backbuffer_height = 0; + object.thread_pool_workers = 0; } if (message.cpu_id != null && $Object.hasOwnProperty.call(message, "cpu_id")) object.cpu_id = message.cpu_id; @@ -53524,6 +53591,12 @@ object.cpu_model = message.cpu_model; if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) object.cpu_num_physical = message.cpu_num_physical; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + object.cpu_num_logical = message.cpu_num_logical; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + object.cpu_num_performance = message.cpu_num_performance; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + object.cpu_num_efficiency = message.cpu_num_efficiency; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) object.ram_physical_total_mb = message.ram_physical_total_mb; if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -53544,6 +53617,8 @@ object.backbuffer_width = message.backbuffer_width; if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) object.backbuffer_height = message.backbuffer_height; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + object.thread_pool_workers = message.thread_pool_workers; return object; }; diff --git a/protobufs/generated/connectionless_netmessages.js b/protobufs/generated/connectionless_netmessages.js index 352c234..fe2c489 100644 --- a/protobufs/generated/connectionless_netmessages.js +++ b/protobufs/generated/connectionless_netmessages.js @@ -16270,7 +16270,6 @@ * @property {number|null} [user_data_size_bits] CSVCMsg_CreateStringTable user_data_size_bits * @property {number|null} [flags] CSVCMsg_CreateStringTable flags * @property {Uint8Array|null} [string_data] CSVCMsg_CreateStringTable string_data - * @property {number|null} [uncompressed_size] CSVCMsg_CreateStringTable uncompressed_size * @property {boolean|null} [data_compressed] CSVCMsg_CreateStringTable data_compressed * @property {boolean|null} [using_varint_bitcounts] CSVCMsg_CreateStringTable using_varint_bitcounts * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled @@ -16360,14 +16359,6 @@ */ CSVCMsg_CreateStringTable.prototype.string_data = $util.newBuffer([]); - /** - * CSVCMsg_CreateStringTable uncompressed_size. - * @member {number} uncompressed_size - * @memberof CSVCMsg_CreateStringTable - * @instance - */ - CSVCMsg_CreateStringTable.prototype.uncompressed_size = 0; - /** * CSVCMsg_CreateStringTable data_compressed. * @member {boolean} data_compressed @@ -16430,8 +16421,6 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.flags); if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.string_data); - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.uncompressed_size); if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) writer.uint32(/* id 9, wireType 0 =*/72).bool(message.data_compressed); if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -16535,12 +16524,6 @@ message.string_data = reader.bytes(); continue; } - case 8: { - if (wireType !== 0) - break; - message.uncompressed_size = reader.int32(); - continue; - } case 9: { if (wireType !== 0) break; @@ -16622,9 +16605,6 @@ if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) if (!(message.string_data && typeof message.string_data.length === "number" || $util.isString(message.string_data))) return "string_data: buffer expected"; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - if (!$util.isInteger(message.uncompressed_size)) - return "uncompressed_size: integer expected"; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) if (typeof message.data_compressed !== "boolean") return "data_compressed: boolean expected"; @@ -16669,8 +16649,6 @@ $util.base64.decode(object.string_data, message.string_data = $util.newBuffer($util.base64.length(object.string_data)), 0); else if (object.string_data.length >= 0) message.string_data = object.string_data; - if (object.uncompressed_size != null) - message.uncompressed_size = object.uncompressed_size | 0; if (object.data_compressed != null) message.data_compressed = $Boolean(object.data_compressed); if (object.using_varint_bitcounts != null) @@ -16709,7 +16687,6 @@ if (options.bytes !== $Array) object.string_data = $util.newBuffer(object.string_data); } - object.uncompressed_size = 0; object.data_compressed = false; object.using_varint_bitcounts = false; } @@ -16727,8 +16704,6 @@ object.flags = message.flags; if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) object.string_data = options.bytes === $String ? $util.base64.encode(message.string_data, 0, message.string_data.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.string_data) : message.string_data; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - object.uncompressed_size = message.uncompressed_size; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) object.data_compressed = message.data_compressed; if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -51826,6 +51801,9 @@ * @property {string|null} [cpu_brand] CMsgSource2SystemSpecs cpu_brand * @property {number|null} [cpu_model] CMsgSource2SystemSpecs cpu_model * @property {number|null} [cpu_num_physical] CMsgSource2SystemSpecs cpu_num_physical + * @property {number|null} [cpu_num_logical] CMsgSource2SystemSpecs cpu_num_logical + * @property {number|null} [cpu_num_performance] CMsgSource2SystemSpecs cpu_num_performance + * @property {number|null} [cpu_num_efficiency] CMsgSource2SystemSpecs cpu_num_efficiency * @property {number|null} [ram_physical_total_mb] CMsgSource2SystemSpecs ram_physical_total_mb * @property {string|null} [gpu_rendersystem_dll_name] CMsgSource2SystemSpecs gpu_rendersystem_dll_name * @property {number|null} [gpu_vendor_id] CMsgSource2SystemSpecs gpu_vendor_id @@ -51836,6 +51814,7 @@ * @property {number|null} [gpu_texture_memory_size_mb] CMsgSource2SystemSpecs gpu_texture_memory_size_mb * @property {number|null} [backbuffer_width] CMsgSource2SystemSpecs backbuffer_width * @property {number|null} [backbuffer_height] CMsgSource2SystemSpecs backbuffer_height + * @property {number|null} [thread_pool_workers] CMsgSource2SystemSpecs thread_pool_workers * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ @@ -51899,6 +51878,30 @@ */ CMsgSource2SystemSpecs.prototype.cpu_num_physical = 0; + /** + * CMsgSource2SystemSpecs cpu_num_logical. + * @member {number} cpu_num_logical + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_logical = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_performance. + * @member {number} cpu_num_performance + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_performance = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_efficiency. + * @member {number} cpu_num_efficiency + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_efficiency = 0; + /** * CMsgSource2SystemSpecs ram_physical_total_mb. * @member {number} ram_physical_total_mb @@ -51979,6 +51982,14 @@ */ CMsgSource2SystemSpecs.prototype.backbuffer_height = 0; + /** + * CMsgSource2SystemSpecs thread_pool_workers. + * @member {number} thread_pool_workers + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.thread_pool_workers = 0; + /** * Creates a new CMsgSource2SystemSpecs instance using the specified properties. * @function create @@ -52019,6 +52030,12 @@ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.cpu_model); if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.cpu_num_physical); + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.cpu_num_logical); + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.cpu_num_performance); + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.cpu_num_efficiency); if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) writer.uint32(/* id 21, wireType 0 =*/168).uint32(message.ram_physical_total_mb); if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -52039,6 +52056,8 @@ writer.uint32(/* id 51, wireType 0 =*/408).uint32(message.backbuffer_width); if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) writer.uint32(/* id 52, wireType 0 =*/416).uint32(message.backbuffer_height); + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + writer.uint32(/* id 61, wireType 0 =*/488).uint32(message.thread_pool_workers); if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) for (var i = 0; i < message.$unknowns.length; ++i) writer.raw(message.$unknowns[i]); @@ -52120,6 +52139,24 @@ message.cpu_num_physical = reader.uint32(); continue; } + case 5: { + if (wireType !== 0) + break; + message.cpu_num_logical = reader.uint32(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.cpu_num_performance = reader.uint32(); + continue; + } + case 7: { + if (wireType !== 0) + break; + message.cpu_num_efficiency = reader.uint32(); + continue; + } case 21: { if (wireType !== 0) break; @@ -52180,6 +52217,12 @@ message.backbuffer_height = reader.uint32(); continue; } + case 61: { + if (wireType !== 0) + break; + message.thread_pool_workers = reader.uint32(); + continue; + } } reader.skipType(wireType, _depth, tag); if (!reader.discardUnknown) { @@ -52240,6 +52283,15 @@ if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) if (!$util.isInteger(message.cpu_num_physical)) return "cpu_num_physical: integer expected"; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + if (!$util.isInteger(message.cpu_num_logical)) + return "cpu_num_logical: integer expected"; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + if (!$util.isInteger(message.cpu_num_performance)) + return "cpu_num_performance: integer expected"; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + if (!$util.isInteger(message.cpu_num_efficiency)) + return "cpu_num_efficiency: integer expected"; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) if (!$util.isInteger(message.ram_physical_total_mb)) return "ram_physical_total_mb: integer expected"; @@ -52270,6 +52322,9 @@ if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) if (!$util.isInteger(message.backbuffer_height)) return "backbuffer_height: integer expected"; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + if (!$util.isInteger(message.thread_pool_workers)) + return "thread_pool_workers: integer expected"; return null; }; @@ -52299,6 +52354,12 @@ message.cpu_model = object.cpu_model >>> 0; if (object.cpu_num_physical != null) message.cpu_num_physical = object.cpu_num_physical >>> 0; + if (object.cpu_num_logical != null) + message.cpu_num_logical = object.cpu_num_logical >>> 0; + if (object.cpu_num_performance != null) + message.cpu_num_performance = object.cpu_num_performance >>> 0; + if (object.cpu_num_efficiency != null) + message.cpu_num_efficiency = object.cpu_num_efficiency >>> 0; if (object.ram_physical_total_mb != null) message.ram_physical_total_mb = object.ram_physical_total_mb >>> 0; if (object.gpu_rendersystem_dll_name != null) @@ -52319,6 +52380,8 @@ message.backbuffer_width = object.backbuffer_width >>> 0; if (object.backbuffer_height != null) message.backbuffer_height = object.backbuffer_height >>> 0; + if (object.thread_pool_workers != null) + message.thread_pool_workers = object.thread_pool_workers >>> 0; return message; }; @@ -52344,6 +52407,9 @@ object.cpu_brand = ""; object.cpu_model = 0; object.cpu_num_physical = 0; + object.cpu_num_logical = 0; + object.cpu_num_performance = 0; + object.cpu_num_efficiency = 0; object.ram_physical_total_mb = 0; object.gpu_rendersystem_dll_name = ""; object.gpu_vendor_id = 0; @@ -52354,6 +52420,7 @@ object.gpu_texture_memory_size_mb = 0; object.backbuffer_width = 0; object.backbuffer_height = 0; + object.thread_pool_workers = 0; } if (message.cpu_id != null && $Object.hasOwnProperty.call(message, "cpu_id")) object.cpu_id = message.cpu_id; @@ -52363,6 +52430,12 @@ object.cpu_model = message.cpu_model; if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) object.cpu_num_physical = message.cpu_num_physical; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + object.cpu_num_logical = message.cpu_num_logical; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + object.cpu_num_performance = message.cpu_num_performance; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + object.cpu_num_efficiency = message.cpu_num_efficiency; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) object.ram_physical_total_mb = message.ram_physical_total_mb; if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -52383,6 +52456,8 @@ object.backbuffer_width = message.backbuffer_width; if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) object.backbuffer_height = message.backbuffer_height; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + object.thread_pool_workers = message.thread_pool_workers; return object; }; diff --git a/protobufs/generated/netmessages.js b/protobufs/generated/netmessages.js index 23222fe..24f5d95 100644 --- a/protobufs/generated/netmessages.js +++ b/protobufs/generated/netmessages.js @@ -15081,7 +15081,6 @@ * @property {number|null} [user_data_size_bits] CSVCMsg_CreateStringTable user_data_size_bits * @property {number|null} [flags] CSVCMsg_CreateStringTable flags * @property {Uint8Array|null} [string_data] CSVCMsg_CreateStringTable string_data - * @property {number|null} [uncompressed_size] CSVCMsg_CreateStringTable uncompressed_size * @property {boolean|null} [data_compressed] CSVCMsg_CreateStringTable data_compressed * @property {boolean|null} [using_varint_bitcounts] CSVCMsg_CreateStringTable using_varint_bitcounts * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled @@ -15171,14 +15170,6 @@ */ CSVCMsg_CreateStringTable.prototype.string_data = $util.newBuffer([]); - /** - * CSVCMsg_CreateStringTable uncompressed_size. - * @member {number} uncompressed_size - * @memberof CSVCMsg_CreateStringTable - * @instance - */ - CSVCMsg_CreateStringTable.prototype.uncompressed_size = 0; - /** * CSVCMsg_CreateStringTable data_compressed. * @member {boolean} data_compressed @@ -15241,8 +15232,6 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.flags); if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.string_data); - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.uncompressed_size); if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) writer.uint32(/* id 9, wireType 0 =*/72).bool(message.data_compressed); if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -15346,12 +15335,6 @@ message.string_data = reader.bytes(); continue; } - case 8: { - if (wireType !== 0) - break; - message.uncompressed_size = reader.int32(); - continue; - } case 9: { if (wireType !== 0) break; @@ -15433,9 +15416,6 @@ if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) if (!(message.string_data && typeof message.string_data.length === "number" || $util.isString(message.string_data))) return "string_data: buffer expected"; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - if (!$util.isInteger(message.uncompressed_size)) - return "uncompressed_size: integer expected"; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) if (typeof message.data_compressed !== "boolean") return "data_compressed: boolean expected"; @@ -15480,8 +15460,6 @@ $util.base64.decode(object.string_data, message.string_data = $util.newBuffer($util.base64.length(object.string_data)), 0); else if (object.string_data.length >= 0) message.string_data = object.string_data; - if (object.uncompressed_size != null) - message.uncompressed_size = object.uncompressed_size | 0; if (object.data_compressed != null) message.data_compressed = $Boolean(object.data_compressed); if (object.using_varint_bitcounts != null) @@ -15520,7 +15498,6 @@ if (options.bytes !== $Array) object.string_data = $util.newBuffer(object.string_data); } - object.uncompressed_size = 0; object.data_compressed = false; object.using_varint_bitcounts = false; } @@ -15538,8 +15515,6 @@ object.flags = message.flags; if (message.string_data != null && $Object.hasOwnProperty.call(message, "string_data")) object.string_data = options.bytes === $String ? $util.base64.encode(message.string_data, 0, message.string_data.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.string_data) : message.string_data; - if (message.uncompressed_size != null && $Object.hasOwnProperty.call(message, "uncompressed_size")) - object.uncompressed_size = message.uncompressed_size; if (message.data_compressed != null && $Object.hasOwnProperty.call(message, "data_compressed")) object.data_compressed = message.data_compressed; if (message.using_varint_bitcounts != null && $Object.hasOwnProperty.call(message, "using_varint_bitcounts")) @@ -50637,6 +50612,9 @@ * @property {string|null} [cpu_brand] CMsgSource2SystemSpecs cpu_brand * @property {number|null} [cpu_model] CMsgSource2SystemSpecs cpu_model * @property {number|null} [cpu_num_physical] CMsgSource2SystemSpecs cpu_num_physical + * @property {number|null} [cpu_num_logical] CMsgSource2SystemSpecs cpu_num_logical + * @property {number|null} [cpu_num_performance] CMsgSource2SystemSpecs cpu_num_performance + * @property {number|null} [cpu_num_efficiency] CMsgSource2SystemSpecs cpu_num_efficiency * @property {number|null} [ram_physical_total_mb] CMsgSource2SystemSpecs ram_physical_total_mb * @property {string|null} [gpu_rendersystem_dll_name] CMsgSource2SystemSpecs gpu_rendersystem_dll_name * @property {number|null} [gpu_vendor_id] CMsgSource2SystemSpecs gpu_vendor_id @@ -50647,6 +50625,7 @@ * @property {number|null} [gpu_texture_memory_size_mb] CMsgSource2SystemSpecs gpu_texture_memory_size_mb * @property {number|null} [backbuffer_width] CMsgSource2SystemSpecs backbuffer_width * @property {number|null} [backbuffer_height] CMsgSource2SystemSpecs backbuffer_height + * @property {number|null} [thread_pool_workers] CMsgSource2SystemSpecs thread_pool_workers * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ @@ -50710,6 +50689,30 @@ */ CMsgSource2SystemSpecs.prototype.cpu_num_physical = 0; + /** + * CMsgSource2SystemSpecs cpu_num_logical. + * @member {number} cpu_num_logical + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_logical = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_performance. + * @member {number} cpu_num_performance + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_performance = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_efficiency. + * @member {number} cpu_num_efficiency + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_efficiency = 0; + /** * CMsgSource2SystemSpecs ram_physical_total_mb. * @member {number} ram_physical_total_mb @@ -50790,6 +50793,14 @@ */ CMsgSource2SystemSpecs.prototype.backbuffer_height = 0; + /** + * CMsgSource2SystemSpecs thread_pool_workers. + * @member {number} thread_pool_workers + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.thread_pool_workers = 0; + /** * Creates a new CMsgSource2SystemSpecs instance using the specified properties. * @function create @@ -50830,6 +50841,12 @@ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.cpu_model); if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.cpu_num_physical); + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.cpu_num_logical); + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.cpu_num_performance); + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.cpu_num_efficiency); if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) writer.uint32(/* id 21, wireType 0 =*/168).uint32(message.ram_physical_total_mb); if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -50850,6 +50867,8 @@ writer.uint32(/* id 51, wireType 0 =*/408).uint32(message.backbuffer_width); if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) writer.uint32(/* id 52, wireType 0 =*/416).uint32(message.backbuffer_height); + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + writer.uint32(/* id 61, wireType 0 =*/488).uint32(message.thread_pool_workers); if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) for (var i = 0; i < message.$unknowns.length; ++i) writer.raw(message.$unknowns[i]); @@ -50931,6 +50950,24 @@ message.cpu_num_physical = reader.uint32(); continue; } + case 5: { + if (wireType !== 0) + break; + message.cpu_num_logical = reader.uint32(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.cpu_num_performance = reader.uint32(); + continue; + } + case 7: { + if (wireType !== 0) + break; + message.cpu_num_efficiency = reader.uint32(); + continue; + } case 21: { if (wireType !== 0) break; @@ -50991,6 +51028,12 @@ message.backbuffer_height = reader.uint32(); continue; } + case 61: { + if (wireType !== 0) + break; + message.thread_pool_workers = reader.uint32(); + continue; + } } reader.skipType(wireType, _depth, tag); if (!reader.discardUnknown) { @@ -51051,6 +51094,15 @@ if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) if (!$util.isInteger(message.cpu_num_physical)) return "cpu_num_physical: integer expected"; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + if (!$util.isInteger(message.cpu_num_logical)) + return "cpu_num_logical: integer expected"; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + if (!$util.isInteger(message.cpu_num_performance)) + return "cpu_num_performance: integer expected"; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + if (!$util.isInteger(message.cpu_num_efficiency)) + return "cpu_num_efficiency: integer expected"; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) if (!$util.isInteger(message.ram_physical_total_mb)) return "ram_physical_total_mb: integer expected"; @@ -51081,6 +51133,9 @@ if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) if (!$util.isInteger(message.backbuffer_height)) return "backbuffer_height: integer expected"; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + if (!$util.isInteger(message.thread_pool_workers)) + return "thread_pool_workers: integer expected"; return null; }; @@ -51110,6 +51165,12 @@ message.cpu_model = object.cpu_model >>> 0; if (object.cpu_num_physical != null) message.cpu_num_physical = object.cpu_num_physical >>> 0; + if (object.cpu_num_logical != null) + message.cpu_num_logical = object.cpu_num_logical >>> 0; + if (object.cpu_num_performance != null) + message.cpu_num_performance = object.cpu_num_performance >>> 0; + if (object.cpu_num_efficiency != null) + message.cpu_num_efficiency = object.cpu_num_efficiency >>> 0; if (object.ram_physical_total_mb != null) message.ram_physical_total_mb = object.ram_physical_total_mb >>> 0; if (object.gpu_rendersystem_dll_name != null) @@ -51130,6 +51191,8 @@ message.backbuffer_width = object.backbuffer_width >>> 0; if (object.backbuffer_height != null) message.backbuffer_height = object.backbuffer_height >>> 0; + if (object.thread_pool_workers != null) + message.thread_pool_workers = object.thread_pool_workers >>> 0; return message; }; @@ -51155,6 +51218,9 @@ object.cpu_brand = ""; object.cpu_model = 0; object.cpu_num_physical = 0; + object.cpu_num_logical = 0; + object.cpu_num_performance = 0; + object.cpu_num_efficiency = 0; object.ram_physical_total_mb = 0; object.gpu_rendersystem_dll_name = ""; object.gpu_vendor_id = 0; @@ -51165,6 +51231,7 @@ object.gpu_texture_memory_size_mb = 0; object.backbuffer_width = 0; object.backbuffer_height = 0; + object.thread_pool_workers = 0; } if (message.cpu_id != null && $Object.hasOwnProperty.call(message, "cpu_id")) object.cpu_id = message.cpu_id; @@ -51174,6 +51241,12 @@ object.cpu_model = message.cpu_model; if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) object.cpu_num_physical = message.cpu_num_physical; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + object.cpu_num_logical = message.cpu_num_logical; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + object.cpu_num_performance = message.cpu_num_performance; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + object.cpu_num_efficiency = message.cpu_num_efficiency; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) object.ram_physical_total_mb = message.ram_physical_total_mb; if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -51194,6 +51267,8 @@ object.backbuffer_width = message.backbuffer_width; if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) object.backbuffer_height = message.backbuffer_height; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + object.thread_pool_workers = message.thread_pool_workers; return object; }; diff --git a/protobufs/generated/source2_steam_stats.js b/protobufs/generated/source2_steam_stats.js index 4dde29e..321f1d1 100644 --- a/protobufs/generated/source2_steam_stats.js +++ b/protobufs/generated/source2_steam_stats.js @@ -72,6 +72,9 @@ * @property {string|null} [cpu_brand] CMsgSource2SystemSpecs cpu_brand * @property {number|null} [cpu_model] CMsgSource2SystemSpecs cpu_model * @property {number|null} [cpu_num_physical] CMsgSource2SystemSpecs cpu_num_physical + * @property {number|null} [cpu_num_logical] CMsgSource2SystemSpecs cpu_num_logical + * @property {number|null} [cpu_num_performance] CMsgSource2SystemSpecs cpu_num_performance + * @property {number|null} [cpu_num_efficiency] CMsgSource2SystemSpecs cpu_num_efficiency * @property {number|null} [ram_physical_total_mb] CMsgSource2SystemSpecs ram_physical_total_mb * @property {string|null} [gpu_rendersystem_dll_name] CMsgSource2SystemSpecs gpu_rendersystem_dll_name * @property {number|null} [gpu_vendor_id] CMsgSource2SystemSpecs gpu_vendor_id @@ -82,6 +85,7 @@ * @property {number|null} [gpu_texture_memory_size_mb] CMsgSource2SystemSpecs gpu_texture_memory_size_mb * @property {number|null} [backbuffer_width] CMsgSource2SystemSpecs backbuffer_width * @property {number|null} [backbuffer_height] CMsgSource2SystemSpecs backbuffer_height + * @property {number|null} [thread_pool_workers] CMsgSource2SystemSpecs thread_pool_workers * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ @@ -145,6 +149,30 @@ */ CMsgSource2SystemSpecs.prototype.cpu_num_physical = 0; + /** + * CMsgSource2SystemSpecs cpu_num_logical. + * @member {number} cpu_num_logical + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_logical = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_performance. + * @member {number} cpu_num_performance + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_performance = 0; + + /** + * CMsgSource2SystemSpecs cpu_num_efficiency. + * @member {number} cpu_num_efficiency + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.cpu_num_efficiency = 0; + /** * CMsgSource2SystemSpecs ram_physical_total_mb. * @member {number} ram_physical_total_mb @@ -225,6 +253,14 @@ */ CMsgSource2SystemSpecs.prototype.backbuffer_height = 0; + /** + * CMsgSource2SystemSpecs thread_pool_workers. + * @member {number} thread_pool_workers + * @memberof CMsgSource2SystemSpecs + * @instance + */ + CMsgSource2SystemSpecs.prototype.thread_pool_workers = 0; + /** * Creates a new CMsgSource2SystemSpecs instance using the specified properties. * @function create @@ -265,6 +301,12 @@ writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.cpu_model); if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.cpu_num_physical); + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.cpu_num_logical); + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.cpu_num_performance); + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.cpu_num_efficiency); if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) writer.uint32(/* id 21, wireType 0 =*/168).uint32(message.ram_physical_total_mb); if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -285,6 +327,8 @@ writer.uint32(/* id 51, wireType 0 =*/408).uint32(message.backbuffer_width); if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) writer.uint32(/* id 52, wireType 0 =*/416).uint32(message.backbuffer_height); + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + writer.uint32(/* id 61, wireType 0 =*/488).uint32(message.thread_pool_workers); if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) for (var i = 0; i < message.$unknowns.length; ++i) writer.raw(message.$unknowns[i]); @@ -366,6 +410,24 @@ message.cpu_num_physical = reader.uint32(); continue; } + case 5: { + if (wireType !== 0) + break; + message.cpu_num_logical = reader.uint32(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.cpu_num_performance = reader.uint32(); + continue; + } + case 7: { + if (wireType !== 0) + break; + message.cpu_num_efficiency = reader.uint32(); + continue; + } case 21: { if (wireType !== 0) break; @@ -426,6 +488,12 @@ message.backbuffer_height = reader.uint32(); continue; } + case 61: { + if (wireType !== 0) + break; + message.thread_pool_workers = reader.uint32(); + continue; + } } reader.skipType(wireType, _depth, tag); if (!reader.discardUnknown) { @@ -486,6 +554,15 @@ if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) if (!$util.isInteger(message.cpu_num_physical)) return "cpu_num_physical: integer expected"; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + if (!$util.isInteger(message.cpu_num_logical)) + return "cpu_num_logical: integer expected"; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + if (!$util.isInteger(message.cpu_num_performance)) + return "cpu_num_performance: integer expected"; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + if (!$util.isInteger(message.cpu_num_efficiency)) + return "cpu_num_efficiency: integer expected"; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) if (!$util.isInteger(message.ram_physical_total_mb)) return "ram_physical_total_mb: integer expected"; @@ -516,6 +593,9 @@ if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) if (!$util.isInteger(message.backbuffer_height)) return "backbuffer_height: integer expected"; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + if (!$util.isInteger(message.thread_pool_workers)) + return "thread_pool_workers: integer expected"; return null; }; @@ -545,6 +625,12 @@ message.cpu_model = object.cpu_model >>> 0; if (object.cpu_num_physical != null) message.cpu_num_physical = object.cpu_num_physical >>> 0; + if (object.cpu_num_logical != null) + message.cpu_num_logical = object.cpu_num_logical >>> 0; + if (object.cpu_num_performance != null) + message.cpu_num_performance = object.cpu_num_performance >>> 0; + if (object.cpu_num_efficiency != null) + message.cpu_num_efficiency = object.cpu_num_efficiency >>> 0; if (object.ram_physical_total_mb != null) message.ram_physical_total_mb = object.ram_physical_total_mb >>> 0; if (object.gpu_rendersystem_dll_name != null) @@ -565,6 +651,8 @@ message.backbuffer_width = object.backbuffer_width >>> 0; if (object.backbuffer_height != null) message.backbuffer_height = object.backbuffer_height >>> 0; + if (object.thread_pool_workers != null) + message.thread_pool_workers = object.thread_pool_workers >>> 0; return message; }; @@ -590,6 +678,9 @@ object.cpu_brand = ""; object.cpu_model = 0; object.cpu_num_physical = 0; + object.cpu_num_logical = 0; + object.cpu_num_performance = 0; + object.cpu_num_efficiency = 0; object.ram_physical_total_mb = 0; object.gpu_rendersystem_dll_name = ""; object.gpu_vendor_id = 0; @@ -600,6 +691,7 @@ object.gpu_texture_memory_size_mb = 0; object.backbuffer_width = 0; object.backbuffer_height = 0; + object.thread_pool_workers = 0; } if (message.cpu_id != null && $Object.hasOwnProperty.call(message, "cpu_id")) object.cpu_id = message.cpu_id; @@ -609,6 +701,12 @@ object.cpu_model = message.cpu_model; if (message.cpu_num_physical != null && $Object.hasOwnProperty.call(message, "cpu_num_physical")) object.cpu_num_physical = message.cpu_num_physical; + if (message.cpu_num_logical != null && $Object.hasOwnProperty.call(message, "cpu_num_logical")) + object.cpu_num_logical = message.cpu_num_logical; + if (message.cpu_num_performance != null && $Object.hasOwnProperty.call(message, "cpu_num_performance")) + object.cpu_num_performance = message.cpu_num_performance; + if (message.cpu_num_efficiency != null && $Object.hasOwnProperty.call(message, "cpu_num_efficiency")) + object.cpu_num_efficiency = message.cpu_num_efficiency; if (message.ram_physical_total_mb != null && $Object.hasOwnProperty.call(message, "ram_physical_total_mb")) object.ram_physical_total_mb = message.ram_physical_total_mb; if (message.gpu_rendersystem_dll_name != null && $Object.hasOwnProperty.call(message, "gpu_rendersystem_dll_name")) @@ -629,6 +727,8 @@ object.backbuffer_width = message.backbuffer_width; if (message.backbuffer_height != null && $Object.hasOwnProperty.call(message, "backbuffer_height")) object.backbuffer_height = message.backbuffer_height; + if (message.thread_pool_workers != null && $Object.hasOwnProperty.call(message, "thread_pool_workers")) + object.thread_pool_workers = message.thread_pool_workers; return object; }; diff --git a/protobufs/netmessages.proto b/protobufs/netmessages.proto index c828e2c..20df701 100644 --- a/protobufs/netmessages.proto +++ b/protobufs/netmessages.proto @@ -418,9 +418,10 @@ message CSVCMsg_CreateStringTable { optional int32 user_data_size_bits = 5; optional int32 flags = 6; optional bytes string_data = 7; - optional int32 uncompressed_size = 8; optional bool data_compressed = 9; optional bool using_varint_bitcounts = 10; + + reserved 8; } message CSVCMsg_UpdateStringTable { diff --git a/protobufs/source2_steam_stats.proto b/protobufs/source2_steam_stats.proto index 4d07b70..f1134bb 100644 --- a/protobufs/source2_steam_stats.proto +++ b/protobufs/source2_steam_stats.proto @@ -24,6 +24,9 @@ message CMsgSource2SystemSpecs { optional string cpu_brand = 2; optional uint32 cpu_model = 3; optional uint32 cpu_num_physical = 4; + optional uint32 cpu_num_logical = 5; + optional uint32 cpu_num_performance = 6; + optional uint32 cpu_num_efficiency = 7; optional uint32 ram_physical_total_mb = 21; optional string gpu_rendersystem_dll_name = 41; optional uint32 gpu_vendor_id = 42; @@ -34,6 +37,7 @@ message CMsgSource2SystemSpecs { optional uint32 gpu_texture_memory_size_mb = 47; optional uint32 backbuffer_width = 51; optional uint32 backbuffer_height = 52; + optional uint32 thread_pool_workers = 61; } message CMsgSource2VProfLiteReportItem {