Пример #1
0
        /// <summary>
        /// Creates a copy of this object.
        /// </summary>
        /// <returns></returns>
        public EgoInfo Copy()
        {
            var result = new EgoInfo();

            result.Name            = this.Name;
            result.Race            = this.Race;
            result.StrLevel        = this.StrLevel;
            result.StrExp          = this.StrExp;
            result.IntLevel        = this.IntLevel;
            result.IntExp          = this.IntExp;
            result.DexLevel        = this.DexLevel;
            result.DexExp          = this.DexExp;
            result.WillLevel       = this.WillLevel;
            result.WillExp         = this.WillExp;
            result.LuckLevel       = this.LuckLevel;
            result.LuckExp         = this.LuckExp;
            result.SocialLevel     = this.SocialLevel;
            result.SocialExp       = this.SocialExp;
            result.AwakeningEnergy = this.AwakeningEnergy;
            result.AwakeningExp    = this.AwakeningExp;
            result.LastFeeding     = this.LastFeeding;

            return(result);
        }
Пример #2
0
		/// <summary>
		/// Creates a copy of this object.
		/// </summary>
		/// <returns></returns>
		public EgoInfo Copy()
		{
			var result = new EgoInfo();

			result.Name = this.Name;
			result.Race = this.Race;
			result.StrLevel = this.StrLevel;
			result.StrExp = this.StrExp;
			result.IntLevel = this.IntLevel;
			result.IntExp = this.IntExp;
			result.DexLevel = this.DexLevel;
			result.DexExp = this.DexExp;
			result.WillLevel = this.WillLevel;
			result.WillExp = this.WillExp;
			result.LuckLevel = this.LuckLevel;
			result.LuckExp = this.LuckExp;
			result.SocialLevel = this.SocialLevel;
			result.SocialExp = this.SocialExp;
			result.AwakeningEnergy = this.AwakeningEnergy;
			result.AwakeningExp = this.AwakeningExp;
			result.LastFeeding = this.LastFeeding;

			return result;
		}