[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.2 (0.6.3.2)

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 If observer is null.

See Also