docs.unity3d.com
    Show / Hide Table of Contents

    Class SetQueryArgs

    Contains all the relations and data a user can ask for in a single request

    Inheritance
    Object
    SetQueryArgs
    Namespace: Unity.MARS.Query
    Syntax
    public class SetQueryArgs

    Fields

    commonQueryData

    Behavior around timing and recovery of queries

    Declaration
    public CommonQueryData commonQueryData
    Field Value
    Type Description
    CommonQueryData

    onAcquire

    Callback to trigger when data matching the query has been acquired for the first time

    Declaration
    public Action<SetQueryResult> onAcquire
    Field Value
    Type Description
    Action<SetQueryResult>

    onLoss

    Callback to trigger when the data related to the query has been lost

    Declaration
    public Action<SetQueryResult> onLoss
    Field Value
    Type Description
    Action<SetQueryResult>

    onMatchUpdate

    Callback to trigger when data related to the query has been changed

    Declaration
    public Action<SetQueryResult> onMatchUpdate
    Field Value
    Type Description
    Action<SetQueryResult>

    onTimeout

    Callback to trigger if data related to the query has not been found in the specified time period

    Declaration
    public Action<SetQueryArgs> onTimeout
    Field Value
    Type Description
    Action<SetQueryArgs>

    relations

    Bi-directional data filters for what acceptable real world data fits this query

    Declaration
    public Relations relations
    Field Value
    Type Description
    Relations
    Back to top
    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