private void OnCrafting(CraftingEvent e) { if (WaitingUsers.ContainsKey(e.Player.UID)) { e.Player.MessageFrom("AuthMe", red + YouNeedToBeLoggedIn); } }
public static void CraftingEvent(CraftingInventory inv, BlueprintDataBlock blueprint, int amount, ulong startTime) { CraftingEvent e = new CraftingEvent(inv, blueprint, amount, startTime); if (OnCrafting != null) { OnCrafting(e); } }
public void OnCrafting(CraftingEvent e) { var item = e.ResultItem; if (item.name == "Paper") { e.Cancel(); e.Player.Notice("You can not Craft the Paper"); } }
public void OnCrafting(CraftingEvent e) { this.Invoke("On_Crafting", new object[] { e }); }
public void OnCrafting(CraftingEvent e) { Invoke("On_Crafting", e); }