public void BeforeSave(bool insert) { m_knownZaapsBin = SerializeZaaps(m_knownZaaps); m_customEntityLookString = m_customEntityLook == null ? null : m_customEntityLook.ToString(); m_defaultLookString = m_defaultLook == null ? null : m_defaultLook.ToString(); m_titlesCSV = m_titles.ToCSV(","); m_ornamentsCSV = m_ornaments.ToCSV(","); m_emotesCSV = m_emotes.Select(x => (short)x).ToCSV(","); m_smileyPacksCSV = m_smileyPacks.Select(x => (short)x).ToCSV(","); m_fatalBlowsCSV = m_fatalBlows.Select(x => (short)x).ToCSV(","); m_idolsCSV = m_idols.ToCSV(","); }
public void BeforeSave(bool insert) { MaleLookString = m_maleLook.ToString(); FemaleLookString = m_femaleLook.ToString(); StatsPointsForStrengthCSV = m_statsPointsForStrength.ToCSV("|", x => x.ToCSV(",")); StatsPointsForIntelligenceCSV = m_statsPointsForIntelligence.ToCSV("|", x => x.ToCSV(",")); StatsPointsForChanceCSV = m_statsPointsForChance.ToCSV("|", x => x.ToCSV(",")); StatsPointsForWisdomCSV = m_statsPointsForWisdom.ToCSV("|", x => x.ToCSV(",")); StatsPointsForVitalityCSV = m_statsPointsForVitality.ToCSV("|", x => x.ToCSV(",")); StatsPointsForAgilityCSV = m_statsPointsForAgility.ToCSV("|", x => x.ToCSV(",")); MaleColorsCSV = m_maleColors.ToCSV(","); FemaleColorsCSV = m_femaleColors.ToCSV(","); BreedSpellsIdCSV = m_breedSpellsId.ToCSV(","); }
public void BeforeSave(bool insert) { m_entityLookString = m_entityLook.ToString(); }
public void BeforeSave(bool insert) { m_foodItemsCSV = m_foodItems.ToCSV(","); m_foodTypesCSV = m_foodTypes.ToCSV(","); m_lookString = m_look == null ? null : m_look.ToString(); }