Skip to content

Commit

Permalink
feat: include cftools id in #getPlayerDetails response
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirasaki authored and FlorianSW committed Nov 17, 2023
1 parent 1ede12c commit 37b5330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/got/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export class GotCFToolsClient implements CFToolsClient {
battleye: BattlEyeGUID.of(identities.battleye.guid),
bohemia: BohemiaInteractiveId.of(identities.bohemiainteractive.uid),
steam: SteamId64.of(identities.steam.steam64),
cftools: id
}
};
}
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ export interface Player {
battleye: BattlEyeGUID,
bohemia: BohemiaInteractiveId,
steam: SteamId64,
cftools: CFToolsId,
},
/**
* Playtime in seconds
Expand Down

0 comments on commit 37b5330

Please sign in to comment.