Furcadia Framework For Third Party Programs
MapLoadFrom Method |
[This is preliminary documentation and is subject to change.]
Loads a map from a file
Namespace: Furcadia.FurcMap
Assembly: FurcadiaLib (in FurcadiaLib.dll) Version: 2.19.PreAlpha 44
Syntax
public static Map LoadFrom( string filename )
Public Shared Function LoadFrom ( filename As String ) As Map Dim filename As String Dim returnValue As Map returnValue = Map.LoadFrom(filename)
public: static Map^ LoadFrom( String^ filename )
static member LoadFrom : filename : string -> Map
Parameters
- filename
- Type: SystemString
The file to load the map from
Return Value
Type: MapThe map
Exceptions
Exception | Condition |
---|---|
InvalidDataException | Thrown if the width and height of the map is not known (corrupt file) |
See Also