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

Starts this timer with the specified duration, and end message.

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

Syntax

   
 C# 
public static ChatTimer Start(
	TimeSpan duration,
	string message,
	string startedBy
)

Parameters

duration
TimeSpan
Amount of time the timer should run before completion.
message
String
Message to display when timer reaches zero. May be null.
startedBy
String
Name of player who started timer. May not be null.

Return Value

Newly-created, and already-started timer.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If startedBy is null.
System..::..ArgumentOutOfRangeException If duration is less than one second.

See Also