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

Public Member Functions

 __construct ($object=null)
 
 acquire ()
 
 get ()
 
 release ()
 
 valid ()
 

Detailed Description

WeakRef extension stub file for code completion purposes

WARNING: Do not include this file

Constructor & Destructor Documentation

◆ __construct()

__construct (   $object = null)

Constructs a new weak reference.

Parameters
object$object
16  {
17  }

Member Function Documentation

◆ acquire()

acquire ( )

Acquires a strong reference on that object, virtually turning the weak reference into a strong one.

Returns
bool
25  {
26  }

◆ get()

get ( )

Returns the object pointed to by the weak reference

Returns
object
33  {
34  }

◆ release()

release ( )

Releases a previously acquired reference, potentially turning a strong reference back into a weak reference.

Returns
bool
42  {
43  }

◆ valid()

valid ( )

Checks whether the object referenced still exists

Returns
bool
50  {
51  }

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