Class TraitDataSnapshot
Inheritance
TraitDataSnapshot
Syntax
public class TraitDataSnapshot : object
Properties
DataID
Declaration
public int DataID { get; }
Property Value
Methods
GetAllTraitNames(Object)
Declaration
public void GetAllTraitNames(object results)
Parameters
Type |
Name |
Description |
Object |
results |
|
GetPotentialConditions(Object, GameObject)
Declaration
public void GetPotentialConditions(object results, GameObject gameObject)
Parameters
Type |
Name |
Description |
Object |
results |
|
GameObject |
gameObject |
|
GetPotentialRelations(List<PotentialChild>, List<PotentialRelation>, GameObject)
Declaration
public static void GetPotentialRelations(List<PotentialChild> groupMembers, List<PotentialRelation> results, GameObject gameObject)
Parameters
Declaration
public void GetPotentialTags(List<PotentialCondition> results, GameObject gameObject)
Parameters
GetTraits<TKey, TValue>(out Dictionary<TKey, TValue>)
Declaration
public void GetTraits<TKey, TValue>(out Dictionary<TKey, TValue> traits)
Parameters
Type |
Name |
Description |
Dictionary<TKey, TValue> |
traits |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
TakeSnapshot(Object)
Declaration
public void TakeSnapshot(object queryResult)
Parameters
Type |
Name |
Description |
Object |
queryResult |
|
TryGetTrait(String, out Object)
Declaration
public bool TryGetTrait(string traitName, out object value)
Parameters
Returns
TryGetTrait<T>(String, out T)
Declaration
public bool TryGetTrait<T>(string traitName, out T value)
where T : struct
Parameters
Type |
Name |
Description |
String |
traitName |
|
T |
value |
|
Returns
Type Parameters