PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\player\chat\StandardChatFormatter Class Reference
+ Inheritance diagram for pocketmine\player\chat\StandardChatFormatter:
+ Collaboration diagram for pocketmine\player\chat\StandardChatFormatter:

Public Member Functions

 format (string $username, string $message)
 

Detailed Description

Standard chat formatter, formats messages in the default Minecraft way.

Definition at line 32 of file StandardChatFormatter.php.

Member Function Documentation

◆ format()

pocketmine\player\chat\StandardChatFormatter::format ( string $username,
string $message )

Returns the formatted message to broadcast. This can return a plain string (which will be used as-is) or a Translatable (which will be translated into each recipient's language).

Implements pocketmine\player\chat\ChatFormatter.

Definition at line 34 of file StandardChatFormatter.php.


The documentation for this class was generated from the following file: