Beispiel #1
0
		public static string PrintStackAlias(StackAlias s,int i) {
			StringBuilder sb = new StringBuilder();

			sb.AppendLine("#" + i + "\tAmount: " +  s.amount + " - ID: " + s.amountid);

			return sb.ToString();
		}
Beispiel #2
0
        public static string PrintStackAlias(StackAlias s, int i)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("#" + i + "\tAmount: " + s.amount + " - ID: " + s.amountid);

            return(sb.ToString());
        }
Beispiel #3
0
        public static StackAlias ReadStackAlias(BinaryReader r)
        {
            StackAlias s = new StackAlias();

            s.amount   = r.ReadInt32();
            s.amountid = r.ReadInt32();
            return(s);
        }
Beispiel #4
0
        private static void ReadStackAliases(Tileart t, BinaryReader r)
        {
            int count3 = r.ReadInt32();

            t.stackaliases = new StackAlias[count3];
            for (int i = 0; i < count3; ++i)
            {
                t.stackaliases[i] = StackAlias.ReadStackAlias(r);
            }
        }
Beispiel #5
0
		public static StackAlias ReadStackAlias(BinaryReader r) {
			StackAlias s = new StackAlias();
			s.amount = r.ReadInt32();
			s.amountid = r.ReadInt32();
			return s;
		}