protected override void Perform(BooterHelper.BootFile file, XmlDbRow row) { BooterHelper.DocumentBootFile socialData = new BooterHelper.DocumentBootFile(file.ToString(), row.GetString("SocialData"), false); if (!socialData.IsValid) { BooterLogger.AddTrace(file + ": No SocialData"); return; } BooterHelper.DataBootFile availability = new BooterHelper.DataBootFile(file.ToString(), row.GetString("SocializingActionAvailability"), false); if (!availability.IsValid) { BooterLogger.AddTrace(file + ": No SocializingActionAvailability"); return; } Load(socialData, availability); }
protected override bool Perform(BooterHelper.BootFile file) { if (base.Perform(file)) { return(true); } BooterHelper.DocumentBootFile docfile = file as BooterHelper.DocumentBootFile; if (docfile == null) { return(false); } BooterHelper.DataBootFile availability = new BooterHelper.DataBootFile(file.ToString(), VersionStamp.sNamespace + ".SocializingActionAvailability", false); if (!availability.IsValid) { return(false); } Load(docfile, availability); return(true); }
protected override void PerformFile(BooterHelper.BootFile file) { BooterHelper.DataBootFile dataFile = file as BooterHelper.DataBootFile; if (dataFile == null) { return; } if ((dataFile.GetTable("BuffList") == null) && (dataFile.GetTable("Buffs") == null)) { return; } try { BuffManager.ParseBuffData(dataFile.Data, true); } catch (Exception e) { Common.Exception(file.ToString(), e); BooterLogger.AddError(file + ": ParseBuffData Error"); } }