![]() |
fCraft
0.638
Custom Minecraft Server
|
Exception that is thrown when a player's action or command could not be completed. More...
Inheritance diagram for fCraft.PlayerOpException:
Collaboration diagram for fCraft.PlayerOpException:Public Member Functions | |
| PlayerOpException ([NotNull] Player player, PlayerInfo target, PlayerOpExceptionCode errorCode,[NotNull] string message,[NotNull] string messageColored) | |
| Initialises a new instance of fCraft.PlayerOpException, using the specified information. | |
Properties | |
| Player | Player [get, set] |
| Player who caused the error. | |
| PlayerInfo | Target [get, set] |
| Target of the command that caused the error. | |
| PlayerOpExceptionCode | ErrorCode [get, set] |
| Error code associated with the error. | |
| string | MessageColored [get, set] |
| Message to display to player, via Minecraft chat. Optionally enhanced with colorcodes. | |
Exception that is thrown when a player's action or command could not be completed.
| fCraft.PlayerOpException.PlayerOpException | ( | [NotNull] Player | player, |
| PlayerInfo | target, | ||
| PlayerOpExceptionCode | errorCode, | ||
| [NotNull] string | message, | ||
| [NotNull] string | messageColored | ||
| ) |
Initialises a new instance of fCraft.PlayerOpException, using the specified information.
| player | The player executing the command. |
| target | The target of the command, null if no target. |
| errorCode | Specific error code. |
| message | Message to display. |
| messageColored | Message to display with colour codes applied. |
|
getset |
Error code associated with the error.
|
getset |
Message to display to player, via Minecraft chat. Optionally enhanced with colorcodes.
|
getset |
Target of the command that caused the error.