public void add_event(int event_code, string event_name) { ProjectEvent tmp = new ProjectEvent(); tmp.code = event_code; tmp.name = event_name; events.Add(tmp); }
private int OpenEvent(ProjectEvent pEvent) { return world.AddEvent(pEvent.code, pEvent.name); }