[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: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[CanBeNullAttribute] 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 file name. Null if file could not be found, or an error occurred.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | player or fileName is null. |