public static string PrintStackAlias(StackAlias s,int i) { StringBuilder sb = new StringBuilder(); sb.AppendLine("#" + i + "\tAmount: " + s.amount + " - ID: " + s.amountid); return sb.ToString(); }
public static string PrintStackAlias(StackAlias s, int i) { StringBuilder sb = new StringBuilder(); sb.AppendLine("#" + i + "\tAmount: " + s.amount + " - ID: " + s.amountid); return(sb.ToString()); }
public static StackAlias ReadStackAlias(BinaryReader r) { StackAlias s = new StackAlias(); s.amount = r.ReadInt32(); s.amountid = r.ReadInt32(); return(s); }
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); } }
public static StackAlias ReadStackAlias(BinaryReader r) { StackAlias s = new StackAlias(); s.amount = r.ReadInt32(); s.amountid = r.ReadInt32(); return s; }