Skip to content

Commit

Permalink
🚧 Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Aug 3, 2023
1 parent 0d8e61c commit 454283f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 8 additions & 4 deletions src/BD.SteamClient/Models/AuthorizedDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ namespace BD.SteamClient.Models;

public class AuthorizedDevice : ReactiveObject
{
public const long UndefinedId = 76561197960265728;

public AuthorizedDevice() { }

public bool Disable { get; set; }
bool _Disable;

public bool Disable
{
get => _Disable;
set => this.RaiseAndSetIfChanged(ref _Disable, value);
}

public string ProfileUrl => string.Format(STEAM_PROFILES_URL, SteamId64_Int);

Expand All @@ -18,7 +22,7 @@ public AuthorizedDevice() { }

public long SteamId3_Int { get; set; }

public long SteamId64_Int => UndefinedId + SteamId3_Int;
public long SteamId64_Int => SteamIdConvert.UndefinedId + SteamId3_Int;

string? _OnlineState;

Expand Down
2 changes: 0 additions & 2 deletions src/BD.SteamClient/Models/SteamUser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ namespace BD.SteamClient.Models;
[XmlRoot("profile")]
public class SteamUser : ReactiveObject
{
public const long UndefinedId = 76561197960265728;

public SteamUser()
{
}
Expand Down

0 comments on commit 454283f

Please sign in to comment.