Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class DiscordService

    Inheritance
    object
    DiscordService
    Implements
    IDiscordService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PopcorningGuineaPig.Engine.Services
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public class DiscordService : IDiscordService

    Constructors

    | Edit this page View Source

    DiscordService(string)

    The game owns the webhook. The engine stores none.

    Declaration
    public DiscordService(string webhookUrl)
    Parameters
    Type Name Description
    string webhookUrl

    Methods

    | Edit this page View Source

    SendFeedback(string)

    Declaration
    public Task<bool> SendFeedback(string feedback)
    Parameters
    Type Name Description
    string feedback
    Returns
    Type Description
    Task<bool>
    | Edit this page View Source

    SendFeedback(string, string?)

    Posts feedback. A non-empty username is the webhook username and Steam is not touched. A null username uses the Steam persona, and a missing Steam client fails the send.

    Declaration
    public Task<bool> SendFeedback(string feedback, string? username)
    Parameters
    Type Name Description
    string feedback
    string username
    Returns
    Type Description
    Task<bool>

    Implements

    IDiscordService
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.