-
Notifications
You must be signed in to change notification settings - Fork 420
Expand file tree
/
Copy pathBetaInformation.cs
More file actions
59 lines (49 loc) · 1.52 KB
/
BetaInformation.cs
File metadata and controls
59 lines (49 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Steamworks.Data
{
/// <summary>
/// Provides information about a beta branch.
/// </summary>
public struct BetaInformation
{
/// <summary>
/// The name of the beta branch.
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// The description of the beta branch.
/// </summary>
public string Description { get; internal set; }
/// <summary>
/// The build ID of the beta branch.
/// </summary>
public uint BuildId { get; internal set; }
/// <summary>
/// The flags indicating the status of the beta branch.
/// </summary>
internal BetaBranchFlags Flags { get; set; }
/// <summary>
/// Whether this is the default branch.
/// </summary>
public bool IsDefault => (Flags & BetaBranchFlags.Default) != 0;
/// <summary>
/// Whether this beta branch is available for selection.
/// </summary>
public bool IsAvailable => (Flags & BetaBranchFlags.Available) != 0;
/// <summary>
/// Whether this beta branch is private (requires password or invitation).
/// </summary>
public bool IsPrivate => (Flags & BetaBranchFlags.Private) != 0;
/// <summary>
/// Whether this beta branch is currently selected by the user.
/// </summary>
public bool IsSelected => (Flags & BetaBranchFlags.Selected) != 0;
/// <summary>
/// Whether this beta branch is currently installed.
/// </summary>
public bool IsInstalled => (Flags & BetaBranchFlags.Installed) != 0;
}
}