[This is preliminary documentation and is subject to change.]
Sends a text message to this player, prefixing each line.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
[StringFormatMethodAttribute("message")] public void MessagePrefixed( string prefix, string message, params Object[] formatArgs )
Parameters
- prefix
- String
Prefix to prepend to prepend to each line after the 1st, if any line-wrapping occurs. Does NOT get prepended to first line.
- 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
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | prefix, message, or formatArgs is null. |
| System..::..FormatException | Message format is invalid. |