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

Sends a message to all players who are spectating this player, e.g. to forward typed-in commands and PMs. "System color" code (&S) will be prepended to the message. If the message does not fit on one line, prefix ">" is prepended to each wrapped line.

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

Syntax

   
 C# 
public void SendToSpectators(
	string message,
	params Object[] formatArgs
)

Parameters

message
String
A composite format string for the message. Same semantics as String.Format().
formatArgs
array<Object>[]()[][]
An object array that contains zero or more objects to format.

Exceptions

ExceptionCondition
System..::..ArgumentNullException message or formatArgs is null.
System..::..FormatException Message format is invalid.

See Also