Esempio n. 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);
     }
 }
Esempio n. 2
0
 public EquipAgent()
 {
     this.arms  = new EquipAgent.ArmingAgent();
     this.dress = new EquipAgent.DressAgent();
     this.mount = new ItemRef(0);
 }