public static void SendMeetUpInfo() { MapPosition meetUp = getRandomMeetUp(); string meetUpPacket = String.Format("MeetUp#{0}#{1}#{2}#{3}", meetUp.vec3pos.x, meetUp.vec3pos.y, meetUp.vec3pos.z, meetUp.Name); Server.Broadcast(meetUpPacket); }
public static MapPosition getRandomMeetUp() { MapPosition randomPos = meetUpCoordinates[new Random().Next(0, meetUpCoordinates.Length)]; return(randomPos); }