public void notifyAboutNewUpcomingEvent(string eName) { var evnt = NewUpcomingEvent.Create(Bolt.GlobalTargets.Everyone); evnt.Name = eName; //evnt.Description = eDesc; evnt.Send(); }
public override void OnEvent(NewUpcomingEvent evnt) { BoltConsole.Write("New Upcoming event : " + evnt.Name); //PanelHolder.instance.displayNotify("Global Event Coming Soon", NetworkGameState.instance.getEventInfo(), "OK"); CrisisHandler.instance.CallCrisis(evnt.Name); }