Свойство | Тип | Описание | |
---|---|---|---|
CheckMapFile | void | ||
FindMapFile | string | ||
FindWorldExact | |||
FindWorldOrPrintMatches | |||
LoadWorldList | bool | ||
LoadWorldListEntry | void | ||
RaiseMainWorldChangedEvent | void | ||
RaiseMainWorldChangingEvent | bool | ||
RaiseWorldCreatedEvent | void | ||
RaiseWorldCreatingEvent | bool | ||
ReplaceWorld | void |
Метод | Описание | |
---|---|---|
AddWorld ( [ player, [ name, [ map, bool neverUnload ) : |
||
CountLoadedWorlds ( ) : int | ||
CountLoadedWorlds ( [ observer ) : int | ||
FindWorlds ( [ player, [ name ) : fCraft.World[] |
Finds all worlds that match the given name. Autocompletes. Raises SearchingForWorld event. Target worlds are not guaranteed to have a loaded map.
|
|
FindWorldsNoEvent ( [ name ) : fCraft.World[] |
Finds all worlds that match the given world name. Autocompletes. Does not raise SearchingForWorld event. Target worlds are not guaranteed to have a loaded map.
|
|
ListLoadedWorlds ( ) : IEnumerable |
||
ListLoadedWorlds ( [ observer ) : IEnumerable |
||
RemoveWorld ( [ worldToDelete ) : void | ||
RenameWorld ( [ world, [ newName, bool moveMapFile, bool overwrite ) : void |
Changes the name of the given world.
|
|
SaveWorldList ( ) : void |
Saves the current world list to worlds.xml. Thread-safe.
|
|
UpdateWorldList ( ) : void |
Метод | Описание | |
---|---|---|
CheckMapFile ( [ world ) : void | ||
FindMapFile ( [ player, [ fileName ) : string | ||
FindWorldExact ( [ name ) : |
||
FindWorldOrPrintMatches ( [ player, [ worldName ) : |
||
LoadWorldList ( ) : bool | ||
LoadWorldListEntry ( [ el ) : void | ||
RaiseMainWorldChangedEvent ( [ oldWorld, [ newWorld ) : void | ||
RaiseMainWorldChangingEvent ( |
||
RaiseWorldCreatedEvent ( [ player, [ world ) : void | ||
RaiseWorldCreatingEvent ( [ player, [ worldName, [ map ) : bool | ||
ReplaceWorld ( [ oldWorld, [ newWorld ) : void |
public static AddWorld ( [ player, [ name, [ map, bool neverUnload ) : |
||
player | [ | |
name | [ | |
map | [ | |
neverUnload | bool | |
Результат |
public static CountLoadedWorlds ( ) : int | ||
Результат | int |
public static CountLoadedWorlds ( [ observer ) : int | ||
observer | [ | |
Результат | int |
public static FindWorlds ( [ player, [ name ) : fCraft.World[] | ||
player | [ | Player who is calling the query. May be null. |
name | [ | Full or partial world name. |
Результат | fCraft.World[] |
public static FindWorldsNoEvent ( [ name ) : fCraft.World[] | ||
name | [ | |
Результат | fCraft.World[] |
public static ListLoadedWorlds ( ) : IEnumerable |
||
Результат | IEnumerable |
public static ListLoadedWorlds ( [ observer ) : IEnumerable |
||
observer | [ | |
Результат | IEnumerable |
public static RemoveWorld ( [ worldToDelete ) : void | ||
worldToDelete | [ | |
Результат | void |
public static RenameWorld ( [ world, [ newName, bool moveMapFile, bool overwrite ) : void | ||
world | [ | |
newName | [ | |
moveMapFile | bool | |
overwrite | bool | |
Результат | void |
public static UpdateWorldList ( ) : void | ||
Результат | void |