Ejemplo n.º 1
0
 /// <summary>
 /// Gets the path of the specified submodule.
 /// </summary>
 /// <param name="type">
 /// The <see cref="SubmoduleInfo" /> type for the submodule.
 /// </param>
 public static string GetSubmodulePath(System.Type type)
 {
     return(
         Mode == SubmoduleMapMode.Editor ?
         SubmoduleMapEditorAdaptor.GetSubmodulePath(type) :
         SubmoduleMapPlayerAdaptor.GetSubmodulePath(type)
         );
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the <see cref="SubmoduleInfo" /> type for the submodule that contains the specified path.
 /// </summary>
 /// <param name="path">
 /// The path.
 /// </param>
 public static System.Type GetSubmoduleType(string path)
 {
     return(
         Mode == SubmoduleMapMode.Editor ?
         SubmoduleMapEditorAdaptor.GetSubmoduleType(path) :
         SubmoduleMapPlayerAdaptor.GetSubmoduleType(path)
         );
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets the flag that indicates whether the submodule map contains data for the specified type.
 /// </summary>
 /// <param name="type">
 /// The <see cref="SubmoduleInfo" /> type for the submodule.
 /// </param>
 public static bool Contains(System.Type type)
 {
     return(
         Mode == SubmoduleMapMode.Editor ?
         SubmoduleMapEditorAdaptor.Contains(type) :
         SubmoduleMapPlayerAdaptor.Contains(type)
         );
 }