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"); }
public void Init(MyModContext context) { ModName = context.ModName; ModPath = context.ModPath; ModPathData = context.ModPathData; CurrentFile = context.CurrentFile; }
public void Init(MyObjectBuilder_DefinitionBase builder, MyModContext modContext) { Context = modContext; Init(builder); }