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

Selects the next player to teleport to while patroling. Sets target's LastPatrolTime automatically.

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

Syntax

   
 C# 
public Player GetNextPatrolTarget(
	Player observer
)

Parameters

observer
Player
Player who is patrolling.

Return Value

Player who has been selected to be patrolled.

Exceptions

ExceptionCondition
System..::..ArgumentNullException observer is null.

See Also