Class SceneFileCopy
An object that allows to handle the properties of the copy of a saved
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SaveIsEasy
Assembly: SaveIsEasyDLL.dll
Syntax
public class SceneFileCopy : SceneFile
Properties
Original
To get the original save file
Declaration
public SceneFile Original { get; }
Property Value
Type | Description |
---|---|
SceneFile | The original save file |
Methods
Delete()
Delete this save file and if have a copy that too.
Declaration
public override void Delete()
Overrides
Duplicate(String)
To create a copy of this save file
Declaration
public override SceneFile Duplicate(string newName)
Parameters
Type | Name | Description |
---|---|---|
System.String | newName | The new name |
Returns
Type | Description |
---|---|
SceneFile | The new file that was created |
Overrides
HaveCopy()
This file has a copy or is a copy?
Declaration
public override bool HaveCopy()
Returns
Type | Description |
---|---|
System.Boolean | True = has a copy, False = not has a copy |
Overrides
IsCopy()
Is this object a copy of a saved file?
Declaration
public override bool IsCopy()
Returns
Type | Description |
---|---|
System.Boolean | False = it is not a copy, True = It is a copy file |
Overrides
Rename(String)
To rename this file name and if have a copy that too
Declaration
public override void Rename(string newName)
Parameters
Type | Name | Description |
---|---|---|
System.String | newName |