@hagicode/steamworks.js 0.3.0 → 0.3.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +185 -0
- package/callbacks.d.ts +37 -0
- package/client.d.ts +2183 -57
- package/dist/linux64/steamworksjs.linux-x64-gnu.node +0 -0
- package/dist/osx/steamworksjs.darwin-arm64.node +0 -0
- package/dist/osx/steamworksjs.darwin-x64.node +0 -0
- package/dist/win64/steamworksjs.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -490,6 +490,191 @@ const icon = await client.achievement.loadIcon('FIRST_RUN', 3000) // { width, he
|
|
|
490
490
|
- `getIcon` and `loadIcon` return `null` while Steam has not fetched the icon and when the achievement has no icon. Steam picks the locked or unlocked artwork from the user's state. Convert the RGBA pixels to PNG on your side if you need a file.
|
|
491
491
|
- Not verified against a live Steam client in this checkout: only the export list and the TypeScript declarations are tested offline.
|
|
492
492
|
|
|
493
|
+
### Global stats, achievement ranking, utils and apps
|
|
494
|
+
|
|
495
|
+
`stats` gains other users' stats, global stats with daily history, average-rate stats and the current player count. `achievement.getMostAchievedAchievements()` returns the global ranking. `leaderboard` gains `attachUgc` and `downloadEntriesForUsers`. `utils` gains the Steam universe, IPv6 state, file signature check and text filter. `apps` gains DLC listing and install control, file details, timed trial, beta branches and proof-of-purchase keys.
|
|
496
|
+
|
|
497
|
+
```js
|
|
498
|
+
const steamworks = require('steamworks.js')
|
|
499
|
+
const client = steamworks.init(appId)
|
|
500
|
+
|
|
501
|
+
// Global stats: request first, then read. int64 values are BigInts; history is newest day first
|
|
502
|
+
await client.stats.requestGlobalStats(7)
|
|
503
|
+
console.log(client.stats.getGlobalInt('total_kills'), client.stats.getGlobalIntHistory('total_kills', 7))
|
|
504
|
+
|
|
505
|
+
// Achievement ranking, most achieved first; needs requestGlobalPercentages() first
|
|
506
|
+
await client.achievement.requestGlobalPercentages()
|
|
507
|
+
console.log(client.achievement.getMostAchievedAchievements()) // [{ name, percent, achieved }]
|
|
508
|
+
|
|
509
|
+
// DLC and beta branches. installDlc and setActiveBeta change the local installation
|
|
510
|
+
const dlcs = client.apps.getDlcs() // [{ appId, available, name }]
|
|
511
|
+
const betas = client.apps.getBetas() // [{ name, description, buildId, flags, isDefault, isSelected, ... }]
|
|
512
|
+
|
|
513
|
+
// Text filter: initFilterText() first; 2 = Chat
|
|
514
|
+
client.utils.initFilterText()
|
|
515
|
+
const filtered = client.utils.filterText(2, 76561198000000000n, 'some chat text') // { text, filteredCount } or null
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
- `getUserInt` and `getUserFloat` need `requestUserStats(steamId64)` to have completed for that user. They return `null` when the stat is missing or the user's stats are not loaded.
|
|
519
|
+
- Promises from `requestGlobalStats`, `getNumberOfCurrentPlayers`, `attachUgc`, `downloadEntriesForUsers`, `checkFileSignature` and `getFileDetails` resolve when Steam answers. That happens inside `runCallbacks()`, which `init()` runs about 30 times a second. A Promise rejects with a readable message when Steam reports an error.
|
|
520
|
+
- `requestGlobalStats(days)` accepts at most 60 days, and the global history getters return `null` above that. The global getters return `null` until the request completes.
|
|
521
|
+
- `updateAvgRateStat` changes the local stats. Nothing reaches Steam until `stats.store()`. Steam keeps the count as a 32-bit float.
|
|
522
|
+
- `downloadEntriesForUsers` takes at most 100 SteamIDs; more are rejected before Steam is called. `attachUgc` changes the user's leaderboard data on Steam.
|
|
523
|
+
- `installDlc`, `uninstallDlc`, `markContentCorrupt` and `setActiveBeta` change the local installation. `setDlcContext` only tells Steam which DLC is being played.
|
|
524
|
+
- `requestProofOfPurchaseKey` and `requestAllProofOfPurchaseKeys` answer through the `AppProofOfPurchaseKeyResponse` callback (`callback.register`). The final callback of the full request has `appId` `0`. The keys are secrets: do not log them.
|
|
525
|
+
- Units: `getEarliestPurchaseUnixTime` is seconds since 1970-01-01 UTC. `getDlcDownloadProgress` and `getFileDetails` report bytes as BigInts. `getFileDetails().sha1` is 40 lowercase hex characters. `getSecondsSinceAppActive` and `getSecondsSinceComputerActive` are seconds. `getCurrentBatteryPower` is a percentage, and 255 means AC power.
|
|
526
|
+
- Sync calls return `null` or `false` on failure and do not throw. The SDK header does not say what `getEarliestPurchaseUnixTime` returns without a purchase, and does not define the `available` flag of a DLC or the flags of `getFileDetails`.
|
|
527
|
+
- Not verified against a live Steam client: all of the above. Only the export list and the TypeScript types are tested offline.
|
|
528
|
+
|
|
529
|
+
### Inventory
|
|
530
|
+
|
|
531
|
+
`client.inventory` reads and changes the user's Steam Inventory: item instances, item definitions, promotions, prices and purchases. Most calls resolve once Steam has answered.
|
|
532
|
+
|
|
533
|
+
```js
|
|
534
|
+
const { items, timestamp, expired } = await client.inventory.getAllItems()
|
|
535
|
+
for (const item of items) {
|
|
536
|
+
// item: { itemId: bigint, definition: number, quantity: number, flags: number }
|
|
537
|
+
console.log(item.itemId, item.definition, item.quantity)
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// Changes the real inventory: ask the user before you call this
|
|
541
|
+
const { items: changed } = await client.inventory.consumeItem(items[0].itemId, 1)
|
|
542
|
+
|
|
543
|
+
// Items another player sent: null when Steam rejects the buffer or it belongs to someone else
|
|
544
|
+
const verified = client.inventory.deserializeResult(received, senderSteamId)
|
|
545
|
+
|
|
546
|
+
// Property changes are one batch: set what you need, then submit once
|
|
547
|
+
const update = client.inventory.startUpdateProperties()
|
|
548
|
+
update?.setInt64(items[0].itemId, 'level', 3n)
|
|
549
|
+
await update?.submit()
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
- Each Promise resolves when Steam's `SteamInventoryResultReady_t` callback arrives. Steam delivers that callback inside `runCallbacks()`, which `init()` runs on a timer. Every async function takes an optional `timeoutMs` (default 30000).
|
|
553
|
+
- A Promise rejects with a readable message when Steam reports an error. When no answer arrives within `timeoutMs`, the message says the outcome is unknown: the change may still have happened, so check the inventory before you retry.
|
|
554
|
+
- Functions that grant, create, consume, exchange, trade, buy or submit property changes change the user's real inventory. Ask the user to confirm before you call them.
|
|
555
|
+
- Item instance ids, Steam ids and prices are `bigint`, because they can exceed 2^53. `definition`, `quantity` and `flags` are `number`. Prices are in the smallest unit of the currency that `requestPrices()` reports.
|
|
556
|
+
- `expired: true` means Steam may have changed the result since it was made, for example because an item was traded or consumed. The items are still returned.
|
|
557
|
+
- `serializeItems(itemIds)` returns a Buffer. Steam marks a serialized result `expired` after one hour. `deserializeResult(data, steamId)` is synchronous and returns `null` on failure, so pass the Steam id of the player who sent the buffer.
|
|
558
|
+
- `loadItemDefinitions()` only starts the load. This binding does not expose Steam's definition-update callback, so it cannot tell you when the definitions are complete. `getItemDefinitions()` can return an incomplete list until then.
|
|
559
|
+
- `startPurchase()` resolves when Steam opens the transaction. The user completes the purchase in the Steam overlay, and the final result arrives later through Steam's result-ready callback, not through this Promise.
|
|
560
|
+
- `tradeItems()` and `sendItemDropHeartbeat()` are deprecated by Steam. The SDK documents trading as not supported, so `tradeItems()` is expected to reject.
|
|
561
|
+
- Not verified against a live Steam client: no call was made against a Steam account in this checkout. Only the export list, the TypeScript declarations and the pure conversion code are tested offline.
|
|
562
|
+
|
|
563
|
+
### User, user-file and UGC calls (`localplayer`, `auth`, `cloud`)
|
|
564
|
+
|
|
565
|
+
- `localplayer` adds the ISteamUser calls that were missing: `getHSteamUser()`, `trackAppUsageEvent()`, `getUserDataFolder()`, the voice calls (`startVoiceRecording()`, `stopVoiceRecording()`, `getAvailableVoice()`, `getVoice()`, `decompressVoice()`, `getVoiceOptimalSampleRate()`), `isBehindNat()`, `advertiseGame()`, `getGameBadgeLevel()`, the phone and two-factor checks, `getMarketEligibility()`, `getDurationControl()` and `setDurationControlOnlineState()`.
|
|
566
|
+
- `auth` adds `requestEncryptedAppTicket()`, `getEncryptedAppTicket()` and `requestStoreAuthUrl()`. The encrypted ticket is requested first, then read; `getEncryptedAppTicket()` does not call Steam.
|
|
567
|
+
- `cloud` adds the user-file calls `getQuota()`, `writeFileAsync()`, `openWriteStream()` (a `FileWriteStream` with `writeChunk()`, `close()` and `cancel()`), `beginFileWriteBatch()`, `endFileWriteBatch()` and `getLocalFileChanges()`.
|
|
568
|
+
- `cloud` also adds the UGC calls `downloadUgc()`, `downloadUgcToLocation()`, `getUgcDownloadProgress()`, `getUgcDetails()`, `readUgc()`, `getCachedUgcCount()` and `getCachedUgcHandle()`.
|
|
569
|
+
- Steam ids and UGC handles are `bigint`. A negative id or one of 2^64 or more is rejected before anything is sent. Results that Steam can leave empty come back as `null`.
|
|
570
|
+
- Async functions resolve through `runCallbacks()`, which `init()` already calls. There is no timeout: if Steam never answers, the Promise stays pending. For `writeFileAsync()` and the `downloadUgc*()` calls, the outcome is then unknown.
|
|
571
|
+
- `writeFileAsync()` and `FileWriteStream.close()` change the user's cloud files, and `downloadUgc*()` starts network transfers. Ask the user to confirm before you call them.
|
|
572
|
+
- A `FileWriteStream` that is garbage-collected without `close()` or `cancel()` is closed by the wrapper, which commits the chunks written so far. When that happens depends on the garbage collector, so call `close()` or `cancel()` yourself.
|
|
573
|
+
- The legacy Workshop publishing calls of `ISteamRemoteStorage` are not exposed; `ISteamUGC` replaces them (see the `workshop` namespace).
|
|
574
|
+
- Not verified against a live Steam client: no call was made against a Steam account in this checkout. Only the export list, the TypeScript declarations and the argument checks that run before any Steam call are tested offline.
|
|
575
|
+
|
|
576
|
+
### ISteamFriends: groups, clans, clan chat, follows and profile items
|
|
577
|
+
|
|
578
|
+
The `friends` namespace also covers the rest of ISteamFriends: friends groups, clans and clan officers, clan and friend chat, follower counts, equipped profile items, rich presence reads and clan activity counts. This example shows one call of each kind.
|
|
579
|
+
|
|
580
|
+
```js
|
|
581
|
+
const steamworks = require('steamworks.js')
|
|
582
|
+
const client = steamworks.init(appId)
|
|
583
|
+
|
|
584
|
+
// A cache read: no Steam request. Each group lists its members as SteamID64 bigints.
|
|
585
|
+
for (const group of client.friends.getFriendGroups()) {
|
|
586
|
+
console.log(group.name, group.members.length)
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
async function readClanChat(clanChatId) {
|
|
590
|
+
// 1 = ChatRoomEnterResponse.Success; other values are Steam's failure reasons
|
|
591
|
+
if ((await client.friends.joinClanChatRoom(clanChatId)) !== 1) return null
|
|
592
|
+
return client.friends.getClanChatMessage(clanChatId, 0) // ChatMessage or null
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
async function readFollowing() {
|
|
596
|
+
// One page of the following list, up to 50 SteamIDs per page
|
|
597
|
+
const page = await client.friends.enumerateFollowingList(0)
|
|
598
|
+
console.log(page.steamIds.length, page.totalCount)
|
|
599
|
+
}
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
- Units: SteamIDs and clan chat ids are `bigint`. Indexes, counts and `totalCount` are `number`. `enumerateFollowingList(startIndex)` returns at most 50 SteamIDs per page, the SDK's `k_cEnumerateFollowersMax` limit.
|
|
603
|
+
- Cache reads (`getFriendGroups()`, `getClans()`, `getFriendRichPresence()`, `getProfileItemPropertyString()`) answer from data that Steam already holds. Without that data they return `null`, `0` or an empty list. Request it first: `requestFriendRichPresence()` (the `FriendRichPresenceUpdate` callback follows), and the Promises of `requestEquippedProfileItems()`, `downloadClanActivityCounts()`, `requestClanOfficerList()` and `getClanInfo()`.
|
|
604
|
+
- The Promise calls (`joinClanChatRoom()`, `getFollowerCount()`, `isFollowing()`, `enumerateFollowingList()`, `requestEquippedProfileItems()`, `getClanInfo()`, `downloadClanActivityCounts()`, `requestClanOfficerList()`) resolve through `runCallbacks()`, which `init()` already calls. They reject with Steam's error text when Steam reports a failure. There is no timeout: a call that Steam never answers stays pending.
|
|
605
|
+
- `joinClanChatRoom()` resolves with a `ChatRoomEnterResponse`. Only `1` (`Success`) means the room was joined. Values `2` to `12` are the SDK's failure reasons.
|
|
606
|
+
- Chat messages arrive as callbacks. Register `GameConnectedFriendChatMsg`, `GameConnectedClanChatMsg`, `GameConnectedChatJoin` and `GameConnectedChatLeave` with `callback.register()`, and call `setListenForFriendsMessages(true)` before you expect friend messages. The callbacks fire only from `runCallbacks()`.
|
|
607
|
+
- `getClanChatMessage(clanChatId, index)` and `getFriendMessage(steamId, index)` return a `ChatMessage` or `null`. `sendClanChatMessage()` and `replyToFriendMessage()` return a boolean, which is `true` only when Steam accepts the message. Not verified: the order of the message index and what Steam returns for an index past the end.
|
|
608
|
+
- Not verified against a live Steam client: no call was made against a Steam account in this checkout. Also unverified: a clan's name before its download, a friend's Steam level before Steam loads it, the value of an empty rich presence key, and what `registerProtocolInOverlayBrowser()` does in the overlay. The export list, the TypeScript declarations, the enum values and the callback numbers are tested offline.
|
|
609
|
+
|
|
610
|
+
### Steam HTTP (`http`)
|
|
611
|
+
|
|
612
|
+
Sends HTTP requests through the Steam client. It needs `init()` and a running, logged-in Steam client.
|
|
613
|
+
|
|
614
|
+
```js
|
|
615
|
+
const client = steamworks.init(480)
|
|
616
|
+
const response = await client.http.request({
|
|
617
|
+
method: 'GET',
|
|
618
|
+
url: 'https://example.com/api/items',
|
|
619
|
+
query: { page: '1' },
|
|
620
|
+
headers: { Accept: 'application/json' },
|
|
621
|
+
responseHeaders: ['ETag'],
|
|
622
|
+
timeoutMs: 10000,
|
|
623
|
+
})
|
|
624
|
+
console.log(response.status, response.headers.ETag, response.body.toString('utf8'))
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
- `request()` resolves for every answer the server gives, including `404` and `500`, so check `status` yourself. It rejects when the request cannot be created or sent, when Steam refuses a header or option, when Steam cannot complete the request, when no answer comes, or when the request times out.
|
|
628
|
+
- Units: `timeoutMs` is a total time limit in milliseconds. Unlike the inactivity timeout, it does not reset when data arrives. Steam's default is no total limit.
|
|
629
|
+
- Methods: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `OPTIONS` and `PATCH`, in any letter case. `query` is added to the URL for `GET` and sent as form data for other methods. `form` is sent as form data. `body` (a `Buffer`) needs a method that accepts a body, cannot be combined with `form` or `query`, and uses `contentType` (default `application/octet-stream`).
|
|
630
|
+
- `responseHeaders` names the response headers to return. Steam cannot list all of them, so name each one you need. The response has no status text, because the SDK does not provide one.
|
|
631
|
+
- Cookies: `client.http.createCookieContainer(allowResponsesToModify)` makes a container that lasts for this process only. Pass it as `cookieContainer` and add cookies with `setCookie(host, url, cookie)`.
|
|
632
|
+
- The promise resolves through `runCallbacks()`, which `init()` already calls.
|
|
633
|
+
- Not verified against a live Steam client: how HTTPS certificates are checked against a browser's rules, and what `requireVerifiedCertificate: false` does.
|
|
634
|
+
|
|
635
|
+
### Networking utilities (`networkingUtils`)
|
|
636
|
+
|
|
637
|
+
Ping locations, data centers (POPs), fake IP addresses and config values. These functions need `init()`. Reads that Steam cannot answer yet return `null`.
|
|
638
|
+
|
|
639
|
+
```js
|
|
640
|
+
const client = steamworks.init(480)
|
|
641
|
+
client.networkingUtils.initRelayNetworkAccess()
|
|
642
|
+
// Ping data takes a few seconds to appear after relay access starts.
|
|
643
|
+
const here = client.networkingUtils.getLocalPingLocation()
|
|
644
|
+
const pops = client.networkingUtils.getPops() // id, code (for example 'iad') and ping for each data center
|
|
645
|
+
const ms = here ? client.networkingUtils.estimatePingFromLocalHost(here.location) : null
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
- `getLocalPingLocation()` returns `{ location, ageSeconds }`, or `null` when Steam has no ping data yet. Pass `location` only to the functions in this namespace, and do not parse it yourself.
|
|
649
|
+
- Units: pings are milliseconds, ages are seconds, and `getLocalTimestamp()` returns microseconds as a `bigint`. That timestamp is comparable only within one run of the process.
|
|
650
|
+
- `estimatePingFromLocalHost()` and `estimatePingBetweenLocations()` return `null` when Steam cannot estimate, and throw when a location text is not understood.
|
|
651
|
+
- `checkPingDataUpToDate(maxAgeSeconds)` returns `false` when the data is older than that, and Steam then starts a new measurement. Call it only when you need fresh data now, because Steam refreshes the data on its own.
|
|
652
|
+
- `getRealIdentityForFakeIp()` throws with Steam's reason when the address is not a fake IP (`InvalidParameter`) or the mapping is unknown (`NoMatch`). Steam keeps the mapping for active connections and for a short time after they close.
|
|
653
|
+
- Config values: the `setGlobalConfigValue*` and `setConnectionConfigValue*` functions return `true` when Steam accepts the value and `false` when it refuses it. Connection functions take the raw connection handle as a number. The `Connection` object does not expose that handle yet. `getConfigValue(valueId, connection?)` returns a number for `int32` and `float` values, a `bigint` for `int64` values, a string for `string` values, or `null`. Use `getConfigValueInfo()` for a value's name, type and scope, and `iterateGenericEditableConfigValues()` to list the value numbers.
|
|
654
|
+
- Not in this binding: `SetDebugOutputFunction`, the `SetGlobalCallback_*` functions, `SetGlobalConfigValuePtr`, and `SetConfigValue`/`SetConfigValueStruct`. They need C function pointers or `void*` arguments.
|
|
655
|
+
- Not verified against a live Steam client: the byte order of IPv4 numbers in `isFakeIpv4()` and `getIpv4FakeIpType()`, when ping data first appears, and whether every data center reports a code.
|
|
656
|
+
|
|
657
|
+
### Timeline additions (`timeline`)
|
|
658
|
+
|
|
659
|
+
Event handles and game phases on the Steam timeline. These functions need `init()`. If the Steam client does not provide the timeline, the functions that change it do nothing.
|
|
660
|
+
|
|
661
|
+
```js
|
|
662
|
+
const client = steamworks.init(480)
|
|
663
|
+
const { TimelineEventClipPriority } = client.timeline
|
|
664
|
+
const event = client.timeline.startRangeTimelineEvent('Boss fight', 'Round 1', 'steam_victory', 0, 0, TimelineEventClipPriority.Featured)
|
|
665
|
+
if (event !== null) client.timeline.endRangeTimelineEvent(event, 0)
|
|
666
|
+
client.timeline.setGamePhaseId('chapter-1')
|
|
667
|
+
const answer = await client.timeline.doesGamePhaseRecordingExist('chapter-1')
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
- Event handles are `bigint` values, and `null` means the timeline is unavailable. A handle is valid only in this run of the game. Passing a value that is not a handle from this API throws.
|
|
671
|
+
- Units: offsets and durations are seconds, measured from now. Negative offsets are in the past. `recordingMs` and `longestClipMs` are milliseconds.
|
|
672
|
+
- A range event must be ended with `endRangeTimelineEvent()`. Steam discards range events that are still open when the game exits.
|
|
673
|
+
- `doesEventRecordingExist()` and `doesGamePhaseRecordingExist()` return promises. They resolve during `runCallbacks()` and reject when the timeline is unavailable or Steam cannot answer.
|
|
674
|
+
- A phase ID is at most 63 bytes and must not contain a NUL character. Calls with a longer ID throw.
|
|
675
|
+
- `clipPriority` is `None`, `Standard` or `Featured`.
|
|
676
|
+
- Not verified against a live Steam client: what the overlay shows for `openOverlayToGamePhase()` and `openOverlayToTimelineEvent()`, and how the timeline behaves on Steam clients that do not support it.
|
|
677
|
+
|
|
493
678
|
## Networking: `networking` and the New Namespaces
|
|
494
679
|
|
|
495
680
|
Two families of networking APIs coexist. The `networking` namespace is the original P2P packet API (`sendP2PPacket`, `readP2PPacket`, `acceptP2PSession`), and it is unchanged. The new `networkingSockets`, `networkingMessages` and `networkingUtils` namespaces wrap Steam's Networking Sockets, Networking Messages and Networking Utils interfaces.
|
package/callbacks.d.ts
CHANGED
|
@@ -167,4 +167,41 @@ export interface CallbackReturns {
|
|
|
167
167
|
response: { Ok: null } | { Err: AuthSessionValidateErrorName }
|
|
168
168
|
owner_steam_id: bigint
|
|
169
169
|
}
|
|
170
|
+
[client.callback.SteamCallback.AppProofOfPurchaseKeyResponse]: {
|
|
171
|
+
/** `0` marks the final callback of `requestAllProofOfPurchaseKeys`. */
|
|
172
|
+
app_id: number
|
|
173
|
+
result: SteamResult
|
|
174
|
+
/** Legacy CD key. Treat it as a secret and do not log it. */
|
|
175
|
+
key: string
|
|
176
|
+
}
|
|
177
|
+
[client.callback.SteamCallback.GameConnectedFriendChatMsg]: {
|
|
178
|
+
steam_id: bigint
|
|
179
|
+
message_id: number
|
|
180
|
+
}
|
|
181
|
+
[client.callback.SteamCallback.GameConnectedClanChatMsg]: {
|
|
182
|
+
clan_chat: bigint
|
|
183
|
+
user: bigint
|
|
184
|
+
message_id: number
|
|
185
|
+
}
|
|
186
|
+
[client.callback.SteamCallback.GameConnectedChatJoin]: {
|
|
187
|
+
clan_chat: bigint
|
|
188
|
+
user: bigint
|
|
189
|
+
}
|
|
190
|
+
[client.callback.SteamCallback.GameConnectedChatLeave]: {
|
|
191
|
+
clan_chat: bigint
|
|
192
|
+
user: bigint
|
|
193
|
+
kicked: boolean
|
|
194
|
+
dropped: boolean
|
|
195
|
+
}
|
|
196
|
+
[client.callback.SteamCallback.FriendRichPresenceUpdate]: {
|
|
197
|
+
steam_id: bigint
|
|
198
|
+
app_id: number
|
|
199
|
+
}
|
|
200
|
+
[client.callback.SteamCallback.UnreadChatMessagesChanged]: {}
|
|
201
|
+
[client.callback.SteamCallback.OverlayBrowserProtocolNavigation]: {
|
|
202
|
+
uri: string
|
|
203
|
+
}
|
|
204
|
+
[client.callback.SteamCallback.EquippedProfileItemsChanged]: {
|
|
205
|
+
steam_id: bigint
|
|
206
|
+
}
|
|
170
207
|
}
|