示例#1
0
 private static void InitBaseModContext()
 {
     m_baseContext = new MyModContext();
     m_baseContext.ModName = null;
     m_baseContext.ModPath = MyFileSystem.ContentPath;
     m_baseContext.ModPathData = Path.Combine(m_baseContext.ModPath, "Data");
 }
示例#2
0
 public void Init(MyModContext context)
 {
     ModName = context.ModName;
     ModPath = context.ModPath;
     ModPathData = context.ModPathData;
     CurrentFile = context.CurrentFile;
 }
示例#3
0
 public void Init(MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 {
     Context = modContext;
     Init(builder);
 }
示例#4
0
 public void Init(MyObjectBuilder_DefinitionBase builder, MyModContext modContext)
 {
     Context = modContext;
     Init(builder);
 }