Class XboxGameAccount
Namespace: XboxAuthNet.Game.Accounts
Assembly: XboxAuthNet.Game.dll
public class XboxGameAccount : IXboxGameAccount, IComparable
Inheritance
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
XboxGameAccount(ISessionStorage)
public XboxGameAccount(ISessionStorage sessionStorage)
Parameters
sessionStorage ISessionStorage
Properties
Gamertag
public string? Gamertag { get; }
Property Value
Identifier
public string? Identifier { get; }
Property Value
LastAccess
public DateTime LastAccess { get; }
Property Value
SessionStorage
public ISessionStorage SessionStorage { get; }
Property Value
XboxTokens
public XboxAuthTokens? XboxTokens { get; }
Property Value
Methods
CompareTo(object?)
public int CompareTo(object? other)
Parameters
other object?
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj object?
Returns
FromSessionStorage(ISessionStorage)
public static XboxGameAccount FromSessionStorage(ISessionStorage sessionStorage)
Parameters
sessionStorage ISessionStorage
Returns
GetHashCode()
public override int GetHashCode()
Returns
GetIdentifier()
protected virtual string? GetIdentifier()
Returns
ToString()
public override string ToString()