// Token: 0x060019E9 RID: 6633 RVA: 0x00048EF0 File Offset: 0x000470F0 protected override void vmethod_7(Class524 fileName, bool modified) { if (base.CanSave) { if (modified) { if (Class524.smethod_0(fileName, null)) { this.Text = "Way Point Editor : New File*"; return; } this.Text = string.Format("Way Point Editor : {0}*", Path.GetFileName(fileName.string_1)); return; } else { if (Class524.smethod_0(fileName, null)) { this.Text = "Way Point Editor : New File"; return; } this.Text = "Way Point Editor : " + Path.GetFileName(fileName.string_1); } } }
// Token: 0x06001495 RID: 5269 RVA: 0x000259C0 File Offset: 0x00023BC0 protected bool method_6(Class524 fileName) { if (Class524.smethod_0(fileName, null)) { return(this.method_7()); } string directoryName = Path.GetDirectoryName(fileName.string_1); if (!Directory.Exists(directoryName)) { Directory.CreateDirectory(directoryName); } this.bool_1 = true; bool flag; try { flag = this.vmethod_2(fileName); } finally { this.bool_1 = false; } if (flag) { this.FileModified = false; } return(flag); }
private bool method_4(char A_0, CharacterFormat A_1) { bool flag = false; if (A_0 != '\0') { return(flag); } DocumentObject[] objArray = Class524.smethod_0(this.document_0, A_1); for (int i = 0; i < objArray.Length; i++) { this.documentObject_0.method_13(objArray[i]); } return(true); }
// Token: 0x06001B5D RID: 7005 RVA: 0x00054BC0 File Offset: 0x00052DC0 protected override void vmethod_7(Class524 fileName, bool modified) { if (modified) { if (Class524.smethod_0(fileName, null)) { this.Text = "Gardener Flora : WayPoint Setup : New File*"; return; } this.Text = string.Format("Gardener Flora : WayPoint Setup : {0}*", Path.GetFileName(fileName.string_1)); return; } else { if (Class524.smethod_0(fileName, null)) { this.Text = "Gardener Flora : WayPoint Setup : New File"; return; } this.Text = "Gardener Flora : WayPoint Setup : " + Path.GetFileName(fileName.string_1); return; } }
// Token: 0x06001CA2 RID: 7330 RVA: 0x0005C534 File Offset: 0x0005A734 public bool method_0(Class524 item) { this.class524_0 = item; return(Class524.smethod_0(item, this.string_0)); }