Overview

Namespaces

  • aliuly
    • common
      • selectors
    • loader
  • xPaw

Classes

  • ArmorItems
  • BasicCli
  • BasicHelp
  • BasicPlugin
  • ChatSession
  • Cmd
  • CmdSelector
  • ExpandVars
  • FastTransfer
  • FileUtils
  • FreezeSession
  • GetMotd
  • GetMotdAsyncTask
  • InvisibleSession
  • InvUtils
  • ItemName
  • mc
  • mc2
  • MoneyAPI
  • MPMU
  • Npc
  • PermUtils
  • PluginAsyncTask
  • PluginCallbackTask
  • PMScript
  • QueryAsyncTask
  • Rcon
  • RconTask
  • Session
  • ShieldSession
  • ShoppingCart
  • SignUtils
  • SkinUtils
  • SpySession
  • SubCommandMap
  • TPUtils
  • Overview
  • Namespace
  • Class

Class ItemName

ItemName database

Abstract
Namespace: aliuly\common
Located at aliuly/common/ItemName.php
Methods summary
public static
# initUsrNames( array $names )

Initialize $usrnames

Initialize $usrnames

Parameters

$names
  • names to load
public static integer
# loadUsrNames( aliuly\common\ItemName::str() $f )

Load the specified item names. Return number of items read, -1 in case of error.

Load the specified item names. Return number of items read, -1 in case of error.

Parameters

$f
  • Filename to load

Returns

integer
protected static
# initXnames( )

Initialize extended names table

Initialize extended names table

public static aliuly\common\ItemName::str()
# str( pocketmine\item\Item $item )

Given an pocketmine\item\Item object, it returns a friendly name for it.

Given an pocketmine\item\Item object, it returns a friendly name for it.

Parameters

$item
item

Returns

aliuly\common\ItemName::str()
Properties summary
protected static array $xnames

$xnames extended names

$xnames extended names

# null
protected static aliuly\common\ItemName::str()[] $items

$items Nice names for items

$items Nice names for items

# []
protected static aliuly\common\ItemName::str()[] $usrnames

$usrnames Possibly localized names for items

$usrnames Possibly localized names for items

# []
API documentation generated by ApiGen