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 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); }
public override void SerializeAttributes( PersistanceWriter op ) { base.SerializeAttributes( op ); op.SetBoolean( "p", m_ShowPercents ); }
public override void SerializeAttributes(PersistanceWriter op) { base.SerializeAttributes(op); op.SetBoolean("p", m_ShowPercents); }
protected virtual void SerializeAttributes(PersistanceWriter op) { op.SetInt32("volume", this.m_Volume.Scale); op.SetBoolean("mute", this.m_Volume.Mute); }