GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
MetadataValue Class Reference

Public Member Functions

 getOwningPlugin ()
 
 value ()
 
 invalidate ()
 

Protected Member Functions

 __construct (Plugin $owningPlugin)
 

Protected Attributes

 $owningPlugin
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Plugin  $owningPlugin)
protected

MetadataValue constructor.

Parameters
Plugin$owningPlugin
35  {
36  $this->owningPlugin = new \WeakRef($owningPlugin);
37  }

Member Function Documentation

◆ getOwningPlugin()

getOwningPlugin ( )
Returns
Plugin
42  {
43  return $this->owningPlugin->get();
44  }

◆ invalidate()

invalidate ( )
abstract

Invalidates this metadata item, forcing it to recompute when next accessed.

◆ value()

value ( )
abstract

Fetches the value of this metadata item.

Returns
mixed

Field Documentation

◆ $owningPlugin

$owningPlugin
protected

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