예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="reader"></param>
        public override void FromNetwork(BinaryReader reader)
        {
            base.FromNetwork(reader);

            var combatPart = new CombatEntityPart();

            combatPart.FromNetwork(reader);
            UpdateCombatEntityPart(combatPart);
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="part"></param>
 public void UpdateCombatEntityPart(CombatEntityPart part)
 {
     SetMaxLife(part.MaxLife);
     SetLife(part.CurrentLife);
 }