GameFilesReadFromFileT Method |
Reads an object instance from a file.
Namespace:
GeonBit.Managers
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public T ReadFromFile<T>(
GameFilesFileFormats format,
string filePath
)
Parameters
- format
- Type: GeonBit.ManagersGameFilesFileFormats
Which format to use with this file. - filePath
- Type: SystemString
The file path to read the object instance from.
Type Parameters
- T
- The type of object to read from the XML.
Return Value
Type:
TReturns a new instance of the object read from the binary file.
See Also