예제 #1
0
        public void UpdatePosition2(string user_id, double x, double y, string room_name)
        {
            string canonical_room_name = RoomNameGuard.CheckName(room_name);

            UserCenter.UpdatePosition(canonical_room_name, user_id, x, y);
            HotRoomCenter.Update(canonical_room_name, user_id);
        }
예제 #2
0
 public IEnumerable <UserCount> GetHotRoomList()
 {
     return(HotRoomCenter.GetHotRoomList());
 }