public static Event_Data_Handler read(BinaryReader reader) { Event_Data_Handler result = new Event_Data_Handler(); result.Name = reader.ReadString(); result.load_events(reader); //result.Finished_Events.read(reader); //result.Event_Data = result.Name == "" ? new Map_Event_Data() : Global.Chapter_Text_Content.Load<Map_Event_Data>(@"Data/Map Data/Event Data/" + result.Name); //result.refresh_events(); return(result); }
private void reset_events() { Event_Handler = new Event_Data_Handler(); }
public void read_events(BinaryReader reader) { Event_Handler = Event_Data_Handler.read(reader); }