Exemple #1
0
 public ScriptCodeGenerator(Mod mod)
 {
     Mod          = mod;
     Modname      = mod.ModInfo.Name;
     ModnameLower = Modname.ToLower();
     Organization = mod.Organization;
     PackageName  = $"com.{Organization}.{ModnameLower}";
 }
Exemple #2
0
 public ManagerCodeGenerator(Mod mod) : base(mod) => ScriptFilePath = Path.Combine(ModPaths.SourceCodeRootFolder(Modname, Organization), SourceCodeLocator.Manager.RelativePath);
Exemple #3
0
 => ScriptFilePath = Path.Combine(ModPaths.SourceCodeRootFolder(Modname, Organization), SourceCodeLocator.SoundEvents.RelativePath);
Exemple #4
0
 Path.Combine(ModPaths.SourceCodeRootFolder(Modname, Organization), SourceCodeLocator.FoodEffectBase.RelativePath)
Exemple #5
0
 ScriptFilePath = Path.Combine(ModPaths.SourceCodeRootFolder(Modname, Organization), SourceCodeLocator.ModelInterface.RelativePath);