internal static void ReadNetWorldOrder(BinaryReader r) { short n = r.ReadInt16(); NetWorlds = new ModWorld[n]; for (short i = 0; i < n; i++) { NetWorlds[i] = ModNet.GetMod(r.ReadInt16()).GetModWorld(r.ReadString()); } }
internal static void ReadNetSystemOrder(BinaryReader r) { short n = r.ReadInt16(); NetSystems = new ModSystem[n]; for (short i = 0; i < n; i++) { NetSystems[i] = ModContent.Find <ModSystem>(ModNet.GetMod(r.ReadInt16()).Name, r.ReadString()); } }