Class AtreusApiProvider
java.lang.Object
id.luckynetwork.dev.lyrams.atreus.api.AtreusApiProvider
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AtreusApiProvider
public AtreusApiProvider()
-
-
Method Details
-
register
"This function sets the global reference to the AtreusAPI object that was passed in."- Parameters:
api- The AtreusAPI instance that is being registered.
-
get
If the global reference is null, throw an exception. Otherwise, return the global reference- Returns:
- The DataLoaderAPI object
- Throws:
NotLoadedException
-