Exemplo n.º 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();
		}
Exemplo n.º 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());
        }
Exemplo n.º 3
0
        public static StackAlias ReadStackAlias(BinaryReader r)
        {
            StackAlias s = new StackAlias();

            s.amount   = r.ReadInt32();
            s.amountid = r.ReadInt32();
            return(s);
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 5
0
		public static StackAlias ReadStackAlias(BinaryReader r) {
			StackAlias s = new StackAlias();
			s.amount = r.ReadInt32();
			s.amountid = r.ReadInt32();
			return s;
		}