Class Relations
Collections of different types of bi-directional data filters, and the constraints of child MR objects involved
Syntax
Constructors
Relations(IRelation[], Dictionary<IMRObject, SetChildArgs>)
Declaration
public Relations(IRelation[] relations, Dictionary<IMRObject, SetChildArgs> children = null)
Parameters
Relations(Relation, SetChildArgs, SetChildArgs)
Declaration
public Relations(Relation relation, SetChildArgs child1Args, SetChildArgs child2Args)
Parameters
Relations(GameObject, Dictionary<IMRObject, SetChildArgs>)
Declaration
public Relations(GameObject gameObject, Dictionary<IMRObject, SetChildArgs> children)
Parameters
Fields
children
Child MR objects involved in the relations, and the constraints of those children
Declaration
public Dictionary<IMRObject, SetChildArgs> children
Field Value
Properties
Count
Declaration
public int Count { get; protected set; }
Property Value
Methods
TryGetType(out Object[])
Declaration
[Obsolete("This method exists in order for MARS to compile before type-specific code is generated. Use the type-specific version of this method")]
public bool TryGetType(out object[] conditions)
Parameters
Type |
Name |
Description |
Object[] |
conditions |
|
Returns
TryGetType<T>(out IRelation<T>[])
Declaration
public bool TryGetType<T>(out IRelation<T>[] conditions)
where T : struct
Parameters
Type |
Name |
Description |
IRelation<T>[] |
conditions |
|
Returns
Type Parameters