games+schema+for+data+transfer

Missle

"Missile:" + GPN + "," + BT + "," + DT + "," + type + "," + dmg + "," + Target + "," + HEALTH? "|";

Weapon

"Weapon:" + GPN + "," + BT + "," + dt + "," + type + "," + lvl + "," + ownedby + "|";

enemy

"Enemy:" + GPN + "," + BT + "," + DT + "," + type + "," + lvl + "|";

ship

r = "Ship:" + GPN + "," + BT + "," + dt + "|"; r = r + W[0].getData(dt, GPN); r = r + W[1].getData(dt, GPN); r = r + W[2].getData(dt, GPN);

Game (all together now)

string r = ""; for (int i = 0; i < missles.Length; i++) { if (missles[i] != null) { r = r + missles[i].getData(gt); } } for (int i = 0; i < enemoes.Length; i++) { if(enemoes[i] != null) { r = r + enemoes[i].getData(gt); } } r = r + ship.getData(gt);