I want to send a bunch of different types of data in a single message but i dont want to make a string out of it.
I tried to do this:
I also tried doing...
What type of data can be sent using the IGC.SendBroadcastMessage() function?
I tried to do this:
Code:
if (Laser.Status == MyLaserAntennaStatus.Connected)
{
object Obj1 = new double[] { OrbitalPeriod };
object Obj2 = HeightMap;
object[] Data = new object[]{Obj1,Obj2};
IGC.SendBroadcastMessage("Sattelite", Data);//Crashes here "Message type object[] is not allowed"
HeightMap.Clear();
Laser.Enabled = false;
}
What type of data can be sent using the IGC.SendBroadcastMessage() function?