Exemplo n.º 1
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.Regular = ip.GetInt32("regular");
     this.Yell    = ip.GetInt32("yell");
     this.Emote   = ip.GetInt32("emote");
     this.Whisper = ip.GetInt32("whisper");
 }
Exemplo n.º 2
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_Flags      = (OptionFlag)ip.GetInt32("flags");
     this.m_NotoQuery  = (NotoQueryType)ip.GetInt32("notoQuery");
     this.m_HouseLevel = Math.Min(Math.Max(1, ip.GetInt32("houseLevel")), 5);
     this.m_Flags     |= OptionFlag.HotkeysEnabled;
 }
Exemplo n.º 3
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this._terrainQuality     = ip.GetInt32("terrain-quality");
     this._smoothingMode      = ip.GetInt32("smoothing-mode");
     this._smoothCharacters   = ip.GetBoolean("smooth-characters");
     this._animatedCharacters = ip.GetBoolean("animated-characters");
     this._itemShadows        = ip.GetBoolean("item-shadows");
     this._characterShadows   = ip.GetBoolean("character-shadows");
 }
Exemplo n.º 4
0
        protected virtual void DeserializeAttributes(PersistanceReader ip)
        {
            this.key = (Keys)ip.GetInt32("key");
            int int32 = ip.GetInt32("modBits");

            this.Control = (int32 & 1) != 0;
            this.Alt     = (int32 & 2) != 0;
            this.Shift   = (int32 & 4) != 0;
        }
Exemplo n.º 5
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.ReagentCount         = ip.GetInt32("reagent-count");
     this.HealPotionCount      = ip.GetInt32("heal-potion-count");
     this.CurePotionCount      = ip.GetInt32("cure-potion-count");
     this.RefreshPotionCount   = ip.GetInt32("refresh-potion-count");
     this.StrengthPotionCount  = ip.GetInt32("strength-potion-count");
     this.AgilityPotionCount   = ip.GetInt32("agility-potion-count");
     this.ExplosionPotionCount = ip.GetInt32("explosion-potion-count");
 }
Exemplo n.º 6
0
 protected override void DeserializeAttributes(PersistanceReader ip)
 {
     this.Innocent   = ip.GetInt32("innocent");
     this.Ally       = ip.GetInt32("ally");
     this.Attackable = ip.GetInt32("attackable");
     this.Criminal   = ip.GetInt32("criminal");
     this.Enemy      = ip.GetInt32("enemy");
     this.Murderer   = ip.GetInt32("murderer");
     this.Vendor     = ip.GetInt32("vendor");
 }
Exemplo n.º 7
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.serial = ip.GetInt32("serial");
     this.itemId = ip.GetInt32("itemID");
 }
Exemplo n.º 8
0
 protected override void DeserializeAttributes(PersistanceReader ip)
 {
     base.DeserializeAttributes(ip);
     this.m_SkillID = ip.GetInt32("id");
 }
Exemplo n.º 9
0
 public override void DeserializeAttributes(PersistanceReader ip)
 {
     m_Name  = Utility.Intern(ip.GetString("n"));
     m_Value = ip.GetInt32("v");
 }
Exemplo n.º 10
0
 protected override void DeserializeAttributes(PersistanceReader ip)
 {
     this.layer = (Layer)ip.GetInt32("layer");
     base.DeserializeAttributes(ip);
 }
Exemplo n.º 11
0
 protected override void DeserializeAttributes(PersistanceReader ip)
 {
     this.index = ip.GetInt32("index");
     base.DeserializeAttributes(ip);
 }
Exemplo n.º 12
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_Volume.Scale = ip.GetInt32("volume");
     this.m_Volume.Mute  = ip.GetBoolean("mute");
 }
Exemplo n.º 13
0
		public override void DeserializeAttributes( PersistanceReader ip )
		{
			m_Name = Utility.Intern( ip.GetString( "n" ) );
			m_Value = ip.GetInt32( "v" );
		}
Exemplo n.º 14
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_Name  = ip.GetString("name");
     this.m_Point = new Point3D(ip.GetInt32("point-x"), ip.GetInt32("point-y"), ip.GetInt32("point-z"));
     this.m_Facet = ip.GetInt32("point-f");
 }
Exemplo n.º 15
0
 protected override void DeserializeAttributes(PersistanceReader ip)
 {
   this.m_Options = (ScavengerOptions) ip.GetInt32("options");
 }
Exemplo n.º 16
0
 protected virtual void DeserializeAttributes(PersistanceReader ip)
 {
     this.m_Name   = ip.GetString("name");
     this.m_Serial = ip.GetInt32("serial");
 }