private void OnResearch(ResearchEvent re) { if (WaitingUsers.ContainsKey(re.Player.UID)) { re.Player.MessageFrom("AuthMe", red + YouNeedToBeLoggedIn); } }
public static void ResearchItem(IInventoryItem otherItem) { if (OnResearch != null) { ResearchEvent researchEvent = new ResearchEvent(otherItem); OnResearch(researchEvent); } }
public void OnResearch(ResearchEvent re) { var item = re.ItemDataBlock; if (item.name == "Paper") { re.Cancel(); re.Player.Notice("You can not Reseach the Paper"); } }
public void OnResearch(ResearchEvent evt) { this.Invoke("On_Research", new object[] { evt }); }
public void OnResearch(ResearchEvent evt) { Invoke("On_Research", evt); }