Esempio n. 1
0
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_selector = ISingleEntitySelectorUtils.FromJsonProperty(jsonObject, "selector");
     m_carac    = (CaracId)Serialization.JsonTokenValue <int>(jsonObject, "carac", 3);
     m_value    = ValueFilter.FromJsonProperty(jsonObject, "value");
 }
Esempio n. 2
0
		public void PopulateFromJson(JObject jsonObject)
		{
			m_refDirectionTargetA = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "refDirectionTargetA");
			m_refDirectionTargetB = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "refDirectionTargetB");
			m_applyStartTargets = ITargetSelectorUtils.FromJsonProperty(jsonObject, "applyStartTargets");
			m_distance = ValueFilter.FromJsonProperty(jsonObject, "distance");
		}
Esempio n. 3
0
 public void PopulateFromJson(JObject jsonObject)
 {
     m_valueFilter = ValueFilter.FromJsonProperty(jsonObject, "valueFilter");
 }
Esempio n. 4
0
 public void PopulateFromJson(JObject jsonObject)
 {
     m_targetsToCompare = ITargetSelectorUtils.FromJsonProperty(jsonObject, "targetsToCompare");
     m_distance         = ValueFilter.FromJsonProperty(jsonObject, "distance");
 }
Esempio n. 5
0
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_value     = DynamicValue.FromJsonProperty(jsonObject, "value");
     m_evaluator = ValueFilter.FromJsonProperty(jsonObject, "evaluator");
 }
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_selector = FilteredEntitySelector.FromJsonProperty(jsonObject, "selector");
     m_value    = ValueFilter.FromJsonProperty(jsonObject, "value");
 }