Click or drag to resize
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
C#
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: T
Returns a new instance of the object read from the binary file.
See Also