PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\data\bedrock\LegacyToStringIdMap Class Reference
+ Inheritance diagram for pocketmine\data\bedrock\LegacyToStringIdMap:
+ Collaboration diagram for pocketmine\data\bedrock\LegacyToStringIdMap:

Public Member Functions

 __construct (string $file)
 
 add (string $string, int $legacy)
 
 getLegacyToStringMap ()
 
 legacyToString (int $legacy)
 

Detailed Description

Definition at line 34 of file LegacyToStringIdMap.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\data\bedrock\LegacyToStringIdMap::__construct ( string $file)

Definition at line 42 of file LegacyToStringIdMap.php.

Member Function Documentation

◆ add()

pocketmine\data\bedrock\LegacyToStringIdMap::add ( string $string,
int $legacy )

Definition at line 67 of file LegacyToStringIdMap.php.

◆ getLegacyToStringMap()

pocketmine\data\bedrock\LegacyToStringIdMap::getLegacyToStringMap ( )
Returns
string[] @phpstan-return array<int, string>

Definition at line 63 of file LegacyToStringIdMap.php.

◆ legacyToString()

pocketmine\data\bedrock\LegacyToStringIdMap::legacyToString ( int $legacy)

Definition at line 55 of file LegacyToStringIdMap.php.


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