Свойство | Тип | Описание | |
---|---|---|---|
CloudColor | int | ||
EdgeBlock | Block | ||
Feeds | FeedData>.Dictionary | ||
FireworkCount | int | ||
GameOn | bool | ||
Games | List |
||
Greeting | string | ||
LockedBy | string | ||
LockedDate | System.DateTime | ||
RealisticEnv | bool | ||
RealmXMLRootName | string | ||
SideBlock | Block | ||
ZombieGame | bool | ||
blockCache | Vector3I>.ConcurrentDictionary | ||
blueScore | int | ||
blueTeam | List |
||
fireworkPhysics | bool | ||
footballPos | Vector3I | ||
gameMode | GameMode | ||
gunPhysics | bool | ||
map | |||
plantPhysics | bool | ||
positions | fCraft.Player[ | ||
redScore | int | ||
redTeam | List |
||
sandPhysics | bool | ||
tntPhysics | bool | ||
waterPhysics | bool |
Свойство | Тип | Описание | |
---|---|---|---|
AcceptPlayer | |||
AddPhysicsTask | void | ||
AddPlantTask | void | ||
AddTask | void | ||
AddTasksFromNewMap | void | ||
CheckIfPhysicsStarted | void | ||
CheckIfToStopPhysics | void | ||
DeleteOldBackups | void | ||
EndFlushMapBuffer | void | ||
FindPlayerExact | |||
LoadMap | |||
SaveTask | void | ||
StartScheduler | void | ||
StartTasks | void | ||
StopSchedulers | void | ||
StopTasks | void | ||
UnloadMap | void | ||
UpdateTask | void | ||
World | System |
Метод | Описание | |
---|---|---|
ChangeMap ( [ newMap ) : void | ||
CountPlayers ( bool includeHiddenPlayers ) : int |
Counts all players (optionally includes all hidden players).
|
|
CountVisiblePlayers ( [ observer ) : int |
Counts only the players who are not hidden from a given observer.
|
|
DeleteLife ( string name ) : void | ||
DisableFireworkPhysics ( |
||
DisableGunPhysics ( |
||
DisablePlantPhysics ( |
||
DisableSandPhysics ( |
||
DisableTNTPhysics ( |
||
DisableWaterPhysics ( |
||
EnableFireworkPhysics ( |
||
EnableGunPhysics ( |
||
EnablePlantPhysics ( |
||
EnableSandPhysics ( |
||
EnableTNTPhysics ( |
||
EnableWaterPhysics ( |
||
FindPlayers ( [ player, [ playerName ) : fCraft.Player[] | ||
Flush ( ) : void | ||
GenerateWoMConfig ( bool sendMotd ) : string | ||
GetLife ( string name ) : Life2DZone | ||
GetLifes ( ) : IEnumerable |
||
GetNextPatrolTarget ( [ observer ) : |
||
GetNextPatrolTarget ( [ observer, [ |
||
IsValidName ( [ name ) : bool |
Ensures that player name has the correct length (2-16 characters) and character set (alphanumeric chars and underscores allowed).
|
|
LoadRealmState ( System.Xml.Linq.XElement el ) : void | ||
Lock ( [ player ) : bool | ||
ReleasePlayer ( [ player ) : bool | ||
SaveBackup ( [ targetName ) : bool |
Makes a copy of the current map file associated with this world. This does NOT save map to disk, and does NOT guarantee that the most up-to-date copy of the map was backed up.
|
|
SaveMap ( ) : void | ||
SaveRealmState ( ) : System.Xml.Linq.XElement | ||
SaveRealmState ( string rootName ) : System.Xml.Linq.XElement | ||
ToString ( ) : string | ||
TryAddLife ( Life2DZone life ) : bool | ||
Unlock ( [ player ) : bool | ||
UpdatePlayerList ( ) : void |
Caches the player list to an array (Players -> PlayerList)
|
Метод | Описание | |
---|---|---|
AcceptPlayer ( [ player, bool announce ) : |
||
AddPhysicsTask ( PhysicsTask task, int Delay ) : void | ||
AddPlantTask ( short x, short y, short z ) : void | ||
AddTask ( TaskCategory cat, PhysicsTask task, int Delay ) : void | ||
AddTasksFromNewMap ( ) : void | ||
CheckIfPhysicsStarted ( ) : void | ||
CheckIfToStopPhysics ( ) : void | ||
DeleteOldBackups ( [ directory ) : void | ||
EndFlushMapBuffer ( ) : void | ||
FindPlayerExact ( [ playerName ) : |
||
LoadMap ( ) : |
||
SaveTask ( |
||
StartScheduler ( TaskCategory cat ) : void | ||
StartTasks ( ) : void | ||
StopSchedulers ( ) : void | ||
StopTasks ( ) : void | ||
UnloadMap ( bool expectedPendingFlag ) : void | ||
UpdateTask ( |
||
World ( [ name ) : System |
public CountPlayers ( bool includeHiddenPlayers ) : int | ||
includeHiddenPlayers | bool | |
Результат | int |
public CountVisiblePlayers ( [ observer ) : int | ||
observer | [ | |
Результат | int |
public DisableFireworkPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public DisableGunPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public DisablePlantPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public DisableSandPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public DisableTNTPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public DisableWaterPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnableFireworkPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnableGunPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnablePlantPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnableSandPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnableTNTPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public EnableWaterPhysics ( |
||
player | ||
announce | bool | |
Результат | void |
public FindPlayers ( [ player, [ playerName ) : fCraft.Player[] | ||
player | [ | |
playerName | [ | |
Результат | fCraft.Player[] |
public GenerateWoMConfig ( bool sendMotd ) : string | ||
sendMotd | bool | |
Результат | string |
public GetLife ( string name ) : Life2DZone | ||
name | string | |
Результат | Life2DZone |
public GetNextPatrolTarget ( [ observer ) : |
||
observer | [ | |
Результат |
public GetNextPatrolTarget ( [ observer, [ |
||
observer | [ | |
predicate | [ |
|
setLastPatrolTime | bool | |
Результат |
public static IsValidName ( [ name ) : bool | ||
name | [ | |
Результат | bool |
public LoadRealmState ( System.Xml.Linq.XElement el ) : void | ||
el | System.Xml.Linq.XElement | |
Результат | void |
public SaveBackup ( [ targetName ) : bool | ||
targetName | [ | Target file name. |
Результат | bool |
public SaveRealmState ( ) : System.Xml.Linq.XElement | ||
Результат | System.Xml.Linq.XElement |
public SaveRealmState ( string rootName ) : System.Xml.Linq.XElement | ||
rootName | string | |
Результат | System.Xml.Linq.XElement |
public TryAddLife ( Life2DZone life ) : bool | ||
life | Life2DZone | |
Результат | bool |
public ConcurrentDictionary |
||
Результат | Vector3I>.ConcurrentDictionary |