Esempio n. 1
0
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_player = OwnerFilter.FromJsonProperty(jsonObject, "player");
     m_includingThisSpellCast = Serialization.JsonTokenValue <bool>(jsonObject, "includingThisSpellCast", false);
     m_countThisSpellOnly     = Serialization.JsonTokenValue <bool>(jsonObject, "countThisSpellOnly", false);
 }
Esempio n. 2
0
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_player      = OwnerFilter.FromJsonProperty(jsonObject, "player");
     m_elementType = (CaracId)Serialization.JsonTokenValue <int>(jsonObject, "elementType", 12);
 }
Esempio n. 3
0
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_player             = OwnerFilter.FromJsonProperty(jsonObject, "player");
     m_countMissingSpells = Serialization.JsonTokenValue <bool>(jsonObject, "countMissingSpells", false);
 }
Esempio n. 4
0
 public void PopulateFromJson(JObject jsonObject)
 {
     m_playerSelector = OwnerFilter.FromJsonProperty(jsonObject, "playerSelector");
     m_selection      = (Superlative)Serialization.JsonTokenValue <int>(jsonObject, "selection", 1);
 }
 public override void PopulateFromJson(JObject jsonObject)
 {
     base.PopulateFromJson(jsonObject);
     m_player = OwnerFilter.FromJsonProperty(jsonObject, "player");
 }