예제 #1
0
 public void copyFrom(t_hero rhv)
 {
     this.occupation = rhv.occupation;
     this.level = rhv.level;
     this.exp = rhv.exp;
     this.isActive = rhv.isActive;
     this.isGold = rhv.isGold;
 }
예제 #2
0
 public void copyFrom(t_hero rhv)
 {
     this.occupation = rhv.occupation;
     this.level      = rhv.level;
     this.exp        = rhv.exp;
     this.isActive   = rhv.isActive;
     this.isGold     = rhv.isGold;
 }
예제 #3
0
        public override void derialize(ByteBuffer bu)
        {
            base.derialize(bu);

            bu.readUnsignedInt16(ref count);
            if (count > 0)
            {
                int idx = 0;
                info = new List <t_hero>();
                t_hero item;
                while (idx < count)
                {
                    item = new t_hero();
                    info.Add(item);
                    item.derialize(bu);
                    ++idx;
                }
            }
        }