M_Furcadia_FurcMap_Map_LoadFrom - StarShip-Avalon-Projects/FurcadiaFramework GitHub Wiki

Map.LoadFrom Method

This stuff is still in the planning stages. Any questions or Comments are welcome. [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 43

Syntax

C#

public static Map LoadFrom(
	string filename
)

VB

Public Shared Function LoadFrom ( 
	filename As String
) As Map

VB Usage

Dim filename As String
Dim returnValue As Map

returnValue = Map.LoadFrom(filename)

C++

public:
static Map^ LoadFrom(
	String^ filename
)

F#

static member LoadFrom : 
        filename : string -> Map 

Parameters

 

filename
Type: System.String
The file to load the map from

Return Value

Type: Map
The map

Exceptions

 

Exception Condition
InvalidDataException Thrown if the width and height of the map is not known (corrupt file)

See Also

Reference

Map Class
Furcadia.FurcMap Namespace

⚠️ **GitHub.com Fallback** ⚠️