protected virtual void SerializeChildren(PersistanceWriter op) { foreach (PersistableObject slot in this.slots) { slot.Serialize(op); } }
protected virtual void SerializeChildren(PersistanceWriter op) { for (int index = 0; index < this.m_Gumps.Count; ++index) { this.m_Gumps[index].Serialize(op); } }
public override void SerializeChildren(PersistanceWriter op) { for (int i = 0; i < m_Items.Count; ++i) { m_Items[i].Serialize(op); } }
protected override void SerializeChildren(PersistanceWriter op) { for (int index = 0; index < this.m_Runebooks.Count; ++index) { this.m_Runebooks[index].Serialize(op); } }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetInt32("regular", this.Regular); op.SetInt32("yell", this.Yell); op.SetInt32("emote", this.Emote); op.SetInt32("whisper", this.Whisper); }
protected virtual void SerializeChildren(PersistanceWriter op) { foreach (PersistableObject mCharacter in this.m_Characters) { mCharacter.Serialize(op); } }
protected virtual void SerializeAttributes(PersistanceWriter op) { OptionFlag optionFlag = this.m_Flags | OptionFlag.HotkeysEnabled; op.SetInt32("flags", (int)optionFlag); op.SetInt32("notoQuery", (int)this.m_NotoQuery); op.SetInt32("houseLevel", this.m_HouseLevel); }
public override void SerializeChildren( PersistanceWriter op ) { for ( int i = 0; i < m_Columns.Count; ++i ) m_Columns[i].Serialize( op ); for ( int i = 0; i < m_Items.Count; ++i ) m_Items[i].Serialize( op ); }
protected virtual void SerializeChildren(PersistanceWriter op) { this.m_Friends.Serialize(op); this.m_UseOnceAgent.Serialize(op); this.equipAgent.Serialize(op); this.RestockAgent.Serialize(op); this.OrganizeAgent.Serialize(op); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetRectangle("game", this.m_GameBounds); op.SetRectangle("screen", this.m_ScreenBounds); op.SetBoolean("maximized", this.m_Maximized); op.SetSize("full", this.m_FullSize); op.SetBoolean("fullscreen", this.m_Fullscreen); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetInt32("terrain-quality", this._terrainQuality); op.SetInt32("smoothing-mode", this._smoothingMode); op.SetBoolean("smooth-characters", this._smoothCharacters); op.SetBoolean("animated-characters", this._animatedCharacters); op.SetBoolean("item-shadows", this._itemShadows); op.SetBoolean("character-shadows", this._characterShadows); }
protected virtual void SerializeChildren(PersistanceWriter op) { this.m_IgnoreList.Serialize(op); this.m_TravelAgent.Serialize(op); foreach (PersistableObject mPlayer in this.m_Players) { mPlayer.Serialize(op); } }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetString("command", this.command); if (this.param == null || this.param.Length <= 0) { return; } op.SetString("param", this.param); }
protected virtual void SerializeAttributes(PersistanceWriter op) { if (this.IsNull) { return; } op.SetString("name", this.m_Name); op.SetInt32("serial", this.m_Serial); }
public void Serialize( PersistanceWriter op ) { op.BeginObject( TypeID ); SerializeAttributes( op ); op.BeginChildren(); SerializeChildren( op ); op.FinishChildren(); op.FinishObject(); }
public void Serialize(PersistanceWriter op) { op.BeginObject(this.TypeID); SerializeAttributes(op); op.BeginChildren(); SerializeChildren(op); op.FinishChildren(); op.FinishObject(); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetInt32("reagent-count", this.ReagentCount); op.SetInt32("heal-potion-count", this.HealPotionCount); op.SetInt32("cure-potion-count", this.CurePotionCount); op.SetInt32("refresh-potion-count", this.RefreshPotionCount); op.SetInt32("strength-potion-count", this.StrengthPotionCount); op.SetInt32("agility-potion-count", this.AgilityPotionCount); op.SetInt32("explosion-potion-count", this.ExplosionPotionCount); }
protected override void SerializeAttributes(PersistanceWriter op) { op.SetInt32("innocent", this.Innocent); op.SetInt32("ally", this.Ally); op.SetInt32("attackable", this.Attackable); op.SetInt32("criminal", this.Criminal); op.SetInt32("enemy", this.Enemy); op.SetInt32("murderer", this.Murderer); op.SetInt32("vendor", this.Vendor); }
protected virtual void SerializeChildren(PersistanceWriter op) { for (int index = 0; index < this.slots.Length; ++index) { if (this.slots[index] != null) { this.slots[index].Serialize(op); } } }
protected virtual void SerializeChildren(PersistanceWriter op) { this.arms.Serialize(op); this.dress.Serialize(op); if (this.mount.IsNull) { return; } this.mount.Serialize(op); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetString("name", this.m_Name); op.SetInt32("point-x", this.m_Point.X); op.SetInt32("point-y", this.m_Point.Y); if (this.m_Point.Z != 0) { op.SetInt32("point-z", this.m_Point.Z); } if (this.m_Facet == 0) { return; } op.SetInt32("point-f", this.m_Facet); }
protected virtual void SerializeAttributes(PersistanceWriter op) { if (this.IsNull) { return; } if (this.serial != 0) { op.SetInt32("serial", this.serial); } if (this.itemId == 0) { return; } op.SetInt32("itemID", this.itemId); }
protected virtual void SerializeChildren(PersistanceWriter op) { this._renderSettings.Serialize(op); if (this.m_Footsteps == null) { this.m_Footsteps = new FootstepData(); } this.m_Footsteps.Serialize(op); this.m_Sound.Serialize(op); this.m_Music.Serialize(op); this.m_SpeechHues.Serialize(op); this.m_NotorietyHues.Serialize(op); this.m_Options.Serialize(op); this.m_Scavenger.Serialize(op); this.m_Layout.Serialize(op); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetBoolean("template-set", this.TemplateSet); op.SetPoint("black-pearl", (System.Drawing.Point) this.BlackPearlPos); op.SetPoint("blood-moss", (System.Drawing.Point) this.BloodMossPos); op.SetPoint("garlic", (System.Drawing.Point) this.GarlicPos); op.SetPoint("ginseng", (System.Drawing.Point) this.GinsengPos); op.SetPoint("mandrake-root", (System.Drawing.Point) this.MandrakeRootPos); op.SetPoint("nightshade", (System.Drawing.Point) this.NightshadePos); op.SetPoint("spiders-silk", (System.Drawing.Point) this.SpidersSilkPos); op.SetPoint("sulfurous-ash", (System.Drawing.Point) this.SulfurousAshPos); op.SetPoint("heal-potion", (System.Drawing.Point) this.HealPotionPos); op.SetPoint("cure-potion", (System.Drawing.Point) this.CurePotionPos); op.SetPoint("refresh-potion", (System.Drawing.Point) this.RefreshPotionPos); op.SetPoint("strength-potion", (System.Drawing.Point) this.StrengthPotionPos); op.SetPoint("agility-potion", (System.Drawing.Point) this.AgilityPotionPos); op.SetPoint("explosion-potion", (System.Drawing.Point) this.ExplosionPotionPos); }
protected virtual void SerializeAttributes(PersistanceWriter op) { int num = 0; if (this.Control) { num |= 1; } if (this.Alt) { num |= 2; } if (this.Shift) { num |= 4; } op.SetInt32("key", (int)this.key); op.SetInt32("modBits", num); }
public override void SerializeChildren( PersistanceWriter op ) { for ( int i = 0; i < m_Values.Count; ++i ) m_Values[i].Serialize( op ); }
protected override void SerializeAttributes(PersistanceWriter op) { base.SerializeAttributes(op); op.SetString("profile", this.m_Profile); }
public override void SerializeAttributes(PersistanceWriter op) { op.SetString("v", m_Value); op.SetString("f", m_Format); }
public override void SerializeAttributes(PersistanceWriter op) { op.SetString("n", m_Name); op.SetString("f", m_FileName); }
protected virtual void SerializeChildren(PersistanceWriter op) { this.TargetContainer.Serialize(op); this.SourceContainer.Serialize(op); }
public override void SerializeAttributes( PersistanceWriter op ) { op.SetString( "n", m_Name ); op.SetInt32( "v", m_Value ); }
public virtual void SerializeAttributes( PersistanceWriter op ) { }
protected override void SerializeAttributes(PersistanceWriter op) { base.SerializeAttributes(op); op.SetInt32("id", this.m_SkillID); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetString("name", this.m_Name); }
protected virtual void SerializeChildren(PersistanceWriter op) { this.m_Preferences.Serialize(op); }
public override void SerializeAttributes( PersistanceWriter op ) { op.SetString( "v", m_Value ); op.SetString( "f", m_Format ); }
public override void SerializeAttributes( PersistanceWriter op ) { op.SetString( "n", m_Name ); op.SetString( "f", m_FileName ); }
public override void SerializeAttributes( PersistanceWriter op ) { op.SetString( "w", m_Width ); op.SetString( "a", m_Align ); op.SetString( "n", m_Name ); }
public override void SerializeAttributes( PersistanceWriter op ) { base.SerializeAttributes( op ); op.SetBoolean( "p", m_ShowPercents ); }
public virtual void SerializeChildren( PersistanceWriter op ) { }