docs.unity3d.com
    Show / Hide Table of Contents

    Struct CommonQueryData

    Contains data that is used by queries and the objects that make queries alike

    Namespace: Unity.MARS.Query
    Syntax
    public struct CommonQueryData

    Fields

    overrideTimeout

    When enabled, this query will time-out at a different rate than the app default.

    Declaration
    public bool overrideTimeout
    Field Value
    Type Description
    Boolean

    priority

    The importance level of the query. Larger values indicate higher importance.

    Declaration
    public MarsEntityPriority priority
    Field Value
    Type Description
    MarsEntityPriority

    reacquireOnLoss

    When enabled, this query will go back to looking for another match if its data is lost

    Declaration
    public bool reacquireOnLoss
    Field Value
    Type Description
    Boolean

    timeOut

    Sets how long this query should stay active before failing from lack of data. A negative value indicates no timeout.

    Declaration
    public float timeOut
    Field Value
    Type Description
    Single

    updateMatchInterval

    The interval (in seconds) on which to check for updates to this query's match

    Declaration
    public float updateMatchInterval
    Field Value
    Type Description
    Single

    Properties

    currentTimeOut

    Gets the actual timeout value, whether it's been set here or is using the default

    Declaration
    public float currentTimeOut { get; }
    Property Value
    Type Description
    Single

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023