Exemple #1
0
 public bool Deserialize(string language, JSON_LocalNotificationInfo json)
 {
     if (!this.Deserialize(json))
     {
         return(false);
     }
     this.localizeFields(language);
     return(true);
 }
Exemple #2
0
 public bool Deserialize(JSON_LocalNotificationInfo json)
 {
     if (json == null)
     {
         return(false);
     }
     this.id           = json.fields.id;
     this.trophy_iname = json.fields.trophy_iname;
     this.push_flg     = json.fields.push_flg;
     this.push_word    = json.fields.push_word;
     this.custom_type  = json.fields.custom_type;
     return(true);
 }