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