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

Formats and broadcasts a message.

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

Syntax

   
 C# 
public static int Message(
	this IEnumerable<Player> source,
	Player except,
	string message,
	params Object[] formatArgs
)

Parameters

source
IEnumerable<(Of <(<'Player>)>)>
List of players who will receive the message.
except
Player
Player to exclude from the recepient list.
message
String
String/message to send.
formatArgs
array<Object>[]()[][]
Format parameters. Same semantics as String.Format

Return Value

Number of players who received the message.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'Player>)>)>. When you use instance method syntax to call this method, omit the first parameter.

See Also