Property | Type | Description | |
---|---|---|---|
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 |
Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
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)
|
Method | Description | |
---|---|---|
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 | |
return | int |
public CountVisiblePlayers ( [ observer ) : int | ||
observer | [ | |
return | int |
public DisableFireworkPhysics ( |
||
player | ||
announce | bool | |
return | void |
public DisableGunPhysics ( |
||
player | ||
announce | bool | |
return | void |
public DisablePlantPhysics ( |
||
player | ||
announce | bool | |
return | void |
public DisableSandPhysics ( |
||
player | ||
announce | bool | |
return | void |
public DisableTNTPhysics ( |
||
player | ||
announce | bool | |
return | void |
public DisableWaterPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnableFireworkPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnableGunPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnablePlantPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnableSandPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnableTNTPhysics ( |
||
player | ||
announce | bool | |
return | void |
public EnableWaterPhysics ( |
||
player | ||
announce | bool | |
return | void |
public FindPlayers ( [ player, [ playerName ) : fCraft.Player[] | ||
player | [ | |
playerName | [ | |
return | fCraft.Player[] |
public GenerateWoMConfig ( bool sendMotd ) : string | ||
sendMotd | bool | |
return | string |
public GetNextPatrolTarget ( [ observer ) : |
||
observer | [ | |
return |
public GetNextPatrolTarget ( [ observer, [ |
||
observer | [ | |
predicate | [ |
|
setLastPatrolTime | bool | |
return |
public LoadRealmState ( System.Xml.Linq.XElement el ) : void | ||
el | System.Xml.Linq.XElement | |
return | void |
public SaveBackup ( [ targetName ) : bool | ||
targetName | [ | Target file name. |
return | bool |
public SaveRealmState ( ) : System.Xml.Linq.XElement | ||
return | System.Xml.Linq.XElement |
public SaveRealmState ( string rootName ) : System.Xml.Linq.XElement | ||
rootName | string | |
return | System.Xml.Linq.XElement |
public ConcurrentDictionary |
||
return | Vector3I>.ConcurrentDictionary |