[This is preliminary documentation and is subject to change.]

Searches for a map using the specified fileName. Prints any errors/warnings directly to the player.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.0 (0.6.3.0)

Syntax

   
 C# 
public static string FindMapFile(
	Player player,
	string fileName
)

Parameters

player
Player
Player who is doing the search.
fileName
String
FileName of the map to be searched for.

Return Value

Full source filename. Null if file could not be found, or an error occured.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If player or fileName is null.

See Also