Example #1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder(((int)Stage).ToString() + "d" + Firepower.ToString("X") + DayCost.ToString() + Reward.Count().ToString());

            foreach (Ware w in Reward)
            {
                sb.Append((int)w);
            }
            sb.Append(Penalty);
            return(sb.ToString());
        }
Example #2
0
 public override string ToString()
 {
     return(((int)Stage).ToString() + "S" + Firepower.ToString("X") + DayCost.ToString() + Reward.ToString("X") + Penalty.ToString());
 }