Class SetQueryArgs
Contains all the relations and data a user can ask for in a single request
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 |