diff --git a/ICD.Common.Utils/PathUtils.cs b/ICD.Common.Utils/PathUtils.cs
index c877b4a..776bd46 100644
--- a/ICD.Common.Utils/PathUtils.cs
+++ b/ICD.Common.Utils/PathUtils.cs
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using System.IO;
using System.Linq;
using ICD.Common.Properties;
using ICD.Common.Utils.Extensions;
@@ -289,6 +288,27 @@ namespace ICD.Common.Utils
return Join(ProgramDataPath, local);
}
+ ///
+ ///Appends the local path to the room data path.
+ ///
+ ///
+ public static string GetRoomDataPath(int roomId, params string[] localPath)
+ {
+ string local = Join(localPath);
+ string roomDataDirectory = GetRoomDataDirectory(roomId);
+ return Join(ProgramDataPath, roomDataDirectory, local);
+ }
+
+ ///
+ /// Gets the directory name of the room data directory for the room with the given id.
+ ///
+ ///
+ ///
+ public static string GetRoomDataDirectory(int roomId)
+ {
+ return string.Format("Room{0}Data", roomId);
+ }
+
///
/// Returns true if the given path exists.
///