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

Initialises a new instance of fCraft.PlayerOpException, using the specified information.

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

Syntax

   
 C# 
public PlayerOpException(
	Player player,
	PlayerInfo target,
	PlayerOpExceptionCode errorCode,
	string message,
	string messageColored
)

Parameters

player
Player
The player executing the command.
target
PlayerInfo
The target of the command, null if no target.
errorCode
PlayerOpExceptionCode
Specific error code.
message
String
Message to display.
messageColored
String
Message to display with colour codes applied.

See Also