public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int)1 );//version writer.Write(GiveEthereals); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int)0 ); writer.Write( (Mobile)m_Target ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); writer.Write( (int) SkillBonus ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)4); //version writer.Write(m_WallCoordinates.Count); for (int i = 0; i < m_WallCoordinates.Count; i++) writer.Write((Point3D)m_WallCoordinates[i]); writer.Write(m_StartLocations.Count); for (int i = 0; i < m_StartLocations.Count; i++) writer.Write((Point3D)m_StartLocations[i]); writer.Write(m_GameTime); writer.Write((Item)m_RegionControl); writer.Write(m_ExitLosers); writer.Write(m_LinkBombs); writer.Write(m_ChanceForUpgrade); writer.Write(m_DanageWhileFS); writer.Write(m_WriteScoreboard); writer.Write(m_ExitWinner); writer.Write(m_ExitOnDraw); writer.Write(m_AutoStart); writer.Write(m_KeepOpenJoin); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 1 ); // version writer.Write( (int)m_Level ); }
public void Save( GenericWriter writer ) { writer.Write( (int) 0 ); // version writer.Write( m_First ); writer.Write( m_Second ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); writer.Write((bool)m_IsRewardItem); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version writer.Write((PlayerMobile)m_Taken); writer.Write((PlayerMobile)m_From); }
public override void Serialize(GenericWriter writer) { writer.WriteVersion(0); // Version 0 writer.Write(_Enabled); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.WriteEncodedInt( (int)0 ); // Version writer.Write( m_IsRewardItem ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.WriteEncodedInt( (int) 0 ); writer.Write( m_Points ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 1 ); writer.Write( m_IsShipwreckedItem ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int)0 ); writer.Write( m_StrengthBonus ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version 0 }
public void Serialize( GenericWriter writer ) { writer.Write( m_Lines.Length ); for ( int i = 0; i < m_Lines.Length; ++i ) writer.Write( m_Lines[i] ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 1 ); // version writer.Write( m_AllowCombat ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int)0 ); // version writer.Write( (Item)m_stone ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); writer.Write( (int) m_Charges ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)1); writer.Write((int)m_PlantHue); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( 1 ); // Version writer.Write( m_IsRewardItem ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); int version = writer.SetVersion(1); switch (version) { case 1: { writer.Write(SkipTicks); writer.Write(SkippedTicks); } goto case 0; case 0: { writer.WriteBlock( w => { writer.Write(CurrentSeason); writer.Write(TopListCount); writer.Write(RunnersUpCount); writer.WriteType(ScheduleInfo, t => ScheduleInfo.Serialize(w)); writer.Write(AutoPvP.SeasonSchedule.Enabled); }); writer.WriteBlock(w => writer.WriteType(Rewards, t => Rewards.Serialize(w))); } break; } }
/// <summary> /// Serialization /// </summary> protected override void Serialize(Server.GenericWriter writer) { base.Serialize(writer); writer.Write((int)1); //version writer.Write(BowConverted); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); writer.Write( (int) m_UsesRemaining ); }
public static void Type( GenericWriter writer, Type type ) { if ( writer == null ) return; writer.Write( type == null ? null : type.FullName ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); writer.Write(m_CaughtBy); writer.Write(m_DateCaught); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (byte) 0 ); // version writer.WriteEncodedInt( (int) m_LabelNumber ); }
public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int)0 ); writer.Write( m_Tent ); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write((int)0); // version writer.Write((int)m_Track); writer.Write((int)m_Song); }
public static void Object( GenericWriter writer, object obj ) { if ( writer == null ) return; if ( obj is int ) { writer.Write( (byte) 0x1 ); writer.Write( (int) obj ); } else if ( obj is String ) { writer.Write( (byte) 0x2 ); writer.Write( (String) obj ); } else if ( obj is Item ) { writer.Write( (byte) 0x3 ); writer.Write( (Item) obj ); } else if ( obj is Mobile ) { writer.Write( (byte) 0x4 ); writer.Write( (Mobile) obj ); } else { writer.Write( (byte) 0x0 ); // invalid } }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); int version = writer.SetVersion(0); }
public override void Serialize(GenericWriter writer) { base.Serialize(writer); int version = writer.SetVersion(1); switch (version) { case 1: { writer.WriteBlock( () => writer.WriteType( Misc, t => { if (t != null) { Misc.Serialize(writer); } })); } goto case 0; case 0: { writer.WriteBlock( () => writer.WriteType( Commands, t => { if (t != null) { Commands.Serialize(writer); } })); writer.WriteBlock( () => writer.WriteType( Profiles, t => { if (t != null) { Profiles.Serialize(writer); } })); writer.WriteBlock( () => writer.WriteType( Seasons, t => { if (t != null) { Seasons.Serialize(writer); } })); } break; } }
/// <summary> /// Serialization /// </summary> protected override void Serialize(Server.GenericWriter writer) { base.Serialize(writer); }