PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
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 33 of file LegacyToStringIdMap.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 41 of file LegacyToStringIdMap.php.

Member Function Documentation

◆ add()

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

Definition at line 66 of file LegacyToStringIdMap.php.

◆ getLegacyToStringMap()

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

Definition at line 62 of file LegacyToStringIdMap.php.

◆ legacyToString()

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

Definition at line 54 of file LegacyToStringIdMap.php.


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