public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write(( int )1); //--<< Version Number >>--------------<< //Version 2 //writer.Write( ( bool )Hallucinating ); //Hallucinating //Version 2 //Version 1 writer.Write(( bool )IsMarried); //UO Wedding writer.Write(( bool )m_AllowGayMarriages); //UO Wedding writer.Write(( bool )m_AllowCelestialMarriages); //UO Wedding writer.Write(( DateTime )m_MarriageTime); //UO Wedding writer.Write(( Point3D )m_WifeLoc); //UO Wedding writer.Write(( Point3D )m_HusbandLoc); //UO Wedding writer.Write(( int )m_MaritalStatus); //UO Wedding writer.Write(( int )m_TypeOfMarriage); //UO Wedding writer.Write(( string )m_FirstName); //UO Wedding writer.Write(( string )m_LastName); //UO Wedding writer.Write(( string )m_MaidenName); //UO Wedding writer.Write(( int )m_RankPoints); //Level System /*GD13_HS_Start_6*/ writer.Write(( int )m_HuntMode); //Hunting System writer.Write(( int )m_HuntRank); //Hunting System writer.Write(( int )m_HuntReward); //Hunting System writer.Write(( bool )m_Hunting); //Hunting System writer.Write(( int )m_EasyKills); //Hunting System writer.Write(( int )m_HardKills); //Hunting System writer.Write(( int )m_ExtremeKills); //Hunting System writer.Write(( int )m_GodKills); //Hunting System /*GD13_HS_End_6*/ //Version 1 //Version 0 writer.Write(( int )m_Class); //Characterization System writer.Write(( int )m_Race); //Characterization System writer.Write(( int )m_Tribe); //Characterization System writer.Write(( int )m_Rank); //Characterization System writer.Write(( int )m_RewardsClaimed); //Level System writer.Write(( int )m_Level); //Level System writer.Write(( int )m_SkillPts); //Level System writer.Write(( int )m_Experience); //Level System writer.Write(( int )m_Age); //Level System writer.Write(( int )m_NextLevelUp); //Level System writer.Write(m_Updated); //Level System writer.Write(m_Bioenginer); //Custom BOD System writer.Write(NextSmithBulkOrder); //Custom BOD System writer.Write(NextTailorBulkOrder); //Custom BOD System //writer.Write( NextFletcherBulkOrder ); //Custom BOD System //writer.Write( NextCarpenterBulkOrder ); //Custom BOD System //writer.Write( NextTinkerBulkOrder ); //Custom BOD System //writer.Write( NextTamingBulkOrder ); //Custom BOD System m_BOBFilter.Serialize(writer); //Custom BOD System //m_TinkBOBFilter.Serialize( writer ); //Custom BOD System //m_TamingBOBFilter.Serialize( writer ); //Custom BOD System writer.Write(( int )m_Flags); //Custom BOD System //Version 0 }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version writer.Write(NextFletcherBulkOrder); writer.Write(NextCarpenterBulkOrder); m_BOBFilter.Serialize(writer); writer.Write((int)m_Flags); }