public void Say(CytarMPSession session, string text)
 {
     foreach (var target in Sessions)
     {
         target.CallRemoteAPI("RcvMsg", session.User.Name, DateTime.Now.ToLongTimeString(), text);
     }
 }
Beispiel #2
0
        public RoomInfo CreateRoom(string roomName, uint mapID, CytarMPSession session)
        {
            var room = new GameRoom(roomName, session.ID);

            room.RoomInfo.MapID = mapID;
            this.AddSubRoom(room);
            return(room.RoomInfo);
        }
Beispiel #3
0
 public void BroadcastControl(CytarMPSession session)
 {
 }