コード例 #1
0
ファイル: Tradeskill.cs プロジェクト: ywjb/Honorbuddy-434
 private void AddRecipe(Recipe recipe)
 {
     if (!Recipes.ContainsKey(recipe.SpellId))
     {
         Recipes.Add(recipe.SpellId, recipe);
         recipe.InitIngredients();
         recipe.InitTools();
     }
 }
コード例 #2
0
ファイル: Tradeskill.cs プロジェクト: Bia10/wowhbbotcracked-1
 public void AddRecipe(Recipe recipe)
 {
     if (Recipes.ContainsKey(recipe.ID))
     {
         return;
     }
     Recipes.Add(recipe.ID, recipe);
     recipe.InitIngredients();
     recipe.InitTools();
 }
コード例 #3
0
ファイル: Tradeskill.cs プロジェクト: exonys/Codemplosion
 private void AddRecipe(Recipe recipe)
 {
     if (!Recipes.ContainsKey(recipe.SpellId))
     {
         Recipes.Add(recipe.SpellId, recipe);
         recipe.InitIngredients();
         recipe.InitTools();
     }
 }
コード例 #4
0
 public void AddRecipe(Recipe recipe)
 {
     if (Recipes.ContainsKey(recipe.ID))
         return;
     Recipes.Add(recipe.ID, recipe);
     recipe.InitIngredients();
     recipe.InitTools();
 }