Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class WolfUser

    Wolf user.

    Inheritance
    System.Object
    WolfUser
    Implements
    IWolfEntity
    System.IEquatable<WolfUser>
    Namespace: TehGM.Wolfringo
    Assembly: Wolfringo.Core.dll
    Syntax
    public class WolfUser : IWolfEntity, IEquatable<WolfUser>

    Constructors

    | Improve this Doc View Source

    WolfUser()

    Creates a new instance of WOLF user.

    Declaration
    [JsonConstructor]
    protected WolfUser()

    Properties

    | Improve this Doc View Source

    About

    User's "About Me" description.

    Declaration
    [JsonProperty("about", NullValueHandling = NullValueHandling.Ignore)]
    public string About { get; }
    Property Value
    Type Description
    System.String
    Remarks

    If this value is null, user request with extended data might be required.

    | Improve this Doc View Source

    ActiveCharmID

    User's selected active charm.

    Declaration
    [JsonProperty("charms")]
    [JsonConverter(typeof(ValueOrPropertyConverter), new object[]{"selectedList[0].charmId"})]
    public uint? ActiveCharmID { get; }
    Property Value
    Type Description
    System.Nullable<System.UInt32>
    | Improve this Doc View Source

    DateOfBirth

    User's date of birth.

    Declaration
    [JsonProperty("dateOfBirth", NullValueHandling = NullValueHandling.Ignore)]
    public DateTime? DateOfBirth { get; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>
    Remarks

    If this value is null, user request with extended data is required.

    | Improve this Doc View Source

    Device

    User's current device.

    Declaration
    [JsonProperty("deviceType")]
    public WolfDevice Device { get; }
    Property Value
    Type Description
    WolfDevice
    | Improve this Doc View Source

    Gender

    User's gender.

    Declaration
    [JsonProperty("gender", NullValueHandling = NullValueHandling.Ignore)]
    public WolfGender? Gender { get; }
    Property Value
    Type Description
    System.Nullable<WolfGender>
    Remarks

    If this value is null, user request with extended data is required.

    | Improve this Doc View Source

    Hash

    Entity state hash.

    Declaration
    [JsonProperty("hash", NullValueHandling = NullValueHandling.Ignore)]
    public string Hash { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Icon

    User icon ID.

    Declaration
    [JsonProperty("icon")]
    public int? Icon { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    ID

    ID of the user.

    Declaration
    [JsonProperty("id")]
    public uint ID { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Language

    User's language.

    Declaration
    [JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
    public WolfLanguage? Language { get; }
    Property Value
    Type Description
    System.Nullable<WolfLanguage>
    Remarks

    If this value is null, user request with extended data is required.

    | Improve this Doc View Source

    Links

    User's links.

    Declaration
    [JsonProperty("urls", NullValueHandling = NullValueHandling.Ignore)]
    public IEnumerable<string> Links { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>
    Remarks

    If this value is null, user request with extended data might be required.

    | Improve this Doc View Source

    LookingFor

    User's looking for.

    Declaration
    [JsonProperty("lookingFor", NullValueHandling = NullValueHandling.Ignore)]
    public WolfLookingFor? LookingFor { get; }
    Property Value
    Type Description
    System.Nullable<WolfLookingFor>
    Remarks

    If this value is null, user request with extended data is required.

    | Improve this Doc View Source

    Nickname

    User's display name.

    Declaration
    [JsonProperty("nickname")]
    public string Nickname { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    OnlineState

    User's online state.

    Declaration
    [JsonProperty("onlineState")]
    public WolfOnlineState OnlineState { get; }
    Property Value
    Type Description
    WolfOnlineState
    | Improve this Doc View Source

    Privileges

    User's privileges.

    Declaration
    [JsonProperty("privileges")]
    public WolfPrivilege Privileges { get; }
    Property Value
    Type Description
    WolfPrivilege
    | Improve this Doc View Source

    ProfileName

    User's name, as specified in the profile.

    Declaration
    [JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
    public string ProfileName { get; }
    Property Value
    Type Description
    System.String
    Remarks

    If this value is null, user request with extended data might be required.

    | Improve this Doc View Source

    Relationship

    User's relationship status.

    Declaration
    [JsonProperty("relationship", NullValueHandling = NullValueHandling.Ignore)]
    public WolfRelationship? Relationship { get; }
    Property Value
    Type Description
    System.Nullable<WolfRelationship>
    Remarks

    If this value is null, user request with extended data is required.

    | Improve this Doc View Source

    Reputation

    User's reputation level.

    Declaration
    [JsonProperty("reputation")]
    public double Reputation { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Status

    User's status.

    Declaration
    [JsonProperty("status")]
    public string Status { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UtcOffset

    User's timezone offset.

    Declaration
    [JsonProperty("utcOffset", NullValueHandling = NullValueHandling.Ignore)]
    [JsonConverter(typeof(MinutesTimespanConverter))]
    public TimeSpan? UtcOffset { get; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>
    Remarks

    If this value is null, user request with extended data is required.

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    Equals(WolfUser)

    Declaration
    public bool Equals(WolfUser other)
    Parameters
    Type Name Description
    WolfUser other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(WolfUser, WolfUser)

    Declaration
    public static bool operator ==(WolfUser left, WolfUser right)
    Parameters
    Type Name Description
    WolfUser left
    WolfUser right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(WolfUser, WolfUser)

    Declaration
    public static bool operator !=(WolfUser left, WolfUser right)
    Parameters
    Type Name Description
    WolfUser left
    WolfUser right
    Returns
    Type Description
    System.Boolean

    Implements

    IWolfEntity
    System.IEquatable<T>

    Extension Methods

    AvatarUtilities.GetAvatarURL(WolfUser, UInt32)
    AvatarUtilities.DownloadAvatarAsync(WolfUser, UInt32, CancellationToken)
    AvatarUtilities.DownloadAvatarAsync(WolfUser, HttpClient, UInt32, CancellationToken)