Exemple #1
0
        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);
        }
Exemple #2
0
        public static MapPosition getRandomMeetUp()
        {
            MapPosition randomPos = meetUpCoordinates[new Random().Next(0, meetUpCoordinates.Length)];

            return(randomPos);
        }