public void PopulateFromJson(JObject jsonObject) { m_spellEffect = Serialization.JsonTokenValue <string>(jsonObject, "spellEffect", ""); m_originTarget = ITargetSelectorUtils.FromJsonProperty(jsonObject, "originTarget"); m_orientation = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "orientation"); m_delayOverDistance = DelayOverDistance.FromJsonProperty(jsonObject, "delayOverDistance"); }
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"); }
public override void PopulateFromJson(JObject jsonObject) { base.PopulateFromJson(jsonObject); m_animation = (EntityAnimationKey)Serialization.JsonTokenValue <int>(jsonObject, "animation", 1); JArray val = Serialization.JsonArray(jsonObject, "additionalCoords"); m_additionalCoords = new List <ISingleTargetSelector>((val != null) ? val.get_Count() : 0); if (val != null) { foreach (JToken item in val) { m_additionalCoords.Add(ISingleTargetSelectorUtils.FromJsonToken(item)); } } }
public void PopulateFromJson(JObject jsonObject) { m_startCoords = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "startCoords"); }
public void PopulateFromJson(JObject jsonObject) { m_origin = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "origin"); m_delay = Serialization.JsonTokenValue <float>(jsonObject, "delay", 0.25f); }
public void PopulateFromJson(JObject jsonObject) { m_symmetryCenter = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "symmetryCenter"); m_refCoords = ISingleTargetSelectorUtils.FromJsonProperty(jsonObject, "refCoords"); }