예제 #1
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     this.arms  = ip.GetChild() as EquipAgent.ArmingAgent;
     this.dress = ip.GetChild() as EquipAgent.DressAgent;
     if (ip.HasChild)
     {
         this.mount = ip.GetChild() as ItemRef;
     }
     else
     {
         this.mount = new ItemRef(0);
     }
 }
예제 #2
0
 protected override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.m_Runebooks.Add(ip.GetChild() as RunebookInfo);
     }
 }
예제 #3
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.slots.Add(ip.GetChild() as EquipAgent.DressAgent.Slot);
     }
 }
예제 #4
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.actions.Add(new Action(ip.GetChild() as ActionData));
     }
 }
예제 #5
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.macroSets.Add(ip.GetChild() as MacroSet);
     }
 }
예제 #6
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.m_Gumps.Add(ip.GetChild() as GumpLayout);
     }
 }
예제 #7
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.m_Servers.Add(ip.GetChild() as Server);
     }
 }
예제 #8
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Items.Add(ip.GetChild() as ChartItem);
     }
 }
예제 #9
0
 protected override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.m_Items.Add(ip.GetChild() as ItemRef);
     }
 }
예제 #10
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Values.Add(ip.GetChild() as ItemValue);
     }
 }
예제 #11
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is Player)
         {
             this.m_Players.Add(obj as Player);
         }
         else if (obj is IgnoreList)
         {
             this.m_IgnoreList = obj as IgnoreList;
         }
         else if (obj is TravelAgent)
         {
             this.m_TravelAgent = obj as TravelAgent;
         }
     }
     if (this.m_IgnoreList == null)
     {
         this.m_IgnoreList = new IgnoreList();
     }
     if (this.m_TravelAgent != null)
     {
         return;
     }
     this.m_TravelAgent = new TravelAgent();
 }
예제 #12
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         this.m_Runes.Add(ip.GetChild() as RuneInfo);
     }
 }
예제 #13
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         EquipAgent.ArmingAgent.Slot slot = ip.GetChild() as EquipAgent.ArmingAgent.Slot;
         this.slots[slot.Index] = slot;
     }
 }
예제 #14
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is Preferences)
         {
             this.m_Preferences = obj as Preferences;
         }
     }
 }
예제 #15
0
		public override void DeserializeChildren( PersistanceReader ip )
		{
			while ( ip.HasChild )
			{
				PersistableObject child = ip.GetChild();

				if ( child is ReportColumn )
					m_Columns.Add( (ReportColumn) child );
				else if ( child is ReportItem )
					m_Items.Add( (ReportItem) child );
			}
		}
예제 #16
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is FootstepData)
         {
             this.m_Footsteps = obj as FootstepData;
         }
         else if (obj is SoundData)
         {
             this.m_Sound = obj as SoundData;
         }
         else if (obj is MusicData)
         {
             this.m_Music = obj as MusicData;
         }
         else if (obj is SpeechHues)
         {
             this.m_SpeechHues = obj as SpeechHues;
         }
         else if (obj is NotorietyHues)
         {
             this.m_NotorietyHues = obj as NotorietyHues;
         }
         else if (obj is Options)
         {
             this.m_Options = obj as Options;
         }
         else if (obj is ScreenLayout)
         {
             this.m_Layout = obj as ScreenLayout;
         }
         else if (obj is ScavengerAgent)
         {
             this.m_Scavenger = obj as ScavengerAgent;
         }
         else if (obj is RenderSettings)
         {
             this._renderSettings = obj as RenderSettings;
         }
     }
     if (this.m_Scavenger == null)
     {
         this.m_Scavenger = new ScavengerAgent();
     }
     if (this._renderSettings != null)
     {
         return;
     }
     this._renderSettings = new RenderSettings();
 }
예제 #17
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is Friends)
         {
             this.m_Friends = obj as Friends;
         }
         else if (!(obj is TravelAgent))
         {
             if (obj is UseOnceAgent)
             {
                 this.m_UseOnceAgent = obj as UseOnceAgent;
             }
             else if (obj is EquipAgent)
             {
                 this.equipAgent = obj as EquipAgent;
             }
             else if (obj is RestockAgent)
             {
                 this.RestockAgent = obj as RestockAgent;
             }
             else if (obj is OrganizeAgent)
             {
                 this.OrganizeAgent = obj as OrganizeAgent;
             }
         }
     }
     if (this.m_Friends == null)
     {
         this.m_Friends = new Friends();
     }
     if (this.m_UseOnceAgent == null)
     {
         this.m_UseOnceAgent = new UseOnceAgent();
     }
     if (this.equipAgent == null)
     {
         this.equipAgent = new EquipAgent();
     }
     if (this.RestockAgent == null)
     {
         this.RestockAgent = new RestockAgent();
     }
     if (this.OrganizeAgent != null)
     {
         return;
     }
     this.OrganizeAgent = new OrganizeAgent();
 }
예제 #18
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         object obj = (object)ip.GetChild();
         if (obj is ProfileList)
         {
             this.m_Profiles = obj as ProfileList;
         }
         else if (obj is ServerList)
         {
             this.m_Servers = obj as ServerList;
         }
     }
 }
예제 #19
0
        public override void DeserializeChildren(PersistanceReader ip)
        {
            while (ip.HasChild)
            {
                PersistableObject child = ip.GetChild();

                if (child is ReportColumn)
                {
                    m_Columns.Add((ReportColumn)child);
                }
                else if (child is ReportItem)
                {
                    m_Items.Add((ReportItem)child);
                }
            }
        }
예제 #20
0
 protected virtual void DeserializeChildren(PersistanceReader ip)
 {
     this.TargetContainer = (ip.HasChild ? ip.GetChild() as ItemRef : (ItemRef)null) ?? new ItemRef(0);
     this.SourceContainer = (ip.HasChild ? ip.GetChild() as ItemRef : (ItemRef)null) ?? new ItemRef(0);
 }
예제 #21
0
		public override void DeserializeChildren( PersistanceReader ip )
		{
			while ( ip.HasChild )
				m_Items.Add( ip.GetChild() as ChartItem );
		}
예제 #22
0
		public override void DeserializeChildren( PersistanceReader ip )
		{
			while ( ip.HasChild )
				m_Values.Add( ip.GetChild() as ItemValue );
		}