Search Results for

    Show / Hide Table of Contents

    Interface IDiscordEntitlement

    Represents a Discord entitlement. Docs: https://discord.com/developers/docs/game-sdk/store#data-models-entitlement-struct

    Namespace: Color_Chan.Discord.Core.Common.Models.Entitlement
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordEntitlement

    Properties

    | Improve this Doc View Source

    ApplicationId

    The Application id that owns the entitlement.

    Declaration
    ulong ApplicationId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Consumed

    Whether the entitlement has been consumed.

    Declaration
    bool Consumed { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Deleted

    Whether the entitlement has been deleted.

    Declaration
    bool Deleted { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    EndsAt

    The time at which the entitlement ends at. This is only present if the entitlement is not a test subscription.

    Declaration
    DateTimeOffset? EndsAt { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTimeOffset>
    | Improve this Doc View Source

    Id

    The id of the entitlement.

    Declaration
    ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    PromotionId

    The id of the promotion that the entitlement was used with.

    Declaration
    ulong? PromotionId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    SkuId

    The list SKU ids to check entitlements for

    Declaration
    ulong SkuId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    StartsAt

    The time at which the entitlement starts at. This is only present if the entitlement is not a test subscription.

    Declaration
    DateTimeOffset? StartsAt { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTimeOffset>
    | Improve this Doc View Source

    SubscriptionId

    The id of the subscription that was used to bought the entitlement. This is only present if the entitlement was bought through a subscription.

    Declaration
    ulong? SubscriptionId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Type

    The type of the entitlement.

    Declaration
    DiscordEntitlementType Type { get; set; }
    Property Value
    Type Description
    DiscordEntitlementType
    | Improve this Doc View Source

    UserId

    The user id to look up entitlements for

    Declaration
    ulong? UserId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX