Skip to content

Commit

Permalink
Add bungie/domain/roblox connection types and correct SkuFlags.availa…
Browse files Browse the repository at this point in the history
…ble (#639)
  • Loading branch information
MCausc78 authored Mar 16, 2024
1 parent 42f7bef commit 70c9d04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/models/sku.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ enum SkuType {
/// Flags applied to an [Sku].
class SkuFlags extends Flags<SkuFlags> {
/// The SKU is available for purchase.
static const available = Flag<SkuFlags>.fromOffset(0);
static const available = Flag<SkuFlags>.fromOffset(2);

/// The SKU is a guild subscription.
static const guildSubscription = Flag<SkuFlags>.fromOffset(7);
Expand Down
3 changes: 3 additions & 0 deletions lib/src/models/user/connection.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class Connection with ToStringHelper {
/// * Discord API Reference: https://discord.com/developers/docs/resources/user#connection-object-services
enum ConnectionType {
battleNet._('battlenet', 'Battle.net'),
bungieNet._('bungie', 'Bungie.net'),
domain._('domain', 'Domain'),
ebay._('ebay', 'eBay'),
epicGames._('epicgames', 'Epic Games'),
facebook._('facebook', 'Facebook'),
Expand All @@ -68,6 +70,7 @@ enum ConnectionType {
playstation._('playstation', 'PlayStation Network'),
reddit._('reddit', 'Reddit'),
riotGames._('riotgames', 'Riot Games'),
roblox._('roblox', 'ROBLOX'),
spotify._('spotify', 'Spotify'),
skype._('skype', 'Skype'),
steam._('steam', 'Steam'),
Expand Down

0 comments on commit 70c9d04

Please # to comment.