Remote Explorer Game
Search Results for

    Show / Hide Table of Contents

    Class AsyncMovementResult

    Represents an asynchronous result of a movement attempt. Contains the movement result once ready, plus a task to handle the response.

    Inheritance
    object
    AsyncMovementResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ExplorerGame.Core
    Assembly: explorer-game.dll
    Syntax
    public class AsyncMovementResult

    Constructors

    | Edit this page View Source

    AsyncMovementResult(bool, MovementResult?, Task?)

    Initializes a new instance of the AsyncMovementResult class.

    Declaration
    public AsyncMovementResult(bool ready = false, MovementResult? movementResult = null, Task? responseHandlerTask = null)
    Parameters
    Type Name Description
    bool ready

    true if the result is already available.

    MovementResult? movementResult

    The movement result, if available.

    Task responseHandlerTask

    An optional task that handles the response workflow.

    Properties

    | Edit this page View Source

    MovementResult

    The result of the movement, if available.

    Declaration
    public MovementResult? MovementResult { get; }
    Property Value
    Type Description
    MovementResult?
    | Edit this page View Source

    Ready

    Indicates whether the result is ready.

    Declaration
    [MemberNotNullWhen(true, "MovementResult")]
    public bool Ready { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ResponseHandlerTask

    Task associated with handling the response.

    Declaration
    public Task ResponseHandlerTask { get; }
    Property Value
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX